Faster "notify-osd" response.

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sat Jan 30, 2010 4:02 pm

Faster "notify-osd" response.

Postby doyousketch2 » Sat Jan 30, 2010 4:46 pm

I revived a laptop that's a few years old with LinuxMint 8. Good stuff.
However, as a Celeron M 1.5GHz with 500 megs of memory, it prefers to do one task at a time,
multitasking was never it's strong point.

So while I have a YouTube video playing and I tap the volume up or down,
there's a pause before the On Screen Display reacts and the volume actually changes.

I'd imagine it would be more responsive by changing the priority,
swapping the Nice value over to something like -7 High Priority.

(That or it doesn't keep that file in memory...
Does it just chill in a swap file 'till it's accessed?)

My question is this :
How do I make the notify-osd boot with a high priority so I don't have to set it higher every time I bootup?
(and/or is there a way to make certain it stays in memory so it isn't just hibernating in a swap file?)

I'd imagine it's relatively simple, I just don't know where to look.


Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Faster "notify-osd" response.

Postby Husse » Thu Feb 04, 2010 4:06 pm

What a nice question :)
I'm not sure about this but perhaps add it to rc.local

Code: Select all

gksudo gedit /etc/rc.local

Before exit 0 add

Code: Select all

nice -7 notify-osd

You need to be root to change niceness and that's the case here
Don't fix it if it ain't broken, don't break it if you can't fix it

Return to “Sound, Multimedia, & Codecs”