![]() |
2013-11-09
, 11:10
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#2
|
[Desktop Entry] Type=Application Name=Name of your shortcut Exec=Command that you want to do Icon=/patch/to/your/icon.png
The Following 5 Users Say Thank You to Mikkosssss For This Useful Post: | ||
![]() |
2013-11-09
, 12:31
|
Posts: 637 |
Thanked: 445 times |
Joined on Dec 2009
@ Kaliningrad, Russia
|
#3
|
![]() |
2013-11-10
, 10:11
|
Posts: 637 |
Thanked: 445 times |
Joined on Dec 2009
@ Kaliningrad, Russia
|
#4
|
![]() |
2013-11-10
, 10:57
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#5
|
Exec=/home/user/execroot.sh /home/user/yourscript.sh
#!/bin/sh if [ $# -ne 1 ] then echo "Usage: $0 command" exit 1 fi echo rootme | devel-su -c "$1"
#!/bin/sh My command
chmod +x /home/user/yourscript.sh
![]() |
2013-11-10
, 11:05
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#6
|
sh /home/user/MyDocs/shell-script.sh perl /home/user/MyDocs/perl-script.pl python /home/user/MyDocs/python-script.py
![]() |
2013-11-10
, 11:25
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#7
|
![]() |
2013-11-10
, 15:19
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#8
|
#!/bin/sh echo "Hello!"
sh /home/user/MyDocs/script.sh
The Following 4 Users Say Thank You to coderus For This Useful Post: | ||
![]() |
2013-11-21
, 16:26
|
Posts: 637 |
Thanked: 445 times |
Joined on Dec 2009
@ Kaliningrad, Russia
|
#9
|
![]() |
2013-11-21
, 16:45
|
|
Posts: 645 |
Thanked: 519 times |
Joined on Apr 2012
@ Finland
|
#10
|
#!/bin/sh if [ $# -ne 1 ] then echo "Usage: $0 command" exit 1 fi echo rootme | devel-su -c "$1"
The Following User Says Thank You to Mikkosssss For This Useful Post: | ||
Looks like there is no easy noob-way to make a shortcut on the desktop on the Harmattan device as it is on n900.
Like:
1. insert a command to run application or command like "ping"
2. insert a way to icon
3. put some line to write a geek words or commands
4. ????
5. PROFIT
Anybody here to handle this? Any one? Please?
Last edited by Kroll; 2013-11-23 at 18:50.