LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
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

Resetting Workrave's suspended mode to normal every day

Posted 07-11-2019 at 08:23 AM by the dsc (linux-related notes)
Updated 07-11-2019 at 08:24 AM by the dsc

Add this to any start-up script, running before workrave itself:

Code:
gsettings set org.workrave.general operation-mode 0
Partly based on this, which didn't work:
https://askubuntu.com/questions/3837...in-normal-mode


'gsettings list-recursively | grep workrave" may help if they change something.

I don't get why use such thing rather than each program having its own txt config file. I thought...
Member
Posted in Uncategorized
Views 1253 Comments 0 the dsc is offline
Old

Apparently there's some "race condition" that can wipe-out bash history if you break some kinds of loops

Posted 07-10-2019 at 01:18 PM by the dsc (linux-related notes)
Updated 07-10-2019 at 01:20 PM by the dsc

At least that's what apparently happened to me.
On Unix' stack exchange I've found this handy way of recovering it, partly at least, if you happen to have another terminal open, from before the wipe-out:

Code:
history | cut -c 8- > histback_user1.txt
The person who gave this tip suggested doing it in "every terminal", but I believe it would just overwrite it completely for whatever number of times one did it, with the simple ">." In order...
Member
Posted in Uncategorized
Views 261 Comments 0 the dsc is offline
Old

Chrome/ium userstyle that creates larger buttons for scrolling up and down.

Posted 07-08-2019 at 02:41 PM by the dsc (linux-related notes)
Updated 07-08-2019 at 02:54 PM by the dsc

I mostly use the scrollbar as "buttons," clicking below or above the handler, rather than grabbing the handler itself. So when I've scrolled down quite a bit, I'll often mistakenly click above the handler when I really wanted to scroll down. That's kind of possibly solved if those barely useful up and down buttons were large enough to be more useful than pressing page up, down, or arrow keys instead. So this usercss does that:

Code:
::-webkit-scrollbar {
  width: 12px;
...
Member
Posted in Uncategorized
Views 1877 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 06:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration