π Yet Another Dotfiles Repo
To setup a new environment:
$ cd ~
$ git clone "git://github.com/zanbaldwin/dotfiles.git" "~/.dotfiles"
$ ~/.dotfiles/install.sh
Extras
Swapping Caps Lock with Escape
sudo apt install dconf-tools
dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']"
Alternatively, you can use the dconf-editor
GUI once DConf tools are installed.
Use
caps:escape
instead if you want to just set Caps Lock to Escape instead of swapping the functionality of the keys.
Changing Screenshot Save Directory
Change the screenshot save directory using either dconf-editor
or one of the following commands:
gsettings set org.gnome.gnome-screenshot auto-save-directory "/home/${USER}/Pictures/Screenshots"
dconf write /org/gnome/gnome-screenshot/auto-save-directory "/home/${USER}/Pictures/Screenshots"
This will not change the behaviour of the PrtScr button:
- Go to Settings > Keyboard Shortcuts.
- Disable the keyboard shortcut for the current PrtScr action (Save a screenshot to Pictures).
- Add a new keyboard shortcut for PrtScr with the command
gnome-screenshot
. - Optionall, do the same for Save a screenshot of an area to Pictures with
gnome-screenshot -a
. - Optionall, do the same for Save a screenshot of an window to Pictures with
gnome-screenshot -wb
.
Ubuntu Crashes/Freezes During Installation
For problems with nVidia drivers:
nomodeset
instructs the kernel to load the video/graphics drivers after the X display server is started. Disabling the graphics driver at boot time removes the conflict; after login / display server start, the graphics card is loaded again.
- During GRUB, edit the target entry and add
nomodeset
at the end of the list of parameters forlinux
. - Save and exit, booting with the modified config.
- Proceed with installation as usual.
- Install nVidia drivers as soon as possible:
- Software & Updates β Additional Drivers
- Alternatively, disable graphics drivers permanently (not recommended):
sudo nano /etc/default/grub
- Add
nomodeset
toGRUB_CMDLINE_LINUX_DEFAULT
sudo update-grub