Skip to content

zanbaldwin/dotfiles

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
git
 
 
 
 
 
 
 
 
 
 
 
 

πŸ“– 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

  1. sudo apt install dconf-tools
  2. 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:

  1. Go to Settings > Keyboard Shortcuts.
  2. Disable the keyboard shortcut for the current PrtScr action (Save a screenshot to Pictures).
  3. Add a new keyboard shortcut for PrtScr with the command gnome-screenshot.
  4. Optionall, do the same for Save a screenshot of an area to Pictures with gnome-screenshot -a.
  5. 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.

  1. During GRUB, edit the target entry and add nomodeset at the end of the list of parameters for linux.
  2. Save and exit, booting with the modified config.
  3. Proceed with installation as usual.
  4. Install nVidia drivers as soon as possible:
    • Software & Updates β†’ Additional Drivers
  5. Alternatively, disable graphics drivers permanently (not recommended):
    • sudo nano /etc/default/grub
    • Add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT
    • sudo update-grub

About

πŸ”§ Yet Another Dotfiles Repo: a set of Bash, Git, SSH & Tmux configuration files

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages