![]() |
Refresh button on your screen..
Hi guys.
Can someone help me? I created refresh button on desktop: Code:
[Desktop Entry] |
Re: Refresh button on your screen..
Quite interested to know that too..
Not only for refresh, for reboot and for shutdown as well. I know there are apps for that (did i just say that?), but it would be interesting to know exactly how it works..how would we be able to get a desktop shortcut for a terminal command (as root). |
Re: Refresh button on your screen..
Quote:
The commands for you: Reboot: Code:
/sbin/reboot Code:
/sbin/initctl restart xsession/sysuid Code:
/sbin/initctl restart xsession/mthome |
Re: Refresh button on your screen..
ermm... but won't I need root access?
can i just make a .desktop file with those commands and it will work? or..will it open terminal and ask me for root password like in your case? |
Re: Refresh button on your screen..
This it's a problem and reason for this thread.. I don't know how to implement this commands directly in the desktop file.. I created a simple script with this command and put the link to this script (see my example) and this need terminal access to script...
|
Re: Refresh button on your screen..
Quote:
Can someone explain please! |
Re: Refresh button on your screen..
Quote:
http://talk.maemo.org/showthread.php...82#post1135282 There was another (better) thread/post, can't find the damn thing now. |
Re: Refresh button on your screen..
Quote:
|
Re: Refresh button on your screen..
I'm not a dev or anything but there are a couple of apps in the store same purpose (free to use) may be you can have a look at their code, no ?
|
Re: Refresh button on your screen..
Quote:
|
All times are GMT. The time now is 12:02. |
vBulletin® Version 3.8.8