LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


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.
Old

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

Posted 10-27-2020 at 07:20 AM by the dsc (linux-related notes)
Updated 11-01-2020 at 03:45 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....
Member
Posted in Uncategorized
Views 201 Comments 0 the dsc is offline
Old

Proof of concept script to make GIMP more similar to MyPaint or Krita, for painting/drawing

Posted 06-13-2018 at 03:37 PM by the dsc (linux-related notes)
Updated 06-13-2018 at 04:36 PM by the dsc

Apparently on GIMP you can't set the stylus button 3 as an instant color picker. The default is to hold control and click, which is not that much of a hassle, but it's interesting to have this kind of functionality more uniformly activated.

A hacky way of getting an approximation of it is along the line(s) of:

Code:
while true ; do xdotool getactivewindow getwindowname | grep GIMP && xsetwacom set "Wacom Bamboo Pen stylus" Button 3 "key Control button
...
Member
Posted in Uncategorized
Views 1623 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 09:32 PM.

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