How do you tidy your home, aka `tree -L2 ~` - Desktop Customization & Workflow

Users browsing this thread: 1 Guest(s)
Long time nixers
tmpfs for the download directory, great idea (that I have seen above too) !

At work I have all documentation put on a sshfs in the meantime that the team agree on a documentation tool for all (zillion of stuff deployed and still using the good'ol system).

And SSHFS lets you mount a directory only accessible to the user.

It is fun to see 'access denied' when you are root. :)

That introduces to distributed systems where authentication is omnipresent.
In the same spirit of the past 2 weeks thread promotion, let's have an insider's look at how you organize your machine. How do you tidy your home?
That's a simple question on its own, but knowing why you organize it that way can give insights on techniques others might not have previously considered.

I'll start with mine:

├── docu
│   ├── bin
│   ├── myself
│   ├── programming
│   └── psychology
├── dot
│   ├── ... # a lot of dots)
│   ├── # script to backup on external HDD
│   ├── pkgs # list of all installed software
│   ├── # script to set all the dots as symlinks in the right places
│   ├── user-dirs.dirs # XDG environment, important
│   └── ... # more dots
├── downloads
│   └── ... # temporary dir for downloaded files
├── Dropbox
│   ├── impure
│   ├── .. impure61 through ..
│   ├── impure78
│   └── mushrooms
├── junk
│   └── ... # temporary working dir for non-important stuff
├── media
│   ├── ascii
│   ├── audio_books
│   ├── books
│   ├── games
│   ├── images
│   ├── manga
│   ├── musics
│   ├── os
│   ├── recordings
│   ├── Remi
│   └── videos
└── Recordings -> /home/vnm/media/recordings/

Looking back at it, I think it's a bit of a mess to have multiple "temporary" directories. But that's still a big improvement from my previous setup.

Somewhat on topic, I recently found this repo.
I'm kinda forced to keep all my school work in the magical cloud, so that's why my setup might look a bit empty.
├── bin
│   ├── bcr        # Get direct link to bandcamp's audio files
│   ├── bm         # dmenu bookmarks
│   ├── ddg        # dmenu search bar
│   ├──     # xrandr script
│   ├── pdf        # dmenu pdf selector
│   ├── r          # browse reddit in acme
│   ├── vol        # volume management
│   └── yt         # Emergency "replacement" for broken youtube-dl
├── GNUstep
│   ├── Defaults
│   └── Library
├── img
│   ├── bitmap-walls
│   └── cafe.jpg   # Current wallpaper
├── mbox
├── pdf
│   └── CoursePlan.pdf
└── src
    ├── dmenu
    ├── dockapps
    ├── dunst
    ├── n30f
    ├── swm
    └── teams_1.3.00.25560_amd64.deb
(12-10-2020, 02:17 AM)venam Wrote: Looking back at it, I think it's a bit of a mess to have multiple "temporary" directories. But that's still a big improvement from my previous setup.
Why not just use /tmp?
(12-10-2020, 07:32 AM)opFez Wrote: Why not just use /tmp?
Each is "temporary" but for a different purpose, otherwise I would get confused between files. Also my /tmp is on tmpfs and I don't want these files to disappear after reboot, so it's out of the question.
Long time nixers
I changed my $HOME a little bit since my last post in this thread:

|-- .cache/
|-- .config/
|-- .data/
|-- .profile*
|-- .session*
|-- .xprofile*
|-- .xsession*
|-- apps/
|-- files/
|-- mnt/
|-- proj/
|-- rules/
|-- skel/
|-- theme/
|-- tmp/
|-- trash/
|-- usr/
`-- var/

Stuff that changed:
  • ~/.profile and ~/.xprofile are where I set environment variables. ~/.session and ~/.xsession set my terminal and X session, respectively.
  • ~/gpg/ is no more. I don't use gpg to save my passwords anymore, I use openssl now.
  • ~/mail/ moved to ~/var/mail/
  • ~/proj/, ~/files/ and ~/tmp have the same function they had.
  • ~/usr/ is where I put binaries and other files of applications. Each subdirectory is for a different application. I use environment variables to set $PATH and $MANPATH to the corresponding directories in each ~/usr/*/.
  • ~/skel/: Where I keep templates and skeleton, for example, ~/skel/c/ has the skeleton of C programs I write, etc.
  • ~/trash/: Where I send my trash to, see fmutils for the scripts that manages the trash.
  • ~/apps/: Where I keep .desktop entries for each application that has an entry in pmenu.
  • ~/mnt/: Where I mount devices.
  • ~/rules/: Where I keep configuration files (or rules files, as I call them) and databases for applications. For example, ~/rules/vimrc is my vimrc, ~/rules/rss contains the list of RSS I'm subscribed to, ~/rules/mime contains the mimetype-application associations that I use with my file-opener script xopen.
  • ~/themes/: Where I put fonts, cursor themes, icon themes, Xresources, etc.
  • ~/var/: Where I keep variable stuff. It is a new directory I added recently. It contains stuff like cache, browsing history, shell history, mail. I may move ~/trash/ there.

I'm working on ~/fav/ to keep bookmarks and on a script that symlinks entries on this directory to commonly used files.