Skip to content

Instantly share code, notes, and snippets.

View abiosoft's full-sized avatar

Abiola Ibrahim abiosoft

View GitHub Profile
@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;
}
@abiosoft
abiosoft / log
Created March 17, 2018 17:34
vagrant bundle error log
urrent directory: /home/abiola/.vagrant.d/gems/2.4.1/gems/nokogiri-1.8.2/ext/nokogiri
/home/abiola/.rvm/rubies/ruby-2.4.1/bin/ruby -r ./siteconf20180317-6457-194o3fh.rb extconf.rb
/home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:202:in `rescue in load_spec_files': https://github.com/hashicorp/vagrant-spec.git (at master@f3daeda) is not yet checked out. Run `bundle install` first. (Bundler::GitError)
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:199:in `load_spec_files'
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/path.rb:100:in `local_specs'
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/source/git.rb:166:in `specs'
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/lazy_specification.rb:76:in `__materialize__'
from /home/abiola/.rvm/gems/ruby-2.4.1/gems/bundler-1.16.1/lib/bundler/spec_set.rb:85:in `block in materialize'