Issue: Zutty crashes on launch. OS: Debian 12.2 (XFCE only?) Reason: Machine doesn't support Open GLSL 3.10. Fix: Uninstall zutty and use xfce4-terminal instead (or something else). --- Issue: Can't install proprietary shit. OS: Debian 12.2 FIx: Edit /etc/apt/sources.list and append "contrib non-free" to the end of the deb repositories (comment deb-src repos too if you want). Example: `deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free` --- Issue: Internal HDD doesn't mount automatically at startup OS: Debian 12.2 Fix: Add the following line to your /etc/fstab file: `UUID=uuid-of-your-device-here /media/username/HDD ntfs defaults,windows_names,uid=1000,gid=1000,noexec 0 2` Adjust the command according to your needs. You can change `/media/username/HDD` to other places if you want. The parameters that I added (windows_names,noexec, etc.) are there because my disk was formatted in NTFS, you don't need something like that if you're using "linux" file systems. Run `blkid` to get the correct UUID for the device you want to mount. Run `systemctl daemon-reload` after you're done editing this shit. --- Software: Firefox Description: some about:config changes to unshit the browser a bit **Fix stupid tab navigation behavior change in the dropdown URL bar** browser.urlbar.resultMenu.keyboardAccessible = true -> false **Stops the window from closing when you close the last tab** browser.tabs.closeWindowWithLastTab = true -> false **Disable Pocket** extensions.pocket.enabled = true -> false **The new interface sucks, too much wasted space** browser.compactmode.show = false -> true **Re-enable support for userChrome.css customizations** toolkit.legacyUserProfileCustomizations.stylesheets = false -> true **Supposedly fixes WebRTC leaks (?)** media.peerconnection.enabled = true -> false **Disable local translation** browser.translations.enable = true -> false PSA: Don't use the ESR version of the browser (or at least not the one built by debian), it's much slower than the one provided by Mozilla. --- Topic: Install support for flatpaks OS: Debian 12.2 Link: https://flathub.org/setup/Debian --- Issue: Some qt-based programs won't let you customize their theme (like enable/disable dark mode). Very common issue on flatpak. OS: Debian 12.2 Fix: 1. Install qt5ct. On Debian/-based distros: `apt install qt5ct`; 2. Create the file /etc/environment.d/100qt5ct-dark-theme.conf with the text QT_QPA_PLATFORMTHEME=qt5ct inside it. Alternatively, you can add "export QT_QPA_PLATFORMTHEME=qt5ct" to your ~/.profile; 3. Launch qt5ct, select "Fusion" as your theme and select the "darker" color scheme; 4. Re-login to restart your DE with the flag we configured before set. --- Issue: CPU mitigations potentially slowing down my potato OS: Debian 12.2 ==Needless to say, disabling it is probably a stupid idea (I don't care, but I'll leave the warning here regardless).== Fix: 0. Run `su -` 1. Open /etc/default/grub with a text editor; 2. Edit GRUB_CMDLINE_LINUX="" and add mitigations=off inside the double quotes; 3. Run `update-grub` --- Issue: Add custom shortcuts/launchers to the appfinder DE: XFCE Fix: Just create the shortcuts in ~/.local/share/applications. Requires a specific template, you can use the other files in the folder to make your own, or look for programs to help you make those files quicker. --- Software: Flatpak **Useful programs for management** - Warehouse: lists programs installed and lets you uninstall them - Flatseal: allows you to tweak all sorts of flatpak permissions (THIS SHIT CAN BREAK YOUR SHIT) **Useful commands** - Update flatpaks: `flatpak update` - Clean garbage: `flatpak uninstall --delete-data` - Remove unused programs: `flatpak uninstall --unused` --- Issue: Some programs are launching something else instead of my file manager DE: XFCE Fix: Go to default programs and change the MIME type called 'inode/directory' to default to your file manager instead of whatever the heck else you find there. This should solve similar issues with other programs. --- Issue: Need to install the newer version of certain packages OS: Debian 12.2 Fix: If the version in backports is good enough, enable the repository to grab the package from it. Follow the instructions in: https://wiki.debian.org/Backports If the package isn't available there, you will have to backport it manually somehow (?), or find an appimage, flatpak, .deb file, snap or build from source. --- Issue: Wi-fi slow as fuck OS: Debian 12.2 Fix: Change wifi drivers to the proprietary ones Wireless card: Broadcom BCM4313, you can find yours by running `lspci` as root. 1. Update your system first and then run `apt install broadcom-sta-dkms` (this is for the BCM4313 and a few other models) 2. Run `find /lib/modules/$(uname -r)/updates` to see if the wl.ko modules appear properly in the list 3. Run `modprobe -r b44 b43 b43legacy ssb brcmsmac bcma` to disable conflicting kernel modules 4. Run `modprobe wl` to load the new module. Refer to those links if you want a proper read on the topic: https://wiki.debian.org/wl https://wiki.archlinux.org/title/broadcom_wireless --- Issue: CAN'T CONNECT MY FUCKING PHONE (android device) OS: Debian 12.2 Fix: Install gvfs-backends and mtp-tools Seriously, why wasn't this installed already? Wasting my time with this crap, for fucks sake. --- Useful logs **Logs the output of apt** `/var/log/apt/term.log` --- Topic: How to add more fonts to the system OS: Debian 12.2 Fix: Throw all the fonts inside ~./fonts (or ~/.local/share/fonts) directory and run: `fc-cache -fv ~./fonts` --- Topic: How to get RPG Maker MV games to work on Linux Read (warning: NSFW forum): https://f95zone.to/threads/playing-on-linux-tutorials-tools-and-help.19523/ --- Issue: Can't run shell script files directly from thunar DE: XFCE Fix: Preferences > Advanced > Enable: Run shell scripts, under the security topic header https://askubuntu.com/questions/319723/run-sh-script-on-ubuntu-without-using-terminal --- Issue: Plex can't read my shit OS: Debian 12.2 Fix: Learn about directory and file permissions: https://support.plex.tv/articles/200288596-linux-permissions-guide/ --- Issue: System with borked fonts after uninstalling retroarch OS: Debian 12.2 Fix: I don't know why it happened, but logging out of the session and joining again solved it (all the characters were replaced by squares when I uninstalled some font packages installed by retroarch with apt autoremove, really weird shit). Also, no, it didn't remove fonts that I was using. --- Topic: How to setup Samba properly OS: Debian and other distros based on it, I imagine Link: https://phoenixnap.com/kb/ubuntu-samba --- Issue: Stupid Caps Lock default behavior (disabling on key release instead of key press) OS: Just Linux distros in general (x11 only fix) Fix: https://old.reddit.com/r/Ubuntu/comments/ow7o5n/caps_lock_delay/ No, I don't want to learn to type using shift. --- Issue: Big performance hit on all kinds of games DE: XFCE Fix: According to random strangers on the internet, it's probably the compositor's fault. I don't know why, but turning it off does help quite a bit. At the cost of a lot of screen tearing, sadly. --- Issue: Screen tearing and audio delay in videos DE: XFCE Fix: Seems to be related to disabling the compositor. I knew about the tearing, but the audio delays only started to happen now (~4 months on Debian). Turning the compositor back on fixes it, which makes me think that it isn't exactly an audio issue, but rather my frames desyncing or something like that. Well, regardless of what it is, a reboot seems to fix it well enough. --- Topic: Create keyboard shortcuts to control the volume of the system DE: XFCE (Pulseaudio only) Fix: Go to `Keyboard > App Shortcuts` and bind those commands to the shortcuts you want to use: **Reduce the volume by 5%** `pactl -- set-sink-volume 0 -5%` **Increase the volume by 5%** `pactl -- set-sink-volume 0 +5%` --- Topic: Install older versions of Java OS: Debian 12 1. http://www.mirbsd.org/%7Etg/Debs/debidx.htm 2. CTRL + F and look for `openjdk-8-jre` 3. Download `openjdk-8-jre` and `openjdk-8-jre-headless` from the links under the bookworm column (amd64: from bullseye link) 4. Install both through the terminal with `dpkg -i package_name.deb`