thanks for your replies,
Ok, there's nothing wrong with my xubuntu, good. So caffeine is useless and I can't code...
Well, I thought something like this: monitor rhythmbox, if it's running then I need a keystroke to keep my computer active. Did some searching and found this:
How to continuously monitor rhythmbox for track change using bash
How to inject keystrokes via a shell script?
I think I'm way over my head here, but... is this usable? (remember I can't code )
Code:
#!/bin/bash
interface=org.gnome.Rhythmbox.Player
member=playingUriChanged
dbus-monitor --profile "interface='$interface',member='$member'" |
while read -r line; do
xdotool key space
done
Again, thank you for your help
Cheers
ASENSIO
P.S. - "suspend suspend" ahahahah
Bookmarks