computer-setup-info/linux/Resources-Information.md

4 KiB
Raw Blame History

Linux Resources


Dual Booting

https://support.system76.com/articles/dual-booting/

Fixes

Fix your clock

Windows and Linux store their time in the BIOS differently, this will cause your clock to be desynchronized when you switch from one OS to the other.

The easiest solution for it is to fix it in Linux, forcing it to work the same way as Windows. You can do this through the terminal:

timedatectl set-local-rtc 1 --adjust-system-clock

You can verify if the change has been successful, by running this command:

timedatectl

You should see RTC in local TZ: yes. If you need to revert it, just set it to 0:

timedatectl set-local-rtc 0 --adjust-system-clock


Useful Packages

  • Gnome Tweaks: sudo apt install gnome-tweaks
  • Fonts Fira Code: sudo apt install fonts-firacode
  • Git: sudo apt install git
  • Curl: sudo apt install curl
  • Vim: sudo apt install vim

Useful Shortcuts

  • Enter a command: Alt+F2
  • Restart UI: Type "r" and enter

GUI Setup

Ubuntu 20.04 Gnome dark mode work for all except do not disturb or right click menu

  • Fix is that Gnome Shell is on "Default"
  • Install Gnome Tweaks: sudo apt install gnome-tweaks
  • Select "Appearance" and change Shell to "Yaru-dark" or whatever you want

Gaming Mouse Support


Laptop Power Saver

TLP

Documentation: https://linrunner.de/tlp/index.html Installation: https://linrunner.de/tlp/installation/index.html Extra resources: https://support.system76.com/articles/battery/


Trackpad Gestures

Working on Dell XPS 13

Following Medium article: Mac-like Gestures on Ubuntu 20.04 Dell XPS 15

Add your user to the input group: sudo gpasswd -a $USER input

Install dependencies: sudo apt-get install libinput-tools xdotool

Install libinput gestures: git clone https://github.com/bulletmark/libinput-gestures.git cd libinput-gestures sudo make install sudo ./libinput-gestures-setup install

Start the software and allow it to run at startup. libinput-gestures-setup autostart libinput-gestures-setup start

Next install a UI tool to make adding and editing gestures easier. git clone https://gitlab.com/cunidev/gestures cd gestures sudo python3 setup.py install

Open the new program called gestures from your activities menu.

These are the gestures you will need to emulate a mac-like experience.

Configuration file in dotfiles: Gestures.conf

  • 3-finger swipe up
    • xdotool key super
  • 3-finger swipe down
    • xdotool key 'alt+asciitilde'
  • 3-finger swipe right
    • xdotool key 'ctrl+alt+Left'
  • 3-finger swipe left
    • xdotool key 'ctrl+alt+Right'
  • 3-finger pinch out
    • xdotool key 'ctrl+plus'
  • 3-finger ping in
    • xdotool key 'ctrl+minus'
  • 4-finger swipe left
    • xdotool key 'alt+Left'
  • 4-finger swipe right
    • xdotool key 'alt+Right'

Next you may notice the workspaces are ontop of each other instead of side-by-side like MacOS. To fix this we will need to install a gnome extension named workspace matrix available here.

Now restart your system and you should be able to move workspaces, left and right using the three finger gesture or ctrl+alt + left or right arrows.


Internal Hard Drives


Gaming

Lutris

Emulation

PS2