![]() |
2011-05-17
, 20:51
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#2
|
Code:[Desktop Entry] Encoding=UTF-8 Icon=cimb Type=Link URL[$e]=http://www.mobile.cimbclicks.com.my/
[Desktop Entry] Encoding=UTF-8 Icon=cimb Type=Application Exec=/usr/bin/browser\ --url=http://www.mobile.cimbclicks.com.my/
/usr/bin/browser --url=http://www.mobile.cimbclicks.com.my/
Exec=/usr/bin/browser\ --url=http://www.mobile.cimbclicks.com.my/
![]() |
2011-05-18
, 03:25
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#3
|
![]() |
2011-05-18
, 08:18
|
|
Posts: 723 |
Thanked: 519 times |
Joined on Nov 2010
@ Kuching:Malaysia
|
#4
|
The Following User Says Thank You to pusak gaoq For This Useful Post: | ||
![]() |
2011-05-18
, 09:59
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#5
|
![]() |
2011-05-18
, 10:03
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#6
|
#!/bin/sh
`/usr/bin/browser --url=$1 &`
[Desktop Entry]
Version=1.0
Name=cimb
Type=Application
Comment=Shortcut to some website
Exec=/opt/openwebsite.sh "http://www.google.com"
Icon=cimb
![]() |
2011-05-18
, 10:30
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#7
|
![]() |
2011-05-18
, 10:40
|
Posts: 805 |
Thanked: 1,605 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#8
|
#!/bin/sh `/usr/bin/browser --url=$1 &`
/opt/openwebsite.sh "http://www.google.com
[Desktop Entry] Version=1.0 Name=cimb Type=Application Comment=Shortcut to some website Exec=/opt/openwebsite.sh "http://www.google.com" Icon=cimb
/opt/openwebsite.sh "http://www.google.com"
/opt/openwebsite.sh\ "http://www.google.com"
The Following User Says Thank You to misiak For This Useful Post: | ||
![]() |
2011-05-18
, 10:55
|
|
Posts: 723 |
Thanked: 519 times |
Joined on Nov 2010
@ Kuching:Malaysia
|
#9
|
Thanx Pusak, it worked and I got it on the application menu
Though there's still something wrong with the execution line as u can see from the picture the icon glows once pressed but nothing happens and keeps glowing
The Following User Says Thank You to pusak gaoq For This Useful Post: | ||
![]() |
2011-05-18
, 14:16
|
|
Posts: 168 |
Thanked: 116 times |
Joined on Mar 2011
@ Malaysia
|
#10
|
ok change the url to this....
/usr/bin/browser_dbuscmd.sh load_url http://www.mobile.cimbclicks.com.my/
put the line in the exec on the cimb.desktop....
so what I'm trying to do is to create an icon on the application menu that takes you to a website once it's launched (or to start a flash game in a saved directory). I've been trying this for the past 2 days and used different types of codes and still no use. Here's the latest I've done so far :
[Desktop Entry]
Encoding=UTF-8
Icon=cimb
Type=Link
URL[$e]=http://www.mobile.cimbclicks.com.my/
/home/opt/usr/Share/icons/hicolor/scalable/hildon
Where I named the code file "cimb.desktop" and placed it in:
/usr/share/applications/hildon
This is the first time I make "Link" type of desktop entry. What exactly am I missing?
Thanx in a advance,
p/s: sorry if I posted this thread in the wrong section as I realized it too late.
Last edited by K9999; 2011-05-17 at 20:29.