Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
#!/bin/bash
printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?><openbox_pipe_menu>"
# Instead of just "gimp" in the next line, it could even be a series of
# related programs, if you juggle between different applications with
# these files. Such as "gimp\|inkscape\|krita\|mypaint"
grep -B 10 gimp ~/.local/share/recently-used.xbel | \
Posted 11-27-2015 at 12:27 PM bythe dsc (linux-related notes)
Updated 11-27-2015 at 12:33 PM bythe dsc
"wget -i" is perhaps the tool of choice to download files from a list, but it doesn't allow you to set custom file names for the individual files on the list file. So, if you want to download a bunch of podcast episodes, but would want each file to have a descriptive file name rather than "12345.mp3", it won't help you.
A simple alternative is to have a download list with the file URLS followed by the "-O" flag and desired file name, and read this file...
Posted 11-12-2015 at 03:52 PM bythe dsc (linux-related notes)
Probably the largest upgrade I've done so far, at least in the last five years or so. Most individual upgradeable packages, if selected individually, would require uninstalling half of the system. But "mark all upgrades" on synaptic in contrast required uninstalling just a few obscure packages, seemingly not affecting anything I use often. There were a few bugged packages, but the bugs didn't seem to apply to me, so I upgraded them anyway, as there was no choice.
Posted 10-06-2015 at 09:04 PM bythe dsc (linux-related notes)
Updated 01-13-2016 at 05:02 AM bythe dsc(alternative solution)
EDIT: As it turns out, it's not really needed.
With control+x+e your current command line will be opened with the $EDITOR application. From there you edit freely, then you save it, and as you exit, it will run.
I think the text editor Nedit is an excellent $EDITOR to have for that. It uses the tcl/tk toolkit (or actually motiff, if it's not the same thing),...
Posted 10-04-2015 at 12:43 AM bythe dsc (linux-related notes)
Updated 10-04-2015 at 01:42 AM bythe dsc
There's another method which consists in uploading the image from your computer in some free host and then giving this URL to google via command line, but it's kind of a scumbag-ish thing to do, I think.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.