How to make a .desktop file that opens Pupdial?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

How to make a .desktop file that opens Pupdial?

#1 Post by Smithy »

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.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

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: Select all

#!/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
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#3 Post by nic007 »

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: Select all

#!/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

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#4 Post by Smithy »

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.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#5 Post by 666philb »

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
Last edited by 666philb on Tue 21 May 2013, 16:12, edited 1 time in total.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#6 Post by 666philb »

hi nic007,

i'm sure it's possible but i don't know how to do it :)
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#7 Post by Smithy »

Ok will try that phil666b, I think the penny is starting to drop...

Post Reply