LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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

Restore some of chrome/ium performance by ditching extensions

Posted 06-05-2014 at 09:42 PM by the dsc (linux-related notes)
Updated 06-05-2014 at 09:44 PM by the dsc

It may be obvious at hindsight but took me a while to try it.

Chrome/ium already has the advantage of being able to enable/disable extensions without restart, so it's really a good practice, compared with Firefox. You can sometimes enable an extension just while you're using it.

I think the particular extension that was causing most of the slowness was/is Tampermonkey, which is sort of a scriptish/greasemonkey for Chrome. I think that there may be some bug with it because...
Member
Posted in Uncategorized
Views 242 Comments 0 the dsc is offline
Old

Simple "at"-like script thingie to run other things at a given time

Posted 05-31-2014 at 02:00 PM by the dsc (linux-related notes)
Updated 05-31-2014 at 02:16 PM by the dsc (bad phrasing/grammar)
Tags lazyness

Code:
#!/bin/bash
now=$(date +%s)
then=$(date --date "$1" +%s)
sleep $((then-now))
I was just tired to try to figure the syntax and usage of "at", when I just wanted gxmessage to pop up to remind me of something.

Usage: "when 17:20 && gxmessage whatever or whatever you want to start at 17:20"

Change "when" to whatever name you wish to call it. Perhaps "by" is more grammatically...
Member
Posted in Uncategorized
Views 236 Comments 0 the dsc is offline
Old

Possible key mechanism to disable xscreensaver automatically when watching youtube and the like

Posted 05-29-2014 at 09:07 PM by the dsc (linux-related notes)

I haven't even tried it yet, it just looks like a good candidate method to mess with eventually:

Code:
top p $mplayer_pid -bd 0.25 n 3 | grep $mplayer_pid | awk '{print $9}'
I saw it here:
https://forums.gentoo.org/viewtopic-...4-start-0.html

That would give "larger than zero" numbers when mplayer is playing (I think Debian's/current "top" syntax is a little bit different and requires "b" and "d" separated,...
Member
Posted in Uncategorized
Views 213 Comments 0 the dsc is offline
Old

Liquorix kernel seems more responsive than Debian's default

Posted 05-28-2014 at 11:46 AM by the dsc (linux-related notes)

I'm somewhat skeptical of the tuned-kernel movement, so I didn't install it expecting to make my OS "fly" or anything. It just happened that recently there had been some weird kernel error messages ("perf samples too long"), and, related to that or not, the OS would become sluggish with lots of read-or-write activity (on my old HDD that must be really slow, to add to sluggishness). Apparently you can sort of solve it in a sysctl-like way, printing a "0" to some file/parameter,...
Member
Posted in Uncategorized
Views 631 Comments 1 the dsc is offline
Old

You can still have google with the top black menu bar

Posted 05-24-2014 at 05:53 PM by the dsc (linux-related notes)
Tags google

I truly hate websites or GUIs in general going away with nice features or changing stuff for no good reason, and/or without being in a clear opt-in/out manner.

Anyway, adding a parameter to the google query/url still brings the not-so-old UI: noj=1

You'll still need a user script to have "scholar" to be among the search options on that menu, though. Otherwise it's still on "more → even more → scholar, no longer with your original query, loser"....
Member
Posted in Uncategorized
Views 227 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement

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