MadCarter's

👊🏼 Desktop Goodness 🎃

gnu and the linux for the win
Debian - Universal Operating System logo
Linux Tux logo

This ain't no install tutorial

That said, this page exists to support your wicked new Linux desktop. Back up your stuff, should you care, we gonna install handy function that you probably don't deserve for that tired box of yours.

This is Debian GNU/Linux and Openbox together with supporting aliases and scripts and whatnot that comprise a fabulous desktop paradigm on your workstation, or, whatever. You can have this, too, because sharing is fundamental. Download the supporting stuff first - check those md5s and let's do it real quick, go grab the net-installer iso . Probably burn it to a USB stick - I have a handy alias for mintstick, which is pretty awesome --> alias burn='sudo mintstick -m iso'

╭────────────────────────────────────────────────────────────────────────╮
│ 4 local devices / aka, my drive partitions                             │
├────────────┬────────┬───────┬────────┬────────┬──────┬─────────────────┤
│ MOUNTED ON │   SIZE │  USED │  AVAIL │  USE%  │ TYPE │ FILESYSTEM      │
├────────────┼────────┼───────┼────────┼────────┼──────┼─────────────────┤
│ /          │  27.3G │ 10.9G │  15.0G │  39.8% │ ext4 │ /dev/nvme0n1p2  │
│ /boot/efi  │  92.5M │  8.7M │  83.8M │   9.4% │ vfat │ /dev/nvme0n1p1  │
│ /dump      │ 340.9G │ 14.4G │ 326.6G │   4.2% │ xfs  │ /dev/nvme0n1p4  │
│ /home      │ 562.1G │ 55.4G │ 506.7G │   9.9% │ xfs  │ /dev/nvme0n1p3  │
╰────────────┴────────┴───────┴────────┴────────┴──────┴─────────────────╯

This particular desktop paradigm employs a butt-load of aliases and keybinds and scripts to run and it's been running happily on all of my personal machines for years. Decades. Aside from being rediculously fast and reliable it is, alas, equally boring, and, to its end, again; reliable. Yaaaaawn.

Really, I insist that you take a moment to consider how utterly boring and reliable this setup is. It runs forever and never quits and everything works always all of the time. WTF!? You should just bail because you like to mess about and this setup will kill you. In fact, until this year, it has been 15 years since I changed anything. I made it all a little prettier this year and am using kitty. Them's the big changes, heh.

Go ahead with that USB stick - boot to it, run the installer; I allow root, manual ethernet, targeted kernel, system tools only at software tasksel and for grub: yes, yes, no...reboot.

Post install I log in as root to install sudo and aptitude . Then, I run visudo to add my user account to sudo, using the nopasswd:all argument to save me from password prompts, like:

$USER ALL=(ALL:ALL) NOPASSWD:ALL

Following that, log out and back in as regular user and run kevin : sudo ~/bin/kevin

You can - wget https://madcarters.com/kevin and then run chmod+x kevin to make it executable

kevin md5: d63684119e134c66dc6fd6b895e14bc5

Handy focal points for the install

  • - for partitioning use guided and encrypted if a new drive unless you now why and how not to
  • - allow root
  • - manual IP addy on ethernet when networking pops up
  • - choose only system tools for software at tasksel
  • - targeted kernel
  • - yes grub: yes, yes, and no which would be the defaults

Installing with kevin is a one-shot thing, run it, go touch grass for 6 minutes, and come back to a done-deal. You can type startx, enter and log into an empty black mess - unless you downloaded the handy files I have provided here to support this endewavor. Ha!

Have a look at the structure of supporting files, where they go. You will only have to make the ~/bin directory.

~/

.bashrc

.bash_aliases

.bash_functions

.profile

.xinitrc

.bashcolors

.gtkrc-2.0

.fehbg

~/.config

gtk-3.0/

geany/

openbox/

fastfetch/

Thunar/

sublime-text/

orage/

lxpanel/

kitty/

keepassxc/

gtk-4.0/

assets/

wallpapers.cfg

starship.toml

obsession.conf

~/bin

kevin

obamenu.py

procinfo.pl

places-pipemenu

recent.sh

pick.sh

waldesk

datemenu.py

mkpwd.sh

frank

resz

color.sh

lscolors.sh

~/Downloads

kitty-0.4X.X-x86_64

debian-openbox-small

~/.local/share

scripts

themes

icons

fonts

keyrings

~/Documents

dome.txt

data:

~/

.claws-mail

.bogofilter

.mozilla

.screenlayout

Supporting files

scripts for ~/bin - bin-for.zip .    md5 : 4a80b08344e346de8286cfa18fb5fa7f

~/ (home) dot files: homedots.zip md5 : 49fb246427c32929d7f1729b975a6588

thunar scripts: thunar scripts extract to ~/.local/share/scripts
md5: a6a7909a9c8887d90ca0ed31e88cc8bc

Here is a terrific weather script that I use all the time. It pipes to an openbox menu, too, if you're into that. Looks great in the terminal: weather script

Theme: Arc-Dark , Nord-Openbox , Obsidian-Gray (sic)

I use a handy desktop wallpaper script , too, that puts a different image on each virtual desktop. Love it.

Also, here is my custom actions file from ~/.config/Thunar which is handiness as well as nautilus scripts. Check out 'resize-options' (resz script in ~/bin) : uca.xml md5 for uca.xml: b90dd7e280c08c0a8e8939001ed73859

handy aliases

#------------------------------------------////
# Package Management:
#------------------------------------------////
alias sources='sudo x-text-editor /etc/apt/sources.list'
alias deb='sudo dpkg -i'
alias show='aptitude show'
alias list='dpkg -L'
alias cpf='sudo aptitude clean && sudo aptitude purge ~c && sudo aptitude -f install'
alias remove='sudo apt-get remove --purge'
alias install='sudo aptitude -y install'
alias apps='sudo synaptic'
alias search='aptitude search'
alias update='sudo aptitude update'
alias upgrade='sudo aptitude full-upgrade'
alias updoogie='runwithfeedback upgrading upgrade'
alias devs="aptitude -F '%p' search '~i -dev$'"
alias devsizes="aptitude -F '%I %p' search '~i -dev$'"
alias otto='sudo apt-get autoremove'

More good

function hg() { history | grep "$1"; }

function cl() {
DIR="$*";
# if no DIR given, go home
if [ $# -lt 1 ]; then
DIR=$HOME;
fi;
builtin cd "${DIR}" && \
# use your preferred ls command
ls -F --color=auto


function myps() { ps $@ -u $USER -o pid,%cpu,%mem,bsdtime,command ; } }

dotfiles, whiff

~/
.bashrc
.bash_aliases
.bash_functions
.profile
.xinitrc
.bashcolors
.gtkrc-2.0
.fehbg

~/.config
gtk-3.0
openbox
Thunar
lxpanel
kitty
gtk-4.0
assets
wallpapers.cfg
starship.toml
weather_sh.rc
obsession.conf

Wait, though, there's more


      🔱♻️♾️⚾⚾♾️♻️🔱🔱♻️♾️⚾⚾
      ♻️######################♾️
      ♾️###                ###♻️
      ⚾###  click me      ###🔱
      ⚾###  post-install  ###🔱
      ♾️###                ###♻️
      ♻️######################♾️
      🔱♻️♾️⚾⚾♾️♻️🔱🔱♻️♾️⚾⚾
            
Couple things in a terminal post-install enhancing wickedness...

sudo update-alternatives --install /usr/bin/x-file-manager x-file-manager /usr/bin/thunar 210

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator ~/Downloads/kitty-0.43.1-x86_64/bin/kitty 210

sudo dpkg-reconfigure tzdata
sudo systemctl enable tlp

echo 'set -P' | sudo tee -a /etc/bash.bashrc

maybe put the following in /etc/fstab:

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0