Welcome to the most active Linux Forum on the web.
Go Back > Blogs
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.

tmpfs ~/.cache cleaner daemon-script idea, to clean RAM space while trying to minimize SSD writes

Posted Yesterday at 07:20 AM by the dsc (linux-related notes)
Updated Yesterday at 07:25 AM by the dsc (maybe grammar or worse, maybe style)
Tags hack, script, ssd, tmpfs

In line with the idea of reducing how much it's written on SSD, some people suggest using tmpfs for lots of things, one of them can be the ~/.cache directory. Which must be implemented in a per-user basis or with some pre-mount script that would do such tmpfs mounts before each user login. But regardless, the point is that they may spare the SSD, but not the RAM, obviously. If you quit a cache-heavy program, its cache would still be there, leaving other programs you're running with less RAM to use....
Posted in Uncategorized
Views 17 Comments 0 the dsc is offline

Miscellaneous links and things that helped me on this new install, with SSD issues, systemd, and removable JFS hdd issues, and whatever else

Posted 10-25-2020 at 08:15 AM by the dsc (linux-related notes)
Updated Yesterday at 10:56 PM by the dsc (addition)

"rc.local" doesn't run by default anymore, so:

Which in turn may be useful or necessary to have /var/cache/apt/archives as a tmpfs, with this:

mkdir -p /var/cache/apt/partial 
mkdir -p /var/cache/apt/archives 
mkdir -p /var/cache/apt/archives/partial 

chown -R _apt /var/cache/apt
Posted in Uncategorized
Views 1181 Comments 0 the dsc is offline

QDirstat can have Dolphin as file manager, but not with the "&" after the command line

Posted 10-19-2020 at 04:58 AM by the dsc (linux-related notes)

QDirstat's "open file manager here" fails from the user perspective if you just replace "pcmanfm-qt" to "dolphin" in the command line, even though it says it was "successful." The default line for that setting on the settings GUI has an "&" in the end, and for some reason, it makes Dolphin automatically exit under that circumstance, for some reason, I assume. While it does work on a terminal, on QDirstat it doesn't.

If whatever...
Posted in Uncategorized
Views 683 Comments 0 the dsc is offline

Customized xterm as a "run" command dialog, instead of fbrun, rofi, gmrun, or whatever

Posted 09-20-2020 at 06:40 PM by the dsc (linux-related notes)
Updated 10-11-2020 at 04:54 PM by the dsc (title got largely cut out for some reason)
Tags run dialog

WARNING: it may cause some issues with bash_history files if not set up properly. If you run a xterm from it the xterm will inherit the command dialog history and so forth. I'm not even using it anymore, but rofi again.

I've just found out that this is possible, adapting from someone who in turn shared some tweaks to use it instead of yet another terminal:

But instead of quite just that, I have this script:...
Posted in Uncategorized
Views 5871 Comments 0 the dsc is offline

Somewhat better config for "mousekeys," in my opinion

Posted 06-26-2020 at 01:38 PM by the dsc (linux-related notes)
Updated 10-11-2020 at 04:55 PM by the dsc

EDIT: no longer works/works erratically, I have no idea how it works.

I find it a bit cumbersome to have to change the default button and then click "every time," and at the same time, I barely ever use the diagonals, so I thought it could be a good idea to have keypad keys 7, 5, and 9 set to the mouse buttons 2, 1, and 3 respectively (middle, left, and right, respectively). It partly deviates from the positioning on the mouse itself, but it feels more natural to have "5"...
Posted in Uncategorized
Views 1092 Comments 0 the dsc is offline


All times are GMT -5. The time now is 03:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration