LinuxQuestions.org
Visit the LQ Articles and Editorials section
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.
Uncategorized Entries with no category
Old

High CPU usage + underclock vs. low CPU + normal/high clock

Posted 11-13-2011 at 02:02 PM by the dsc (linux-related notes)
Updated 11-13-2011 at 02:05 PM by the dsc

This is just a question rather than a typical blog post. I know blogs aren't really supposed to be used for that, but I think it's justifiable since it's not that important or urgent, even though it has some practical applications. So I'm not "stealing" attention from other users with more pressing matters over there.

The question is basically "what gets more work done":

a) higher CPU usage per process (limiting less or not limiting the usage at...
Member
Posted in Uncategorized
Views 919 Comments 0 the dsc is offline
Old

Commanding openbox through scripts or command line

Posted 10-19-2011 at 10:03 PM by the dsc (linux-related notes)
Updated 10-19-2011 at 10:05 PM by the dsc
Tags openbox, rants

Is it possible? If it is, it's not obvious in any way, nor documented in the manual.

I think that would be an interesting feature if it currently lacks it. I don't really know, but I think it wouldn't be so much of a huge thing to implement the possibility of running commands such as "openbox-command menu-id-whatever" to make a given menu pop-up; or "openbox-command nexdesktop" so a script could move the view to a different desktop (but perhaps it can be done with...
Member
Posted in Uncategorized
Views 4717 Comments 2 the dsc is offline
Old

A very tiny quick dictionary look up script

Posted 10-12-2011 at 10:05 PM by the dsc (linux-related notes)
Updated 11-16-2011 at 04:35 PM by the dsc

For a long time I had fantasdic set to respond to a desktop environment keybinding, it would then appear with the result for a query that was made through the clipboard. I don't recall how much of it was its own functionality and how much was some sort of wrap-around scriptery. I'm so used to use computer dictionaries in that way (instead of directly going to them and typing) that to me it's almost useless without this keybinding functionality. And indeed it has been quite some time since it does...
Member
Posted in Uncategorized
Views 15705 Comments 5 the dsc is offline
Old

"Wait until a process ends, a download ends, or a file conversion ends, then do X"

Posted 08-30-2011 at 03:06 PM by the dsc (linux-related notes)
Updated 08-30-2011 at 09:41 PM by the dsc (a small improvement)

Sometimes you want the computer to shut down after you've finished downloading something or converting some large file into some other format, but you want to go out or go to sleep instead of waiting and checking for it yourself.

For these situations I've come up with two tiny scripts. The first one waits until a file hasn't changed its size on three consecutive intervals of twenty seconds:

Code:
a=0 ; file="$1" ; if [ -f "$file.part" ] ; then file="$file.part"
...
Member
Posted in Uncategorized
Views 778 Comments 0 the dsc is offline
Old

Fixing the annoying firefox' associations issue once and for all

Posted 08-19-2011 at 03:49 PM by the dsc (linux-related notes)

Probably affects all gecko-derived browsers, like iceape, kazehakase, epiphany, namoroka, whatever. May be exclusively a KDE-derived problem though, I don't know.

Sometimes, for some reason, the system decides that you probably want to open downloaded PDFs, from iceweasel's/firefox' downloads window, with krita or gimp, programs that won't open PDFs at all. It's really confusing because you even have a correct, pdf-reader application set as default in other parts of the system (file...
Member
Posted in Uncategorized
Views 6524 Comments 2 the dsc is offline

  



All times are GMT -5. The time now is 03:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration