![]() |
[Solution] Create shortcut Harmattan
Hello maemers!
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? |
Re: [Request] Shortcut creator Harmattan
You can do it manually by making following text file:
Code:
[Desktop Entry] Then place it to /home/user/.local/share/applications |
Re: [Request] Shortcut creator Harmattan
Yes, this is what I was talking about! There is no noob way :)
Anyway, thanks, Mikkosssss. |
Re: [Request] Shortcut creator Harmattan
Quote:
|
Re: [Request] Shortcut creator Harmattan
Using scripts.
Code:
Exec=/home/user/execroot.sh /home/user/yourscript.sh Heres code for it: Code:
#!/bin/sh Code:
#!/bin/sh Code:
chmod +x /home/user/yourscript.sh Edit: Also scripts wont work In MyDocs-> So place them in /home/user/ |
Re: [Request] Shortcut creator Harmattan
you can launch script everywhere.
Code:
sh /home/user/MyDocs/shell-script.sh |
Re: [Request] Shortcut creator Harmattan
Even if its FAT32?
|
Re: [Request] Shortcut creator Harmattan
you dont understand. you not need to set executable to script. you can execute shell, or perl, or python, whatever with option reading and executing script command from file. its same what operating system does when executing your script file if it have executable flag and shebang line (#!/bin/sh i.e.).
for example: you have /home/user/MyDocs/script.sh Code:
#!/bin/sh Code:
sh /home/user/MyDocs/script.sh |
Re: [Request] Shortcut creator Harmattan
1 Attachment(s)
Are u sure that execroot.sh script is correct?
|
Re: [Request] Shortcut creator Harmattan
Quote:
But heres my that works everyday... Code:
#!/bin/sh |
All times are GMT. The time now is 23:09. |
vBulletin® Version 3.8.8