2020-05-09 00:20:14 +00:00
# Linux Resources
2020-05-11 00:14:55 +00:00
## Useful Packages
2020-05-09 05:47:57 +00:00
- 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`
2020-05-13 22:37:36 +00:00
---
2020-05-14 00:06:23 +00:00
## GUI Setup
2020-05-11 00:14:55 +00:00
2020-05-09 05:47:57 +00:00
Ubuntu 20.04 Gnome dark mode work for all except do not disturb or right click menu
2020-05-11 00:14:55 +00:00
2020-05-09 05:47:57 +00:00
- 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
2020-05-13 22:37:36 +00:00
---
2020-05-14 00:06:23 +00:00
## Gaming Mouse Support
2020-05-09 00:20:14 +00:00
- [Ratbagd DBus Daemon ](https://github.com/libratbag/libratbag/blob/master/README.md#running-ratbagd-as-dbus-activated-systemd-service )
- [Piper GUI for Ratbagd ](https://github.com/libratbag/piper )
2020-05-13 22:37:36 +00:00
---
2020-05-13 21:50:18 +00:00
## Trackpad Gestures
*Working on Dell XPS 13*
2020-05-13 22:37:36 +00:00
2020-05-13 21:50:18 +00:00
Following Medium article: [Mac-like Gestures on Ubuntu 20.04 Dell XPS 15 ](https://medium.com/@kaigo/mac-like-gestures-on-ubuntu-20-04-dell-xps-15-7ea6e3be7f76 )
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 ](https://github.com/BradNut/dotfiles/blob/master/Linux%20Settings/Gesture%20Settings/Gestures.conf )
- 3-finger swipe up
2020-05-13 22:37:36 +00:00
- xdotool key super
2020-05-13 21:50:18 +00:00
- 3-finger swipe down
2020-05-13 22:37:36 +00:00
- xdotool key Escape
2020-05-13 21:50:18 +00:00
- 3-finger swipe right
2020-05-13 22:37:36 +00:00
- xdotool key 'ctrl+alt+Left'
2020-05-13 21:50:18 +00:00
- 3-finger swipe left
2020-05-13 22:37:36 +00:00
- xdotool key 'ctrl+alt+Right'
2020-05-13 21:50:18 +00:00
- 3-finger pinch out
2020-05-13 22:37:36 +00:00
- xdotool key 'ctrl+plus'
2020-05-13 21:50:18 +00:00
- 3-finger ping in
2020-05-13 22:37:36 +00:00
- xdotool key 'ctrl+minus'
2020-05-13 21:50:18 +00:00
- 4-finger swipe left
2020-05-13 22:37:36 +00:00
- xdotool key 'alt+Left'
2020-05-13 21:50:18 +00:00
- 4-finger swipe right
2020-05-13 22:37:36 +00:00
- xdotool key 'alt+Right'
2020-05-13 21:50:18 +00:00
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 ](https://extensions.gnome.org/extension/1485/workspace-matrix/ ).
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* .
2020-05-13 22:37:36 +00:00
---
2020-05-09 00:20:14 +00:00
## Internal Hard Drives
- [Auto-mounting on boot ](https://www.liberiangeek.net/2012/04/auto-mount-windows-ntfs-partitions-in-ubuntu-12-04-precise-pangolin/ )
2020-05-13 22:37:36 +00:00
---
2020-05-09 00:20:14 +00:00
## Gaming
## Lutris
- https://www.linuxuprising.com/2018/09/how-to-use-lutris-to-play-windows-games.html
### Emulation
#### PS2
- https://forums.lutris.net/t/citra-and-pcsx2-runners-problem/8297
- https://forums.lutris.net/t/where-do-i-put-ps2-bios/4874