Skip to content

Instantly share code, notes, and snippets.

View abiosoft's full-sized avatar

Abiola Ibrahim abiosoft

View GitHub Profile
@abiosoft
abiosoft / comands.txt
Created August 26, 2018 10:33 — forked from AnderRasoVazquez/comands.sh
Terminal Commands To Initiate Gala Windows And Workspaces Actions
Open a Terminal and try the next commands :
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:1
Luna : Workspace Overview ( keep Enter pressed ), Freya : Multitasking View
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:2
Terminal maximizes
dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:3
Terminal minimizes
@abiosoft
abiosoft / xgala.txt
Created August 25, 2018 12:00 — forked from valc93/xgala.txt
XFCE + GALA
Source: https://www.reddit.com/r/linux/comments/14heuu/xfce_gala_plank_awesome/
Add the elementary daily ppa and install gala + plank + dconf-tools
sudo apt-add-repository ppa:elementary-os/daily
sudo apt-get update $$ sudo apt-get dist-upgrade
sudo apt-get install gala plank dconf-tools gtk2-engines-pixbuf
Set gala as xfce's default window manager
@abiosoft
abiosoft / theme.md
Created August 6, 2018 11:03
cinnamon panel theme customization

Edit /usr/share/themes/<theme name>/cinnamon/cinnamon.css

  • change font-family for fonts.
  • change .window-list-item-label and .window-list-item-box for window list
@abiosoft
abiosoft / ArchSetup.md
Last active September 2, 2018 11:24
Arch Linux desktop installation

Gnome

# pacman -S gnome
# systemctl enable gdm

i3

# pacman -S i3 volumeicon dunst scrot xfce4-power-manager \
xautolock network-manager-applet ttf-font-awesome feh \
awesome-terminal-fonts gnome-terminal polkit polkit-gnome \
@abiosoft
abiosoft / activities.desktop
Created July 20, 2018 09:21
dash to dock activities button
[Desktop Entry]
Name=Activities
Comment=Show Windows & Workspaces
GenericName=Activities
Exec=xdotool key super
Icon=emblem-photos-symbolic
Type=Application
StartupNotify=true
Categories=GNOME;
MimeType=text/plain;
@abiosoft
abiosoft / meson-build.sh
Created July 13, 2018 01:20
Meson build scripts
#!/usr/bin/env bash
PROJECT=$(cat meson.build| grep 'project(' | head -n1 | awk -F "'" '{print $2 }')
meson . build && cd build && ninja && ./$PROJECT
@abiosoft
abiosoft / README.md
Last active March 8, 2023 03:00
Systemd Arch Machine

Arch Dev Container Setup

Prerequisites

Linux distro using Systemd with systemd-container package installed.

Install arch boostrap

$ curl -LO https://raw.githubusercontent.com/tokland/arch-bootstrap/master/arch-bootstrap.sh
@abiosoft
abiosoft / details
Created June 28, 2018 22:14
Manjaro/Arch open file fix
Append to /etc/systemd/system.conf
DefaultLimitNOFILE=500000
REMOTE=${REMOTE:-"upstream/master"}
DOC_EXAMPLE_CHANGE_PATTERN="\
-e ^doc/ \
-e ^examples/ \
-e ^(VERSION|LICENSE)$ \
-e \.md$\
"
echo using remote $REMOTE
@abiosoft
abiosoft / gtk.css
Created April 27, 2018 18:58 — forked from jamesridgway/gtk.css
Reduce title bar size for applications in Gnome by creating ~/.config/gtk-3.0/gtk.css with the following contents
# Gnome 3 - based on https://blog.samalik.com/make-your-gnome-title-bars-smaller/
.header-bar.default-decoration {
padding-top: 3px;
padding-bottom: 3px;
font-size: 0.8em;
}
.header-bar.default-decoration .button.titlebutton {
padding: 0px;
}