PCP - Puppy Control Panel(s)
Posted: Sat 07 Mar 2009, 03:22
Update: used gtkdialog3 and xdialog to produce the attached script and screenshot
READ-ONLY Archive
https://oldforum.puppylinux.com/
MU may have more appropriate examplestechnosaurus wrote:Lobster - any gtkdialog3 examples?
Code: Select all
#! /bin/bash
# YinYana Alter Program GPL v3 License
# YAP v 1.8 March 21 008
# created by Lobster for Tmxxine Vision and Sentient Beings Everywhere
# With thanks to Barry Kauler, Team Puppy, Mark Ulrich, mcewanw, Warren
#########
cd /mnt/home/pets/
export Vision='
<window title="YAP" window-position="1">
<vbox>
<menubar>
<menu>
<menuitem>
<label>Cyberspace Blessing 1</label>
<action>wavplay sound/cyberspace_1.wav &</action>
</menuitem>
<menuitem>
<label>Cyberspace Blessing 2</label>
<action>wavplay sound/cyberspace_2.wav &</action>
</menuitem>
<menuitem>
<label>Bell</label>
<action>wavplay sound/tinsha.wav &</action>
</menuitem>
<menuitem>
<label>Gong Burmese</label>
<action>wavplay sound/gong-burmese.wav &</action>
</menuitem>
<menuitem>
<label>Gong Chinese</label>
<action>wavplay sound/gong-chinese.wav &</action>
</menuitem>
<menuitem stock="gtk-quit">
<action>echo You selected the quit menu item</action>
<action type="exit">exit by menu</action>
</menuitem>
<label>Sounds</label>
</menu>
<menu>
<menuitem>
<action>`Xdialog --wrap --screencenter --left --title "5 Element Meditation" --msgbox "This will start a simple twenty five minute elemental meditation suitable for universal usage. It is a simple technique. Only regular use will develop mind skills. Used for centuries as an esoteric warrior meditation, it is particulary suited to balance energies and focus and harmonise ones internal component elements. Keep your back straight and your mind attentive. \n\n OM YA HA HUM" 600x0`</action>
<action>defaultbrowser file://`pwd`/videos/elements.swf &</action>
<label>Elemental meditation</label>
<action>exit</action>
</menuitem>
<menuitem>
<action>defaultbrowser file://`pwd`/videos/mudra.swf &</action>
<label>Mudra meditation</label>
<action>exit</action>
</menuitem>
<menuitem>
<label>Vajrasattva</label>
<action>`Xdialog --wrap --screencenter --left --title "Vajra" --msgbox "Vajrasattva. vajrasattva samayam anup
It may be a stupid question but what are the "?" marks for ... help? May I suggest you do away with all the separate help buttons and have a single help button that points at a linked help page or index. It would simplify the whole look of the panel, IMHO. Just a thought.technosaurus wrote:Anyhow I finished it and got all except PSIP...[snip]...
Edit - removed Pwidgets since it is easily accessible from the Pwidgets dock on the desktop... replaced with PSIP
Most of the linked to programs/wizards have help / explanationstechnosaurus wrote:They are just help dialogs that give a brief description of the program...
A separate help window would probably be good. I set it up for the impatient, yet slow reader types like myself.
Code: Select all
<menubar>
<menu>
<menuitem>
<label>PSIP</label>
<action>leafpad setupPSIP.txt &</action>
</menuitem>
<menuitem>
David McClamrock (pa_mcclamrock) has almost finished Remaster Express (RemaX) and I've suggested to him that you might appreciate some assistance with this part of your project.technosaurus wrote:I initially wanted to put the help as a mouse-over, but couldn't find anything in puppy that could do it... thus the "?" help... if someone knows how to get mouse-over to work I would do it that way... anyone???
I'll take a look at David's code to see what I can see for mouse overWhoDo wrote: My suggestions are:
- Add Firewall Configuration - part of net setup
- Drop the Browser about:plugins page - planned to already
- Add Chooselocale - part of Country
- Add Set Timezone - part of Country
- Add set clock - part of Country
- Remove Gwhere (too obscure for newbies) - planned to already
- Remove Gparted (not a newbie option) - still think it should be there
- Change SAMBA to Windows LAN or similar - changing to WinLAN
- Change Netsetup to NetConnect - Changing to Net (has more than just connection or setup options)
- Plugging seems "obscure" - thought it was more intuitive than eventmanager - other suggestions???
How about "Hotplug"? I dunno, even that seems pretty obscure to me, but it seems a tad less so than "plugging".technosaurus wrote:I'll take a look at David's code to see what I can see for mouse overWhoDo wrote:
- Plugging seems "obscure" - thought it was more intuitive than eventmanager - other suggestions???