diff options
Diffstat (limited to 'linux_room.html')
-rw-r--r-- | linux_room.html | 1134 |
1 files changed, 580 insertions, 554 deletions
diff --git a/linux_room.html b/linux_room.html index 9477044..2f30667 100644 --- a/linux_room.html +++ b/linux_room.html @@ -1,568 +1,594 @@ <!DOCTYPE html> <html> - <head> - <title>The linux room</title> + <title>The linux room</title> + <style> -<style> - -body { + body { color: blue; background-image: url('images/linux_background.png'); -} - -table { - color: black; - background-color: #bebebe; - margin-top: 10px; - margin-bottom: 10px; - margin-left: 10px; - margin-right: 10px; - border=1 -} + } -</style> + table { + color: black; + background-color: #bebebe; + margin-top: 10px; + margin-bottom: 10px; + margin-left: 10px; + margin-right: 10px; + border=1 + } + </style> </head> - <body> - <a href="index.html"><img src="images/back_home.png" alt="Back to home page"/></a> - - <center> - <img src="images/flying_tux.gif" alt="Tux the penguin flying"/> - <table border="1" width="60%"> - <tr> - <td> - <h2>Setup/software list</h2> - <ul> - <li> - <a href="#distros">Distros:</a> - <ul> - <li><a href="#distro_guides">Guides</a></li> - <li><a href="#distro_list">Cool distros</a></li> - </ul> - </li> - - <li> - <a href="#gui">GUI apps</a> - <ul> - <li>Mail client: <a href="#claws">claws</a></li> - <li>Editor: <a href="#emacs">emacs</a></li> - <li>File manager: <a href="#spacefm">SpaceFM</a></li> - <li>Media player: <a href="#mpv">mpv</a></li> - <li>Feed reader: <a href="#liferea">liferea</a></li> - <li>PDF viewer: <a href="#epdfviewer">ePDFViewer</a></li> - </ul> - </li> - <li> - <a href="#browsers">Web browsers</a> - <ul> - <li><a href="#icecat">Icecat</a></li> - <li><a href="#xul">Palemoon and Basilisk</a></li> - <li><a href="#ungoogled">Ungoogled chromium</a></li> - <li><a href="#librewolf">Librewolf</a></li> - </ul> - </li> - <li> - <a href="#commandline">Command line</a> - <ul> - <li>Terminal: <a href="#alacritty">alacritty</a></li> - <li>Shell: <a href="#zsh">zsh</a></li> - <li>Terminal based editor: <a href="#vim">vim</a></li> - </ul> - </li> - <li> - <a href="#extras">Extras</a> - <ul> - <li><a href="#lite-xl">lite-xl</a></li> - <li><a href="#vlc">vlc</a></li> - <li><a href="#evolution">Evolution</a></li> - </ul> - </li> - </ul> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h2>Why linux</h2> - <p> - I have always liked being able to customize, mod, and poke inside different things. - Computers are machines for us to play around with and use how we see fit yet the only thing - the big tech companies want to do it lock everything up and it disgusts me. - Fuck google, fuck microsoft, fuck apple, and fuck all the other evil tech companies!!! - Its time for the open source revolution and seize them all and open source the entire world!!! - Without linux or any other unix life would be much much worse. Linux is my safe place - from all the shit in the world. - </p> - <img src="images/windows_kills_kittens.jpg" alt="Window kills kittens" width="95%"/> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h2 id="distros">Distros</h2> - <p> - I will distro hop a bit though for the most part I like to stay with the - same distro and just change DE's or WM's. For the longest time I just - switched to a different fedora spin every so often. Now I use arch because - I got tired of fedora and couldnt find a distro I liked so I switched - to arch to make it feel the way I want. - </p> - - <h3 id="distro_guides">Guides</h3> - <ul> - <li><a href="distro_guides/arch.html">Arch (my daily driver)</a></li> - <li><a href="distro_guides/xfce.html">Xfce DE</a></li> - <li><a href="distro_guides/fedora.html">Fedora xfce (my old daily driver)</a></li> - </ul> - - <h3 id="distro_list">Cool distros</h3> - <p> - <i>Not including the guides</i> - </p> - <ul> - <li><a href="https://antixlinux.com" target="_blank">AntiX</a></li> - <li><a href="https://mxlinux.org" target="_blank">MXLinux</a></li> - <li><a href="https://salixos.org" target="_blank">SalixOS</a></li> - <li><a href="https://www.adelielinux.org" target="_blank">Adelie</a></li> - </ul> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h1 id="gui">GUI apps</h1> - <p> - A lot of linux users dont like GUI apps. I think they are great - <a href="https://digdeeper.club/articles/design.xhtml" target="_blank">when they are done right</a>. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="claws">Claws mail</h2> - <p> - I have used thunderbird in the past though like I said before - <a href="https://digdeeper.club/articles/mozilla.xhtml" target="_blank">mozilla is evil as fuck</a>. - Through the power of actually following the unix philosophy and not being full of javascript bullshit - claws is about the safest email client out there. Gone are the days of just clicking a email being - enough to fuck you over. Anyways you likely noticed that claws just displays everything in plain - text. I like using the dillo plugin for a nicer view, and guess what? Still no shitty javascript - that can get you fucked! - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="emacs">Emacs</h2> - <p> - <b>Don't use emacs. Its stupido.</b> - <br/><br/> - That is and will always be true but lately as of writing this I been bit by - the emacs bug. Using emacs is so bad and so wrong but feels so good to use. I defeated rsi - by doing hand exercises for nearly a year and a half as of writing this. I had to learn - the hard way being a guitarist and emacs user while taking CS classes and writing code - all the time wasnt a good idea. Now I play bass to but it balances out because I switched - over to IT and became too lazy to write code most of the time. I lost my lite weight hand - exercise tools and instead of buying new ones I just started using the heavy ones for hours - at a time until I had <b>the grip strength to crush a human skull</b>. Now my rsi is cured - <i>as long as I keep up the exercises</i>. - <br/><br/> - I dont use doom emacs, spaceacs.. or any of that bullshit. Just good old gnu emacs with a - simple config and a hand full of plugins. - <br/> - Some of my favorite are: - </p> - <ul> - <li>Ivy: it makes emacs feel a bit nicer without completely changing it by much.</li> - <li>Company with eglot: a easy way to add good auto-complete and lsp support. It doesnt - bloat the system up too much and it adds much faster and better auto-complete then - what any standard ide has and it doesnt get in the way.</li> - <li>nyan-mode: this plugin will change your life. Emacs isnt even usable without it. This - plugin is the biggest reason I use emacs. Take that vim users!</li> - </ul> - <p> - <b>Fun fact: I use emacs to work on this site.</b> - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="spacefm">SpaceFM</h2> - <p> - For the longest time I just used thunar because its decent and default in xfce though I decided - to give spaceFM a try as of writing this. I might got annoyed of it in a week and ditch it or - end up really liking it. These kinds of things tend to go either way for me. I will either - fucking hate it or wonder how I ever lived without it.<br/> - Update: After using it for a little bit I really dig it and never want to go back. - </p> - - <h3>Encrypted partitions/the few things udevil doesnt support yet in spaceFM</h3> - <p> - SpaceFM doesnt support encrypted partitions by default but lucky for us its very customizable. - To get encrypted disks working I use udisks2 and udiskie. - </p> - <ul> - <li>Install udisks2 and udiskie.</li> - <li>Go to xfce session and startup than add the command <code>udiskie -s</code> as a autostarted app. - The -s option makes udiskie show a tray icon and hide it when there arent any disks. -t will show - the tray all the time and by default udiskie will not show a tray.</li> - <li>In spaceFM go to Devices->Settings->Device Handlers and add a new handler: - <img src="images/udiskie_in_spacefm.jpg" alt="udiskie device handler in spacefm"/> - Whitelist: <code>crypto_LUKS</code><br/> - Mount: <code>udiskie-mount %v</code><br/> - Unmount: <code>udiskie-umount $(lsblk -n -o MOUNTPOINT %v)</code> - </ul> - - <h3>sftp</h3> - <p> - Spacefm uses sshfs for sftp support. Once you install it you will be ready to rock. Though - for my use case I need symlink support. sshfs needs to have the option <code>-o follow_symlinks</code> - To support symlinks. To add the option go to Devices->Settings->Protocol Handlers->ssh and change the - mount option to:<br/> - <code> - #!/bin/bash - <br/><br/> - [[ -n "$fm_url_user" ]] && fm_url_user="${fm_url_user}@"<br/> - [[ -z "$fm_url_port" ]] && fm_url_port=22<br/> - echo ">>> sshfs -o follow_symlinks -p $fm_url_port $fm_url_user$fm_url_host:$fm_url_path %a"<br/> - echo<br/> - # Run sshfs through nohup to prevent disconnect on terminal close<br/> - sshtmp="$(mktemp --tmpdir spacefm-ssh-output-XXXXXXXX.tmp)" || exit 1<br/> - nohup sshfs -o follow_symlinks -p $fm_url_port $fm_url_user$fm_url_host:$fm_url_path %a &> "$sshtmp"<br/> - err=$?<br/> - [[ -e "$sshtmp" ]] && cat "$sshtmp" ; rm -f "$sshtmp"<br/> - [[ $err -eq 0 ]] # set error status<br/> - <br/><br/> - # Alternate Method - if enabled, disable nohup line above and<br/> - # uncheck Run In Terminal<br/> - # # Run sshfs in a terminal without SpaceFM task. sshfs disconnects when the<br/> - # # terminal is closed<br/> - # spacefm -s run-task cmd --terminal "echo 'Connecting to $fm_url'; echo; sshfs -p $fm_url_port $fm_url_user$fm_url_host:$fm_url_path %a; if [ $? -ne 0 ]; then echo; echo '[ Finished ] Press Enter to close'; else echo; echo 'Press Enter to close (closing this window may unmount sshfs)'; fi; read" & sleep 1<br/> - </code> - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="mpv">mpv</h2> - <p> - I switched to mpv because vlc was acting weird with audio sometimes when watching anime and nothing - in this world is worse then something getting in the way of anime time! Just like lite-xl and neovim - mpv uses lua for its config files and is really simple by default. It also can play youtube videos - or other online streams just by giving it a url. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="liferea">Liferea</h2> - <p> - Feed readers are one of those things I use on and off. A lot like mail clients feed readers - tend to be very bloated. Liferea is my favorite but - it has always had issues with nvidia drivers until I found out a trick.<br/><br/> - If liferea has issues add this to your /etc/environment and reboot<br/> - <code>WEBKIT_DISABLE_DMABUF_RENDERER=1</code> - - <br/><br/> - Some cool tricks: - </p> - <ul> - <li> - Get <a href="https://github.com/shevabam/get-rss-feed-url-extension" target="_blank"> - this plugin</a> to find feeds easier. - </li> - <li> - You can turn youtube channels into rss feeds with - <code>https://www.youtube.com/feeds/videos.xml?channel_id={channel_id}</code><br/> - This can be done for all your subscriptions with - <a href="scripts/youtube_subs_export.py" target="_blank"> - this script</a> - </li> - <li> - You can drag and drop youtube urls from your feed reader into mpv so you can keep up with - your subscriptions without even touching youtube's website. - </li> - </ul> - </td> - </tr> - - <tr> - <td> - <h2 id="epdfviewer">ePDFViewer</h2> - <p> - I wanted a pdf viewer that was light weight and simple. Being a xfce user I wanted - something that isnt tied to another DE and doesnt uses a hell ton of dependencies. - </p> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h1 id="browsers">Web browsers</h1> - <p> - Modern browsers are some of the worse things to every happen. - These are some of the better options out there. - <br/><br/> - For some resources on browsers check out <a href="https://spyware.neocities.org/articles" target="_blank"> - spyware watch dog</a> and <a href="https://digdeeper.club/articles/browsers.xhtml" target="_blank">dig deeper</a>. - <br/><br/> - For addons stay away from the mozilla or google bullshit and instead use something like - <a href="https://gnuzilla.gnu.org" target="_blank">the gnuzilla thingy</a>. You can also find addons on - <a href="https://mybrowseraddon.com" target="_blank">mybrowseraddon</a> than manually install them or - something along those lines. - <br/><br/> - For a dark mode addon <b>stay away from darkreader</b>. Dont know if its - spyware or not but when the browser starts up it makes a bunch of requests which is something a dark - mode plugin shouldnt do. Instead use something like <a href="https://gnuzilla.gnu.org/extension.php?id=786990" - target="_blank">dark-mode</a>. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="icecat">Icecat</h2> - <p> - I use to use firefox but switched to librewolf because - <a href="https://digdeeper.club/articles/mozilla.xhtml" target="_blank">mozilla is evil as fuck</a>. - If you don't know librewolf it its the ungoogled-chromium of firefox. Than I switched from librewolf to icecat. - <br/><br/> - <s>The builtin plugins are decent. Librejs and its other contend blocking plugins are way more annoying - than something like umatrix but I am giving them a fair chance knowing that umatrix might not have - much of a future even if its still quite functional still. I still like to install ublock even with - everything that comes builtin.</s><br/> - So I got annoyed of librejs and other builtin plugins in icecat. Now I just disable them because umatrix - and ublock can do way more, except jshelter: It is a api spoofer which is different from the others which - are contend blockers. Its useful for when you have to use javascript heavy websites but still want to - prevent alot of information from being leaked. I set ublock to disable javascript by default and I set - jshelter to strict mode by default. - <br/><br/> - Fun little trick: If video playback/youtube frame breaks on a website just throw it into mpv to stream - it from there. Sometimes to find the media you can hit ctrl+i to pull up page info and use the media - section or in some cases you might have to dig around in the inspector. - </p> - - <h3>Installing</h3> - <p> - You can find some newer builds <a href="https://icecatbrowser.org" target="_blank">here</a>. - The offical version can be found <a href="https://www.gnu.org/software/gnuzilla" target="_blank"> - here</a>. - </p> - - <h3>Hardening</h3> - <p> - The magic of icecat is it makes zero requests to mozilla but its not too hardened - so you might wanta use a user.js. Check out <a href="https://github.com/pyllyukko/user.js" - target="_blank">pyllyukko user.js</a>. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="xul">Palemoon and Basilisk</h2> - <p> - <a href="https://www.palemoon.org" target="_blank">Palemoon</a> is a old firefox fork - that uses a different rendering engine so it can keep up with - newer webstandards while stilling keeping the old interface and support older plugins. - <a href="https://www.basilisk-browser.org" target="_blank">Basilisk</a> use to be - developed by moonchild and was designed to be kind of like palemoon but based off - a bit newer version of firefox. The basilisk team broke off and is now seprate from - moonchild but still keeps in close contact with them. - <br/><br/> - What version you choose is really up to you and what interface you like more. Both of - them are going to struggle to use javascript heavy websites but its ok its I prefer - disabling javascript whenever possible and using umatrix to only let in what the - site needs to function. - </p> - - <h3>Hardening</h3> - <p> - Even though they are about as good as browsers get these days the developers are still - stupidos so you should <a href="https://spyware.neocities.org/guides/palemoon" target="_blank"> - follow this guide</a>. Its also best you disable webrtc (only basilisk even supports webrtc - out of the two) and webgl along with other hardening - because even though they are based off older versions of firefox they still support the modern - features that make it easier for sites to fucking fingerprint you. Basilisk is the only one that - supports webrtc out of the two. - <br/><br/> - To help hardened get yourself <a href="https://git.nixnet.services/Narsil/palemoon_user.js" target="_blank"> - a palemoon user.js</a>. It helps you stand out less by hiding the fact you are using a weird old ass - browser. Btw, for whatever fucking reason this user.js seems to brick github issue pages so just keep - that in mind. Though if anything this just is another reason why real git sites like gitea and codeberg - are better. - <br/><br/> - You can timezone spoof by setting <code>TZ=UTC</code> before launching: - <br/> - <code> - sudo -s<br/> - rm -rf /usr/bin/palemoon<br/> - echo "#! /usr/bin/sh\nTZ=UTC /usr/lib/palemoon/palemoon \$@" > /usr/bin/palemoon<br/> - chmod +x /usr/bin/palemoon - </code> - <br/> - Basilisk users can come up with their own hack instead of having their hands held and gently walked through - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="ungoogled">Ungoogled chromium</h2> - <p> - Ungoogled chromium is what the name says, chromium without the google. I still prefer to - avoid anything chromim but if you really want to use a chromium based browser without - all the spyware shit you arent going to get any better than this. It hella beats brave - <b>brave is fucking terrible</b>. There is a addon that lets you install addons from - the chrome store and update them without having to sign into google but I still think - the best option is just to manually install the addons to completely avoid google. - <br/><br/> - Ungoogled chromium isnt hardened at all by default. Its designed to be a drop in replacement - for chrome that is user friendly and doesnt break anything. We dont do that here, for heaven - fucking shake at least harden it a little and to do that you can use - <a href="https://github.com/ungoogled-software/ungoogled-chromium/blob/master/docs/flags.md" - target="_blank">these flags</a>. - <br/><br/> - With manifest v2 on the way out the future of chromium based browsers is fucked. Mozilla is - also doing shitty things so we are just in general fucked. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="librewolf">librewolf</h2> - <p> - Librewolf is about the easiest way to get a decent hardened browser setup. It still makes some requests to mozilla - which kind of sucks. - </p> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h1 id="commandline">Command line</h1> - <p> - Yes, the terminal is a GUI program. But I put it here because <b>fuck you</b>. - <br/><br/> - For a cool command line I use nerd fonts. My favorite is the hack nerd font which can be installed with: - <br/> - <code> - wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/Hack.zip<br/> - unzip Hack.zip -d Hack<br/> - sudo cp -r Hack /usr/share/fonts/<br/> - </code> - <br/> - More nerd fonts can be found <a href="https://www.nerdfonts.com" target="_blank">here</a>. - </p> - </td> - </tr> - <tr> - <td> - <h2 id="alacritty">Alacritty</h2> - <p> - I only started using it very recently because I been using kitty for a long time. - I switched to alacritty because ssh in kitty is fucked up and I found out that - alacritty now has a option for toml files for the config. The yml files was - one of the biggest things keeping me away from alacritty. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="zsh">zsh</h2> - <p> - zsh is pretty cool though I been playing with fish a bit and been thinking of switching to that. - zsh has lots of cool things like vi keys (even though I use emacs) and is somewhat compatable with bash to. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="vim">vim</h2> - <p> - For a long time I used neovim. I started using neovim becaues I wanted vim to act more - like a ide and have fancy shit. For most things I ended up using <s>lite-xl</s> emacs more - because well... emacs just make my autism happy. Neovim ended up just being used for editing - configs, quickly - throwing together scripts, crazy vim wizard edits... so I decided to just ditch neovim - (you can find my old config - <a href="https://gitea.com/nathansmithsmith/nvim_config" target="_blank">here</a>) - and instead go with a simple vimrc with only a few plugins. - <br/><br/> - <b><i>How dare someone use both emacs and vim!</i></b> Shut your fucking piehole stupido! - </p> - </td> - </tr> - </table> - - <table border="1" width="60%"> - <tr> - <td> - <h1 id="extras">Extras</h1> - <p> - These are programs I at one point used, dont use much... that I wanted to add. - </p> - </td> - </tr> - - <tr> - <td> - <h2 id="lite-xl">lite-xl</h2> - <p> - I started using lite-xl because I wanted a simple little easy to config graphical text editor. lite-xl is - just that. I no longer have a need for it as I get into emacs again as of writing this but still a great - little editor. - <br/><br/> - On different screen sizes lite-xl may look bad and to fix it you need to set the <code>LITE_SCALE</code> - environment variable. - </p> - </td> - </tr> + <a href="index.html"><img src="images/back_home.png" alt= + "Back to home page"></a> + <center> + <img src="images/flying_tux.gif" alt="Tux the penguin flying"> + <table border="1" width="60%"> + <tr> + <td> + <h2>Setup/software list</h2> + <ul> + <li> + <a href="#distros">Distros:</a> + <ul> + <li> + <a href="#distro_guides">Guides</a> + </li> + <li> + <a href="#distro_list">Cool distros</a> + </li> + </ul> + </li> + <li> + <a href="#gui">GUI apps</a> + <ul> + <li>Mail client: <a href="#claws">claws</a> + </li> + <li>Editor: <a href="#emacs">emacs</a> + </li> + <li>File manager: <a href="#spacefm">SpaceFM</a> + </li> + <li>Media player: <a href="#mpv">mpv</a> + </li> + <li>Feed reader: <a href="#liferea">liferea</a> + </li> + <li>PDF viewer: <a href="#epdfviewer">ePDFViewer</a> + </li> + </ul> + </li> + <li> + <a href="#browsers">Web browsers</a> + <ul> + <li> + <a href="#icecat">Icecat</a> + </li> + <li> + <a href="#xul">Palemoon and Basilisk</a> + </li> + <li> + <a href="#ungoogled">Ungoogled chromium</a> + </li> + <li> + <a href="#librewolf">Librewolf</a> + </li> + </ul> + </li> + <li> + <a href="#commandline">Command line</a> + <ul> + <li>Terminal: <a href="#alacritty">alacritty</a> + </li> + <li>Shell: <a href="#zsh">zsh</a> + </li> + <li>Terminal based editor: <a href="#vim">vim</a> + </li> + </ul> + </li> + <li> + <a href="#extras">Extras</a> + <ul> + <li> + <a href="#lite-xl">lite-xl</a> + </li> + <li> + <a href="#vlc">vlc</a> + </li> + <li> + <a href="#evolution">Evolution</a> + </li> + </ul> + </li> + </ul> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h2>Why linux</h2> + <p>I have always liked being able to customize, mod, and poke inside + different things. Computers are machines for us to play around with + and use how we see fit yet the only thing the big tech companies + want to do it lock everything up and it disgusts me. Fuck google, + fuck microsoft, fuck apple, and fuck all the other evil tech + companies!!! Its time for the open source revolution and seize them + all and open source the entire world!!! Without linux or any other + unix life would be much much worse. Linux is my safe place from all + the shit in the world.</p><img src= + "images/windows_kills_kittens.jpg" alt="Window kills kittens" width= + "95%"> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h2 id="distros">Distros</h2> + <p>I will distro hop a bit though for the most part I like to stay + with the same distro and just change DE's or WM's. For the longest + time I just switched to a different fedora spin every so often. Now + I use arch because I got tired of fedora and couldnt find a distro I + liked so I switched to arch to make it feel the way I want.</p> + <h3 id="distro_guides">Guides</h3> + <ul> + <li> + <a href="distro_guides/arch.html">Arch (my daily driver)</a> + </li> + <li> + <a href="distro_guides/xfce.html">Xfce DE</a> + </li> + <li> + <a href="distro_guides/fedora.html">Fedora xfce (my old daily + driver)</a> + </li> + </ul> + <h3 id="distro_list">Cool distros</h3> + <p><i>Not including the guides</i></p> + <ul> + <li> + <a href="https://antixlinux.com" target="_blank">AntiX</a> + </li> + <li> + <a href="https://mxlinux.org" target="_blank">MXLinux</a> + </li> + <li> + <a href="https://salixos.org" target="_blank">SalixOS</a> + </li> + <li> + <a href="https://www.adelielinux.org" target="_blank">Adelie</a> + </li> + </ul> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h1 id="gui">GUI apps</h1> + <p>A lot of linux users dont like GUI apps. I think they are great + <a href="https://digdeeper.club/articles/design.xhtml" target= + "_blank">when they are done right</a>.</p> + </td> + </tr> + <tr> + <td> + <h2 id="claws">Claws mail</h2> + <p>I have used thunderbird in the past though like I said before + <a href="https://digdeeper.club/articles/mozilla.xhtml" target= + "_blank">mozilla is evil as fuck</a>. Through the power of actually + following the unix philosophy and not being full of javascript + bullshit claws is about the safest email client out there. Gone are + the days of just clicking a email being enough to fuck you over. + Anyways you likely noticed that claws just displays everything in + plain text. I like using the dillo plugin for a nicer view, and + guess what? Still no shitty javascript that can get you fucked!</p> + </td> + </tr> + <tr> + <td> + <h2 id="emacs">Emacs</h2> + <p><b>Don't use emacs. Its stupido.</b><br> + <br> + That is and will always be true but lately as of writing this I been + bit by the emacs bug. Using emacs is so bad and so wrong but feels + so good to use. I defeated rsi by doing hand exercises for nearly a + year and a half as of writing this. I had to learn the hard way + being a guitarist and emacs user while taking CS classes and writing + code all the time wasnt a good idea. Now I play bass to but it + balances out because I switched over to IT and became too lazy to + write code most of the time. I lost my lite weight hand exercise + tools and instead of buying new ones I just started using the heavy + ones for hours at a time until I had <b>the grip strength to crush a + human skull</b>. Now my rsi is cured <i>as long as I keep up the + exercises</i>.<br> + <br> + I dont use doom emacs, spaceacs.. or any of that bullshit. Just good + old gnu emacs with a simple config and a hand full of plugins.<br> + Some of my favorite are:</p> + <ul> + <li>Ivy: it makes emacs feel a bit nicer without completely + changing it by much.</li> + <li>Company with eglot: a easy way to add good auto-complete and + lsp support. It doesnt bloat the system up too much and it adds + much faster and better auto-complete then what any standard ide + has and it doesnt get in the way.</li> + <li>nyan-mode: this plugin will change your life. Emacs isnt even + usable without it. This plugin is the biggest reason I use emacs. + Take that vim users!</li> + </ul> + <p><b>Fun fact: I use emacs to work on this site.</b></p> + </td> + </tr> + <tr> + <td> + <h2 id="spacefm">SpaceFM</h2> + <p>For the longest time I just used thunar because its decent and + default in xfce though I decided to give spaceFM a try as of writing + this. I might got annoyed of it in a week and ditch it or end up + really liking it. These kinds of things tend to go either way for + me. I will either fucking hate it or wonder how I ever lived without + it.<br> + Update: After using it for a little bit I really dig it and never + want to go back.</p> + <h3>Encrypted partitions/the few things udevil doesnt support yet in + spaceFM</h3> + <p>SpaceFM doesnt support encrypted partitions by default but lucky + for us its very customizable. To get encrypted disks working I use + udisks2 and udiskie.</p> + <ul> + <li>Install udisks2 and udiskie.</li> + <li>Go to xfce session and startup than add the command + <code>udiskie -s</code> as a autostarted app. The -s option makes + udiskie show a tray icon and hide it when there arent any disks. + -t will show the tray all the time and by default udiskie will not + show a tray.</li> + <li>In spaceFM go to Devices->Settings->Device Handlers and + add a new handler: <img src="images/udiskie_in_spacefm.jpg" alt= + "udiskie device handler in spacefm"> Whitelist: + <code>crypto_LUKS</code><br> + Mount: <code>udiskie-mount %v</code><br> + Unmount: <code>udiskie-umount $(lsblk -n -o MOUNTPOINT + %v)</code></li> + </ul> + <h3>sftp</h3> + <p>Spacefm uses sshfs for sftp support. Once you install it you will + be ready to rock. Though for my use case I need symlink support. + sshfs needs to have the option <code>-o follow_symlinks</code> To + support symlinks. To add the option go to + Devices->Settings->Protocol Handlers->ssh and change the + mount option to:<br> + <code>#!/bin/bash<br> + <br> + [[ -n "$fm_url_user" ]] && fm_url_user="${fm_url_user}@"<br> + [[ -z "$fm_url_port" ]] && fm_url_port=22<br> + echo ">>> sshfs -o follow_symlinks -p $fm_url_port + $fm_url_user$fm_url_host:$fm_url_path %a"<br> + echo<br> + # Run sshfs through nohup to prevent disconnect on terminal + close<br> + sshtmp="$(mktemp --tmpdir spacefm-ssh-output-XXXXXXXX.tmp)" || exit + 1<br> + nohup sshfs -o follow_symlinks -p $fm_url_port + $fm_url_user$fm_url_host:$fm_url_path %a &> "$sshtmp"<br> + err=$?<br> + [[ -e "$sshtmp" ]] && cat "$sshtmp" ; rm -f "$sshtmp"<br> + [[ $err -eq 0 ]] # set error status<br> + <br> + <br> + # Alternate Method - if enabled, disable nohup line above and<br> + # uncheck Run In Terminal<br> + # # Run sshfs in a terminal without SpaceFM task. sshfs disconnects + when the<br> + # # terminal is closed<br> + # spacefm -s run-task cmd --terminal "echo 'Connecting to $fm_url'; + echo; sshfs -p $fm_url_port $fm_url_user$fm_url_host:$fm_url_path + %a; if [ $? -ne 0 ]; then echo; echo '[ Finished ] Press Enter to + close'; else echo; echo 'Press Enter to close (closing this window + may unmount sshfs)'; fi; read" & sleep 1<br></code></p> + </td> + </tr> + <tr> + <td> + <h2 id="mpv">mpv</h2> + <p>I switched to mpv because vlc was acting weird with audio + sometimes when watching anime and nothing in this world is worse + then something getting in the way of anime time! Just like lite-xl + and neovim mpv uses lua for its config files and is really simple by + default. It also can play youtube videos or other online streams + just by giving it a url.</p> + </td> + </tr> + <tr> + <td> + <h2 id="liferea">Liferea</h2> + <p>Feed readers are one of those things I use on and off. A lot like + mail clients feed readers tend to be very bloated. Liferea is my + favorite but it has always had issues with nvidia drivers until I + found out a trick.<br> + <br> + If liferea has issues add this to your /etc/environment and + reboot<br> + <code>WEBKIT_DISABLE_DMABUF_RENDERER=1</code><br> + <br> + Some cool tricks:</p> + <ul> + <li>Get <a href= + "https://github.com/shevabam/get-rss-feed-url-extension" target= + "_blank">this plugin</a> to find feeds easier. + </li> + <li>You can turn youtube channels into rss feeds with + <code>https://www.youtube.com/feeds/videos.xml?channel_id={channel_id}</code><br> - <tr> - <td> - <h2 id="vlc">vlc</h2> - <p> - Yes, mpv is better. Yes, vlc sometimes has issues. But vlc is still better than the default media player - on most systems and has its fair share of useful features. Even with mpv I still like to have vlc - installed just in case mpv breaks when I dont have internet and I like its file converting features. The - mobile version of vlc kicks ass. - </p> - </td> - </tr> + This can be done for all your subscriptions with <a href= + "scripts/youtube_subs_export.py" target="_blank">this script</a> + </li> + <li>You can drag and drop youtube urls from your feed reader into + mpv so you can keep up with your subscriptions without even + touching youtube's website.</li> + </ul> + </td> + </tr> + <tr> + <td> + <h2 id="epdfviewer">ePDFViewer</h2> + <p>I wanted a pdf viewer that was light weight and simple. Being a + xfce user I wanted something that isnt tied to another DE and doesnt + uses a hell ton of dependencies.</p> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h1 id="browsers">Web browsers</h1> + <p>Modern browsers are some of the worse things to every happen. + These are some of the better options out there.<br> + <br> + For some resources on browsers check out <a href= + "https://spyware.neocities.org/articles" target="_blank">spyware + watch dog</a> and <a href= + "https://digdeeper.club/articles/browsers.xhtml" target="_blank">dig + deeper</a>.<br> + <br> + For addons stay away from the mozilla or google bullshit and instead + use something like <a href="https://gnuzilla.gnu.org" target= + "_blank">the gnuzilla thingy</a>. You can also find addons on + <a href="https://mybrowseraddon.com" target= + "_blank">mybrowseraddon</a> than manually install them or something + along those lines.<br> + <br> + For a dark mode addon <b>stay away from darkreader</b>. Dont know if + its spyware or not but when the browser starts up it makes a bunch + of requests which is something a dark mode plugin shouldnt do. + Instead use something like <a href= + "https://gnuzilla.gnu.org/extension.php?id=786990" target= + "_blank">dark-mode</a>.</p> + </td> + </tr> + <tr> + <td> + <h2 id="icecat">Icecat</h2> + <p>I use to use firefox but switched to librewolf because <a href= + "https://digdeeper.club/articles/mozilla.xhtml" target= + "_blank">mozilla is evil as fuck</a>. If you don't know librewolf it + its the ungoogled-chromium of firefox. Than I switched from + librewolf to icecat.<br> + <br> + <s>The builtin plugins are decent. Librejs and its other contend + blocking plugins are way more annoying than something like umatrix + but I am giving them a fair chance knowing that umatrix might not + have much of a future even if its still quite functional still. I + still like to install ublock even with everything that comes + builtin.</s><br> + So I got annoyed of librejs and other builtin plugins in icecat. Now + I just disable them because umatrix and ublock can do way more, + except jshelter: It is a api spoofer which is different from the + others which are contend blockers. Its useful for when you have to + use javascript heavy websites but still want to prevent alot of + information from being leaked. I set ublock to disable javascript by + default and I set jshelter to strict mode by default.<br> + <br> + Fun little trick: If video playback/youtube frame breaks on a + website just throw it into mpv to stream it from there. Sometimes to + find the media you can hit ctrl+i to pull up page info and use the + media section or in some cases you might have to dig around in the + inspector.</p> + <h3>Installing</h3> + <p>You can find some newer builds <a href= + "https://icecatbrowser.org" target="_blank">here</a>. The offical + version can be found <a href="https://www.gnu.org/software/gnuzilla" + target="_blank">here</a>.</p> + <h3>Hardening</h3> + <p>The magic of icecat is it makes zero requests to mozilla but its + not too hardened so you might wanta use a user.js. Check out + <a href="https://github.com/pyllyukko/user.js" target= + "_blank">pyllyukko user.js</a>.</p> + </td> + </tr> + <tr> + <td> + <h2 id="xul">Palemoon and Basilisk</h2> + <p><a href="https://www.palemoon.org" target="_blank">Palemoon</a> + is a old firefox fork that uses a different rendering engine so it + can keep up with newer webstandards while stilling keeping the old + interface and support older plugins. <a href= + "https://www.basilisk-browser.org" target="_blank">Basilisk</a> use + to be developed by moonchild and was designed to be kind of like + palemoon but based off a bit newer version of firefox. The basilisk + team broke off and is now seprate from moonchild but still keeps in + close contact with them.<br> + <br> + What version you choose is really up to you and what interface you + like more. Both of them are going to struggle to use javascript + heavy websites but its ok its I prefer disabling javascript whenever + possible and using umatrix to only let in what the site needs to + function.</p> + <h3>Hardening</h3> + <p>Even though they are about as good as browsers get these days the + developers are still stupidos so you should <a href= + "https://spyware.neocities.org/guides/palemoon" target= + "_blank">follow this guide</a>. Its also best you disable webrtc + (only basilisk even supports webrtc out of the two) and webgl along + with other hardening because even though they are based off older + versions of firefox they still support the modern features that make + it easier for sites to fucking fingerprint you. Basilisk is the only + one that supports webrtc out of the two.<br> + <br> + To help hardened get yourself <a href= + "https://git.nixnet.services/Narsil/palemoon_user.js" target= + "_blank">a palemoon user.js</a>. It helps you stand out less by + hiding the fact you are using a weird old ass browser. Btw, for + whatever fucking reason this user.js seems to brick github issue + pages so just keep that in mind. Though if anything this just is + another reason why real git sites like gitea and codeberg are + better.<br> + <br> + You can timezone spoof by setting <code>TZ=UTC</code> before + launching:<br> + <code>sudo -s<br> + rm -rf /usr/bin/palemoon<br> + echo "#! /usr/bin/sh\nTZ=UTC /usr/lib/palemoon/palemoon \$@" > + /usr/bin/palemoon<br> + chmod +x /usr/bin/palemoon</code><br> + Basilisk users can come up with their own hack instead of having + their hands held and gently walked through</p> + </td> + </tr> + <tr> + <td> + <h2 id="ungoogled">Ungoogled chromium</h2> + <p>Ungoogled chromium is what the name says, chromium without the + google. I still prefer to avoid anything chromim but if you really + want to use a chromium based browser without all the spyware shit + you arent going to get any better than this. It hella beats brave + <b>brave is fucking terrible</b>. There is a addon that lets you + install addons from the chrome store and update them without having + to sign into google but I still think the best option is just to + manually install the addons to completely avoid google.<br> + <br> + Ungoogled chromium isnt hardened at all by default. Its designed to + be a drop in replacement for chrome that is user friendly and doesnt + break anything. We dont do that here, for heaven fucking shake at + least harden it a little and to do that you can use <a href= + "https://github.com/ungoogled-software/ungoogled-chromium/blob/master/docs/flags.md" + target="_blank">these flags</a>.<br> + <br> + With manifest v2 on the way out the future of chromium based + browsers is fucked. Mozilla is also doing shitty things so we are + just in general fucked.</p> + </td> + </tr> + <tr> + <td> + <h2 id="librewolf">librewolf</h2> + <p>Librewolf is about the easiest way to get a decent hardened + browser setup. It still makes some requests to mozilla which kind of + sucks.</p> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h1 id="commandline">Command line</h1> + <p>Yes, the terminal is a GUI program. But I put it here because + <b>fuck you</b>.<br> + <br> + For a cool command line I use nerd fonts. My favorite is the hack + nerd font which can be installed with:<br> + <code>wget + https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/Hack.zip<br> - <tr> - <td> - <h2 id="evolution">Evolution</h2> - <p> - Evolution is one of the better mail clients out there. If for whatever reason you need to use gmail or some - other locked down shitty service evolution has you covered. By default it uses the gnome style window decorators - but unlike most gnome apps it lets you use your desktop/WM decorators instead. Its not as bad as most - mail clients (looking at you thunderbird) and it lets you <i>at least</i> hide most of that shit out of the way. - </p> - </td> - </tr> - </table> - </center> + unzip Hack.zip -d Hack<br> + sudo cp -r Hack /usr/share/fonts/<br></code><br> + More nerd fonts can be found <a href="https://www.nerdfonts.com" + target="_blank">here</a>.</p> + </td> + </tr> + <tr> + <td> + <h2 id="alacritty">Alacritty</h2> + <p>I only started using it very recently because I been using kitty + for a long time. I switched to alacritty because ssh in kitty is + fucked up and I found out that alacritty now has a option for toml + files for the config. The yml files was one of the biggest things + keeping me away from alacritty.</p> + </td> + </tr> + <tr> + <td> + <h2 id="zsh">zsh</h2> + <p>zsh is pretty cool though I been playing with fish a bit and been + thinking of switching to that. zsh has lots of cool things like vi + keys (even though I use emacs) and is somewhat compatable with bash + to.</p> + </td> + </tr> + <tr> + <td> + <h2 id="vim">vim</h2> + <p>For a long time I used neovim. I started using neovim becaues I + wanted vim to act more like a ide and have fancy shit. For most + things I ended up using <s>lite-xl</s> emacs more because well... + emacs just make my autism happy. Neovim ended up just being used for + editing configs, quickly throwing together scripts, crazy vim wizard + edits... so I decided to just ditch neovim (you can find my old + config <a href="https://gitea.com/nathansmithsmith/nvim_config" + target="_blank">here</a>) and instead go with a simple vimrc with + only a few plugins.<br> + <br> + <b><i>How dare someone use both emacs and vim!</i></b> Shut your + fucking piehole stupido!</p> + </td> + </tr> + </table> + <table border="1" width="60%"> + <tr> + <td> + <h1 id="extras">Extras</h1> + <p>These are programs I at one point used, dont use much... that I + wanted to add.</p> + </td> + </tr> + <tr> + <td> + <h2 id="lite-xl">lite-xl</h2> + <p>I started using lite-xl because I wanted a simple little easy to + config graphical text editor. lite-xl is just that. I no longer have + a need for it as I get into emacs again as of writing this but still + a great little editor.<br> + <br> + On different screen sizes lite-xl may look bad and to fix it you + need to set the <code>LITE_SCALE</code> environment variable.</p> + </td> + </tr> + <tr> + <td> + <h2 id="vlc">vlc</h2> + <p>Yes, mpv is better. Yes, vlc sometimes has issues. But vlc is + still better than the default media player on most systems and has + its fair share of useful features. Even with mpv I still like to + have vlc installed just in case mpv breaks when I dont have internet + and I like its file converting features. The mobile version of vlc + kicks ass.</p> + </td> + </tr> + <tr> + <td> + <h2 id="evolution">Evolution</h2> + <p>Evolution is one of the better mail clients out there. If for + whatever reason you need to use gmail or some other locked down + shitty service evolution has you covered. By default it uses the + gnome style window decorators but unlike most gnome apps it lets you + use your desktop/WM decorators instead. Its not as bad as most mail + clients (looking at you thunderbird) and it lets you <i>at least</i> + hide most of that shit out of the way.</p> + </td> + </tr> + </table> + </center> </body> </html> |