|
Page 9 of 30 |
|
Prev |
7 8 9
10 11 19
|
Next
| Last
Re: Odds and ends
Hmm, maybe "su - user -c 'xmmsctrl whatever'" in the script will work
|
Re: Odds and ends
Do you mean writing it exactly like this?
if [ "$1" = "in" ]; then 'su - user -c 'xmmsctrl next'' That gave me nothing as well. |
Re: Odds and ends
Try replacing the script with this:
Code:
#!/bin/sh |
Re: Odds and ends
Be sure to stop that screenlock program if you try out the new ASUI release. :)
|
Re: Odds and ends
Quote:
What are you using this for stokes? |
Re: Odds and ends
TBH, I have no need for this. Does the script have the executable bit set? If you're running screenlock from the Terminal, you should see the output of xmmsctrl as it's running.
Anyway, I'd forget about this and update ASUI :) |
Re: Odds and ends
This is how I have it set.
/usr/bin/xmmslock http://img199.imageshack.us/img199/3...1091510524.png /home/user/xmmskey http://img828.imageshack.us/img828/8...1091510584.png |
Re: Odds and ends
Just a thought: make it setuid user and omit the "su - user -c" business.
|
Re: Odds and ends
@Addison
That looks correct... I guess I should buy a new battery so that I can properly test xmmsctrl myself... auouymous seems to be using the same commands for his new ASUI feature. @lma I thought about that, but (and I haven't checked so I may be wrong) I need to be root to use the /dev/input interface directly, so I'd have to fork I think and I'm lazy |
Re: Odds and ends
Is the "setuid user" permissions correct on the way I have it now, lma?
|
| All times are GMT. The time now is 21:02. |
Page 9 of 30 |
|
Prev |
7 8 9
10 11 19
|
Next
| Last
vBulletin® Version 3.8.8