Author |
Message |
Smithy

Joined: 12 Dec 2011 Posts: 852
|
Posted: Mon 20 May 2013, 09:36 Post subject:
How to make a .desktop file that opens Pupdial? |
|
I found the Internet-Connection-Wizard.desktop file in user/share/applications and managed to put that into a taskbar, but how can I make one that goes direct to PupDial Wv Dial?
And with the telephone icon.
And anyone know where the firewall icon is, can it be changed to another icon?
Thanks for any info on these two queries.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Mon 20 May 2013, 09:53 Post subject:
|
|
hi smithy,
right click in an open window and choose 'new' then 'script' call it pupdial
then open the script as text and type
Code: | #!/bin/sh
exec pupdial |
you can then right click on the script and choose 'set icon' and add any icon you like.... i usually just use google image search to find a nice .png icon.
i think the firewall icons are in /usr/local/lib/X11/mini-icons
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
nic007

Joined: 13 Nov 2011 Posts: 2324 Location: Cradle of Humankind
|
Posted: Mon 20 May 2013, 10:59 Post subject:
|
|
666philb wrote: | hi smithy,
right click in an open window and choose 'new' then 'script' call it pupdial
then open the script as text and type
Code: | #!/bin/sh
exec pupdial |
you can then right click on the script and choose 'set icon' and add any icon you like.... i usually just use google image search to find a nice .png icon.
i think the firewall icons are in /usr/local/lib/X11/mini-icons |
Hi, 666philb. Whilst on this subject. My connection-short cut on desktop opens pupdial and then I have to click the connection button. Do you have a script that will open pupdial and connect automatically when I click the icon on desktop (in other words - that I do not need to click the connection button in pupdial)? Thanks
|
Back to top
|
|
 |
Smithy

Joined: 12 Dec 2011 Posts: 852
|
Posted: Mon 20 May 2013, 16:33 Post subject:
|
|
hello 666philb, thanks for the tip, but will this make a.desktop file?
I wanted to put it in a taskbar, and it only does a .desktop file.
Cheers, found the firewall icon(s) like you said.
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Tue 21 May 2013, 12:10 Post subject:
|
|
hi smithy,
look in /usr/share/applications and choose a desktop file that appears in the network category.. then open as text and edit it so for example the 'exec' line says pupdial... and the 'icon' line has /path/to/icon.png ...etc then save as pupdial.desktop.. or what ever
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Last edited by 666philb on Tue 21 May 2013, 12:12; edited 1 time in total
|
Back to top
|
|
 |
666philb

Joined: 07 Feb 2010 Posts: 3171 Location: wales
|
Posted: Tue 21 May 2013, 12:12 Post subject:
|
|
hi nic007,
i'm sure it's possible but i don't know how to do it
_________________ Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
|
Back to top
|
|
 |
Smithy

Joined: 12 Dec 2011 Posts: 852
|
Posted: Tue 21 May 2013, 16:00 Post subject:
|
|
Ok will try that phil666b, I think the penny is starting to drop...
|
Back to top
|
|
 |
|