my setup for linux
- learn awk
- learn xargs
- project :)
- π ubuntu with gnome on wayland
- make sure you use apt instead of the snap store for apps!!
- libinput-config to customize scroll speed
- google chrome scale increased - see linux tips.txt
- little snipping tool icon on the keyboard bound to the screenshot feature - just use settings to do this
- make sure you install Flatpak!
- DONT USE SNAPS!!!
- Font: Segoe UI Variable @ 12 - also see polyrail font!!
- Document Text: Rubik Light
- Monospace Text: Monospace
- firewatch or KDE plasma wallpaper
- Panel Apps: Chrome, Nautilus, Discord, Tweaks, Extension manager, Terminal, VScode, spotify Shell Settings:
- Cursor: Afterglow-cursors
- Icons: colloid
- Shell: marble-blue-dark
- Legacy Applications: Orchis
- Dash To Panel: Top panel disabled, instead made to look like the macos bottom thingy. autohide, rounded corners, date/time box, system info box, apps jump up and rotate slightly when hovered
- Just Perfection: I dont remember what this one does but I know it makes things look good and is important
- somehow you can get it to NOT shift windows down weirdly when suspending.. mess around..
- PiP Always On Top: My own extension, it makes the chrome PiP window stay on top
- Tiling Shell: Makes tiling nice.
- User Themes: Allows you you to use your own theme for whatever reason
- Clipboard History - alexsavauror or something - make sure you increase the window so you dont unselect it. also make sure you disable paste on select
- Blur my Shell: makes things look nice, but make sure you configure it right so thigns aren't breaking
- settings:
- panel blur: disabled
- idk what "application folder blur" is so I didn't mess with it
- dash to dock blue is on and left default
- applications blur enabled, sigma = 15, opacity=210(might change), brightness=1.00, blur on overview=off, opaque focused window=off,
- right now I have everything blurred by default
- if you do that blacklist stuff like the desktop, chrome, vscode, ryujinx, minecraft, etc.
- Smile: install from software manager, then install the GNOME extension very cool
- Date Menu Formatter: This is AWESOME! You can format the date in the panel however you like! I have it like windows, "h:mm \nEEE, MMM d"
- π google chrome display scale is modified:
- use "sudo nano /usr/share/applications/google-chrome.desktop" and change exec:usr/.../ --force-scale-factor=XX to modify it - make sure you change all of them!
- β¨οΈ you are using this
libinput-configlibrary to fix the scroll speed. It is here https://gitlab.com/warningnonpotablewater/libinput-config use sudo nano etc/libinput.conf to edit config - currently set at 0.3 - π power-profiles-daemon for power management - this is the default but we changed it once so I thought I ought to include it
- π powertop for mattery monitoring and --auto-tune (sudo powertop --auto-tune)
- xclip - used for copying things to clipboard - I have an alias for this in .bashrc
- fzf - cool fuzzy finger
- micro editor for terminal - very cool and better than nano and looks like sublime text
- compizconfig for window managing advanced settings
- terminal > preferences > color > built-in schemes: GNOME
- it is really cool!
- install via flatpak
- watch this video for setup: https://www.youtube.com/watch?v=jIlrMK0RtKA&ab_channel=WorldofEmulation
- use romspedia for rom downloads
- acutally use nswpedia because it has a lot of stuf! press the long green button
- set up the Games directory as /home/henryh/Games and then place the xnb files in there
- using xpadneo for controller drivers
- install it from the software app
- downoad .gba and .nds from online
- donwload the cores from inside retroarch
- it just works!
- add
SDL_GAMECONTROLLERCONFIG="0300b7157e0500000920000000006806,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,misc1:b15,crc:15b7,platform:Linux"to the apps you want it to work for - use the SDL2 gamepad tool
https://generalarcade.com/gamepadtool/to get a fixed thing
addsd syntax highlighting, autocompletion, etc to bash
- put config in .ble_config file sourced in .bashrc
- when you are typing press tab to go to the autocomplete menu
- press tab or enter again to select that
- press tab multiple times to go through and then press enter to select
- press tab once and keep typing to refine results
- chrome flags:
- Smooth Scrolling
- Preferred Ozone platform: Wayland
- Captured Surface Control Enabled
- Media Session enterpictureinpicture action: Enabled
- Auto picture in picture for video playback: Enabled
- Video picture-in-picture controls update 2024: Enabled : Browser initiated automatic picture in picture: Enabled
- TODO add some chrome extensions you're using
- use prism launcher (its amazing!)
- use fabric~
- Mod list:
- AutoTools - SOO COOL BOUND TO THE TOP LITTLE ARROW BUTTON ON THE MOUSE SIDE!!! And regular pick block is the bottom mouse button
- Cloth Config v20
- Continuity - remember to use the resouce packs
- Voxy - WAYYYYY Smoother than Distant Horisons for LOD loading. its great. crank it up to 256.
- EntityCulling
- Fabric API
- Fabric Language Kotlin
- FerriteCore
- Freelook - bound to Left Alt
- ImmediatelyFast
- Lithium
- Mod Menu
- ModernFix
- Placeholder API
- Reese's Sodium Options
- Sodium
- Sodium Extra
- True Fullbright - default is like 1.8, fullbright is 15. bound to B
- YetAnotherConfigLib
- Zoomify - zoom bound to C
- "Xaero's Minimap" is just there for the waypoints but I use the minimap sometimes - toggle with Y
- "Xaero's World Map" is a really cool map but needs some config!
#Making Systemd Services Create a service in /etc/systemd/system/ called my_cool_service.service see https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6 template: [Unit] Description=simple systemd service After=network.target
[Service] Type=simple ExecStart=/path/to/executable User=oot Group=root
[Install] WantedBy=multi-user.target
then:
reload systemctl with sudo systemctl daemon-reload
start immediately with sudo systemctl start my_cool_service
start it on boot with sudo systemctl enable my_cool_service
view status with sudo systemctl status my_cool_service
view logs with journalctl -u my_cool_service
#FUN STUFF ###cowsay cowsay says something with a cow! cowsay -f lets you use a custom cowfile (list files with cowsay -l) see man cowsay
###figlet figlet lets you print text big figet showfigfonts shows available fonts see tldr figlet
###pipes
goodpipes - shows my favorite pipes config
important options:
-p - number of pipes
-t[0-9] - type of pipes - see the man entry for info on this :)
-c[0-7] - colors available - selecting just 1 gives just one color (default is 1 2 3 4 5 6 7 0)
###matrix prints the cool matrix thingy from the matrix!
###cbonsai
makes a cute bonsai! use bonsai
use goodbonsai for a pretty one :)
use livebonsai to watch it go
use --live to watch it grow!
use --infinite aswell to make it keep growing!
use --message= to add a lil message :)
use --leaf=LIST with a comma-seperated list of strings to put words in the leaves!
use --multiplier=INT to increase/decrease branching (lower=less leaves more branching)
use --life=INT for more growth/height [0-200] default is 32
print to stdout when done with --print
you can load .exe's into steam and run them with proton.
basically, the .exe exists in wherever you fed it to steam, however, the game files exist in:
~/.local/share/Steam/steamapps/compatdata/<appid>/drive_c/
to find appid use protonticks:
protontricks -l
BRUH DONT EVEN GET ME STARTED. ITS SO HARD okay so basically the skyrim files exist in /home/henryh/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c/ anyways you have to install FLATPAK protontricks. then open steam to load everything. then open protontricks and select skyrim, select the default wineprefix, and then select "run an arbitrary executable" chose the mod organizer 2 exe you downloaded from the github, wherever it is. This will run the installer INSIDE of Skyrim's C Drive. Then, the executable for modorganizer exists in /home/henryh/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c/Modding/ModOrganizer.exe I think (maybe ModOrganizer2.exe) So, you can make a desktop entry. also it should work for nexus connections and open nexus in the browser, so you should be able to connect it and easily download mods like that. Desktop Entry for Modorganizer2-skyrim:
[Desktop Entry]
Name=Mod Organizer 2 (Skyrim SE)
Comment=Launch Mod Organizer 2 in Skyrim Proton Prefix
Exec=flatpak run --command=protontricks-launch com.github.Matoking.protontricks --appid 489830 "/home/henryh/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/ModOrganizer.exe"
Icon=/home/henryh/.local/share/icons/modorganizer2
Terminal=false
Type=Application
Categories=Game;Utility;
StartupWMClass=ModOrganizer.exe
you can get the icon using 7zip with this command: 7z x /home/henryh/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/ModOrganizer.exe ".rsrc/ICON" -o./extracted_icons place it wherever and use a absolute path in the desktop entry
currently using tiling shell to manage windows!
-
GNOME Tweaks > windows:
- attach modal dialogs: on
- window action key: super !important!!!
- resize with secondary-click: on !important!!
- window focus: focus on hover
-
settings > keyboard shortcuts > windows
- disable "show all apps"
-
settings > keyboard shortcuts > navigation
- disable "move window one monitor <up, down, left right>"
- disable move window to last workspace
- disable move window to workspace 1
- IMPORTANT:
- move window one workspace to the left: Shift + Super + Left arrow
- move window one workspace to the right: Shift + Super + Right arrow
-
settings > keyboard shortcuts > launchers - similar to arch launchers
- home folder: super E
- terminal: super Q
- Web Browser: super W
-
settings > keyboard shortcuts > custom
- Open Prism Laucher - "Super M": flatpak run org.prismlauncher.PrismLauncher
- Open Smile Emoji Picker - "Super ,": flatpak run it.mijorus.smile
- Open VSCode - "Super "
-
settings > keyboard shortcuts > windows - similar to arch
- close window: Super C
- view split on left: disabled
- view split on right: disabled
- inner gaps: 8
- outer gaps: 8
- most things default
- snap assistant off
- tiling sistem bound to SUPER!!
- span multiple tiles: CTRL!!!!
- auto tiling on
- auto-resize on
- restore window size on (optional)
- alt-tab menu on
- screen edges ON
Tiling shell gnome extension keybindings!!!: Move to <left, right, above, below> tile: Super + Directional Arrow Span to <left, right, above, below>: CTRL + Super + Directional Arrow (notice this is the same as "span multiple tiles", so It makes sense!)
its great!! installation:
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
sudo apt update && sudo apt install glow
then just run glow, and it will detect markdown files!!
USE PPD - Power-Profiles-Daemon - instead of TLP. TLP is too tricky
HOWEVER - YOU CAN CHANGE BATTERY SETTINGS IN
/sys/class/power_supply/BAT0/
for example, set /sys/class/power_supply/BAT0/charge_control_end_threshold to change power charge limit
- I set
/sys/class/power_supply/BAT0/charge_control_end_thresholdto 80 for 80%!!! you might have to make a systemd service for this Something like this: [Unit] Description=Set Battery Charge Chreshold
[Service] Type=oneshot ExecStart=/bin/sh -c 'echo 90 > /sys/class/power_supply/BAT0/charge_control_end_threshold'
[Install] WantedBy=multi-user.target
/sys is not files, but instead a live view of the kernel talking to hardware - provided by sysfs
every files is a kernel attribute. writing to a file send it DIRECTLY to the driver!! pretty cool!