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.
My previous attempt with a "counting" system didn't work, so I've tried a different approach. For any given process, it will check if it's running, if it is, it creates a temporary file with its name on a temporary work folder; if it isn't, it...
If you wish to have more than 9 tabs on the new tab page, you just have to
- open the config page > in the url bar, type "about:config"
- agree that you're doing this at your own risk
- search for the word "tab", you'll get a bunch of entries
- change the value of browser.newtabpage.columns for your desired number of columns (for instance 4)
- change the value of browser.newtabpage.rows for your desired number of rows
while true ; do
wmctrl -l | grep -i "youtube\|vimeo" && xscreensaver-command -deactivate
sleep 5m
done
Perhaps it would be more elegant to have something that somehow works more accordingly to xscreensaver's time rather than this thing that has smaller cycles just to play it safe.
Won't work for embedded videos, though, as "youtube"...
I'm not really a fan of flash, but since I'm trying to switch from Chrome to Iceweasel, which seems to be less sluggish in my machine, and I don't like the idea of using a plugin from the late 90s when I have to, I decided to try the wrap-around trick/plugin I've found. It seems to be working normally, as fas as I can tell.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.