Skip to content

Instantly share code, notes, and snippets.

@TheGP
Last active September 8, 2024 18:40
Show Gist options
  • Save TheGP/0659811f4f07562cbed9f16186bc59a4 to your computer and use it in GitHub Desktop.
Save TheGP/0659811f4f07562cbed9f16186bc59a4 to your computer and use it in GitHub Desktop.
Ubuntu desktop set up to make more like mac
swapping alt & ctrl with gnome tweaks:
https://askubuntu.com/questions/93624/how-do-i-swap-left-ctrl-with-left-alt-on-my-keyboardkeyboardkeyboardkeyboardkeyboard
sudo gedit /usr/share/X11/xkb/symbols/pc
compare it with (ignore capslock change)
https://gist.github.com/postrational/dd305349bb69f6e25ef0f21809a927eb
#setxkbmap -layout us
#systemctl restart keyboard-setup
for getting key value:
xev
// capslock to Home
xmodmap -e 'keycode 66=Home'
// Ins
xmodmap -e 'keycode 118='
// Num
xmodmap -e 'keycode 77='
cd ~/.config/autostart/
[Desktop Entry]
Type=Application
Exec=/bin/bash -c "/usr/bin/xmodmap -e 'keycode 66=Home'; /usr/bin/xmodmap -e 'keycode 118='; /usr/bin/xmodmap -e 'keycode 77='"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=caps-to-bs
Name=caps-to-bs
Comment[en_US]=Edit the Option as needed.
Comment=Capslock to Home, Ins & Num disabled
sudo grub-install --force --target=i386-pc --boot-directory="/media/eugenebos/CCCOMA_X64FRE_EN-GB_DV9/boot" /dev/nvme0n1p3
sudo grub-install --force --target=i386-pc --boot-directory="/media/eugenebos/Windows/boot" /dev/nvme0n1p3
https://superuser.com/questions/896993/how-to-make-a-bootable-pendrive-for-windows-10-technical-preview-from-ubuntu?noredirect=1&lq=1
ctrl+alt+del -> sys monitor (use instruction in comments) https://www.cviorel.com/2009/01/26/ctrlaltdel-to-open-system-monitor-in-ubuntu/
firefox scrolling speed increase (200 => 400)
https://askubuntu.com/questions/255890/how-can-i-adjust-the-mouse-scroll-speed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment