Go Job Hunting at the LQ Job Marketplace
Go Back > Blogs
User Name


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.

Idea for a script to prevent xscreensaver while watching videos on a browser

Posted 03-15-2015 at 12:54 AM by the dsc (linux-related notes)
Updated 06-25-2015 at 12:04 PM by the dsc (grammar)

The core concept is just:

while true ; do

wmctrl -l | grep -i "youtube\|vimeo" && xscreensaver-command -deactivate

sleep 5m

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"...
Posted in Uncategorized
Views 317 Comments 0 the dsc is offline

Mozilla seems to work okay with Chrome's flash player

Posted 02-21-2015 at 10:16 PM by the dsc (linux-related notes)
Updated 02-23-2015 at 04:44 AM by the dsc

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.

It had a few more dependencies than stated in the how-to, but the make/configure output...
Posted in Uncategorized
Views 210 Comments 0 the dsc is offline

Does youtube know what you've been doing elsewhere?

Posted 02-07-2015 at 09:43 PM by the dsc (linux-related notes)
Updated 02-07-2015 at 09:44 PM by the dsc (grammer, me guess)

I'm a recovering addict in chess (not any good though, just enough to experiment some of the sweet taste ov victory, sometimes), and every now and then I have a relapse. I used to watch some chess videos on youtube, but sometime ago I unsubscribed those channels, deleted the chess-related history for a bunch of "pages" back, and I've been marking "not interested" in chess-related suggestions, and they were decreasing in number.

But now, yesterday, I had some binge-chess...
Posted in Uncategorized
Views 214 Comments 0 the dsc is offline

It seems that sharing the config folder of chromium via symlink isn't a good idea

Posted 02-06-2015 at 12:56 AM by the dsc (linux-related notes)
Updated 02-06-2015 at 01:02 AM by the dsc

Short story shorter: two Debian 8 installs on the same PC, different HDs, same username of an user. Why not just symlink /home/user/.config/chromium in the new install? Well, it seems your extensions and their data get erased.

Story's moral: do backups of such folders first. Even if it works with mozilla (if I recall), Google could well be "nah, we better delete this stuff".
Posted in Uncategorized
Views 309 Comments 0 the dsc is offline

mpd/mpc is always a headache

Posted 02-05-2015 at 06:33 PM by the dsc (linux-related notes)

Man, I think that it has been something like 4x1 the score of times it got me lots of trouble to make it work versus the times it just worked, or almost so (I don't like that it runs as root by default so I probably changed it).

I'm not asking for help, just ranting -- I can google, there are lots of threads all around the internet with similar error messages. But unfortunately it seems that there's no universal fix. Even though the error messages are the same, there might be a handful...
Posted in Uncategorized
Views 455 Comments 2 the dsc is offline


All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration