A Drastic Solution for Music Skipping

Relax in this forum - no rules except obscenity & profanity, and guests can post!
Post Reply
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

code: Select all

sudo kdesu -r -u <username> <musicappname>
ex. I'd run sudo kdesu -r -u jbarbero rhythmbox

Best to modify your K-Menu and add an app for this, or modify your existing shortcut to this. What does it do?
-r: realtime priority, this is the heart of it
-u <username>: don't run with root's collection but your own
sudo: prevent kdesu asking you for a password

For this you MUST set up /etc/sudoers so that you can run kdesu (or all apps) without a pass!

Cheerios...


p.s. If you have software on your system that interfaces with one of the buses, can you legitimately call it a "bus driver"?
:wq
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Note that with for example rhythmbox, whenever it switches to a new song, for example my mouse slows down. This is just for a fraction of a second. But realtime priority gives hard guarantees about resource availability. In theory, no matter how hard you hammer your disk, memory, CPU, or hardware devices, the music should not skip. I haven't rigorously tested this though.
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members