LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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

Windows-like folder organization for binaries and libraries through symbolic links?

Posted 11-25-2011 at 03:28 PM by the dsc (linux-related notes)

Just another of those things I catch myself wondering sometimes, but I don't think that are important enough for the forums.

What if linux had folders for each program, more or less like on windows, but still had its "grab-bag" folders for libraries and whatever that may be used for more than one program, but instead of using it through a "$path", it had a symlink within the program's own folder?

Or perhaps it could use by default through something...
Member
Posted in Uncategorized
Views 1145 Comments 2 the dsc is offline
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 929 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 4909 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 16283 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 798 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 07:15 PM.

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