LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Windows/Macl/Linux Forum EOL < kinda sad >

Posted 07-19-2019 at 09:14 AM by rokytnji

Smartest Computing org will be closing down their excellent forum < just my opinion >. Why am I posting this?

History Filler:

I met Broni online way back when I was reassembling and Upgrading Amrel Toughbooks and then running Linux on them

Broni is a polish dude < moved back to Poland recently from California > who is a cool character . He is a Windows centric computer anti - virus troubleshooter and fixer.
He set up a forum on...
LQ Veteran
Posted in Uncategorized
Views 771 Comments 0 rokytnji is offline
Old

Some tips on programming in C

Posted 07-18-2019 at 12:11 PM by hazel
Updated 07-21-2019 at 10:38 AM by hazel

Many people, after using Linux for a while, get the programming bug. I doubt if that often happens to Windows users, but Linux offers such convenient tools for writing programs that it tempts you to put one toe into the water.

Here are one or two tips that you might want to follow to make programming less stressful and confusing. I have chosen C as the language because it's one I know something about. Most of what I want to say applies just as much to C++. Some of it probably applies...
Senior Member
Posted in Programming
Views 343 Comments 0 hazel is offline
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 1383 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 344 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 2194 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 08:58 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