GtkDialog - tips
Works for me
Thanks Sigmund
(by the way, there is no "woof" repo per sé ... as in the building blocks of woof, you'd need to actually download woof.. but what you did I think is close enough . The screeny is of the current spup, it's from woof December 22, I'll update next week)
Thanks Sigmund
(by the way, there is no "woof" repo per sé ... as in the building blocks of woof, you'd need to actually download woof.. but what you did I think is close enough . The screeny is of the current spup, it's from woof December 22, I'll update next week)
- Attachments
-
- ziggy_ppm.png
- (162.03 KiB) Downloaded 3217 times
Puppy Linux Blog - contact me for access
Thanks for this Zigbert!
Installed and works fine.
I'll keep a copy on HD, to add to any new puppy I install.
(yes, I like your second version better)
Installed and works fine.
I'll keep a copy on HD, to add to any new puppy I install.
(yes, I like your second version better)
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
We will get two versions of ppm in woof builds - ziggy (this one) and classic according to Barry
http://bkhome.org/blog/?viewDetailed=02092
Excellent.
Recently using Spup with the new PPM, I was struck with how much better it was.
I wonder if Ziggy can integrate or become closer to quickpet, or maybe even call it if available? Perhaps with an aps button?
Did you know PET stands for Puppy Extra Treats?
http://www.puppylinux.com/download/release-2.14.htm
Puppy
Linux gone Ziggy
http://bkhome.org/blog/?viewDetailed=02092
Excellent.
Recently using Spup with the new PPM, I was struck with how much better it was.
I wonder if Ziggy can integrate or become closer to quickpet, or maybe even call it if available? Perhaps with an aps button?
Did you know PET stands for Puppy Extra Treats?
http://www.puppylinux.com/download/release-2.14.htm
Puppy
Linux gone Ziggy
Not working as it should in Quirky120NOP
I tried this in Quirky 120 NOP, the first version doesn't work at all, the second one works, but when different category's are selected it don't refresh the package list until any of the package types are either deselected or selected again, everything else works fine
I do not see a window in the example screen that shows the installed Pet packages.
I often refer to it to see what I have installed and also to remove packages that I installed without using the PPM.
So does it include a window showing installed packages?
Never Mind! I really should have used it before bringing up my question.
After using it, I found out how and now I feel like a real nobe.
I often refer to it to see what I have installed and also to remove packages that I installed without using the PPM.
So does it include a window showing installed packages?
Never Mind! I really should have used it before bringing up my question.
After using it, I found out how and now I feel like a real nobe.
How to assign values to notebook tabs
While experimenting with different keyboard layouts
( starting with assigning keys to /etc/inputrc for the different terminals ( rxvt, urxvt, sakura ))
I stumbled over the xkbconfigmanager dy Dougal which is working very well so far,
but it has no feature to create additional
Identifier "Keyboard[0-9]"
than
Identifier "Keyboard0"
( /etc/X11/xorg.conf )
or handle more than this one Keyboard0 .
I managed to add tabs see shot but i don't know how to add variables when pressing a <notebook labels=\"$LABELS\">
like
if pressed notebook label X ; then KB=X; fi
or
[ "$LABELY" ] && KB=Y
( starting with assigning keys to /etc/inputrc for the different terminals ( rxvt, urxvt, sakura ))
I stumbled over the xkbconfigmanager dy Dougal which is working very well so far,
but it has no feature to create additional
Identifier "Keyboard[0-9]"
than
Identifier "Keyboard0"
( /etc/X11/xorg.conf )
or handle more than this one Keyboard0 .
I managed to add tabs see shot but i don't know how to add variables when pressing a <notebook labels=\"$LABELS\">
like
if pressed notebook label X ; then KB=X; fi
or
[ "$LABELY" ] && KB=Y
- Attachments
-
- xkbconfigmanager.snapshot01.jpg
- (154.7 KiB) Downloaded 777 times
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
This link was posted in additional software, for slim (desktop login tool) ... it uses gtkdialog (note: script is missing puppy's "3" suffix)
http://dev.unity-linux.org/projects/uni ... lim_config
The thread is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=63142
http://dev.unity-linux.org/projects/uni ... lim_config
The thread is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=63142
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Hi guys,
I just wanted to confirm: as far as we know it is not possible with gtkdialog to create a program which does something with text as you enter it into a text entry box. Is that correct?
Does anyone know of anything similar to gtkdialog (something that is used to build a gui for a shell script) that this is possible with?
I just wanted to confirm: as far as we know it is not possible with gtkdialog to create a program which does something with text as you enter it into a text entry box. Is that correct?
Does anyone know of anything similar to gtkdialog (something that is used to build a gui for a shell script) that this is possible with?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
disciple,disciple wrote:gtkdialog to create a program which does something with text as you enter it into a text entry box. Is that correct?
You might use this coding-
Code: Select all
<action signal="key-press-event">
Cheers,
s
Pmusic uses this technique to search while typingdisciple,
You might use this coding-so that anything keyed into a text box would be tied to an action event every time a key was pressed.Code: Select all
<action signal="key-press-event">
Cheers,
s
Code: Select all
<entry activates-default=\"true\" tooltip-text=\"$LOC406\" is-focus=\"true\">
<variable>SEARCH</variable>
<input>cat $WORKDIR/filebrowser_dir</input>
<width>200</width><height>30</height>
<action signal=\"key-release-event\">$APPDIR/func -search &</action>
</entry>
Sigmund
Yes, that's what I wanted. Thanks.Pmusic uses this technique to search while typingdisciple,
You might use this coding-so that anything keyed into a text box would be tied to an action event every time a key was pressed.Code: Select all
<action signal="key-press-event">
Cheers,
s
I don't quite understand what you're saying there. I guess if it affects me I'll notice itYou might miss a 'refresh' command, but this is done via a <progressbar>Code: Select all
<entry activates-default=\"true\" tooltip-text=\"$LOC406\" is-focus=\"true\"> <variable>SEARCH</variable> <input>cat $WORKDIR/filebrowser_dir</input> <width>200</width><height>30</height> <action signal=\"key-release-event\">$APPDIR/func -search &</action> </entry>
Another thing:
Again I don't think this is possible, but maybe I'm wrong: can we make it perform an action when something is dragged into the <entry> widget? (This is not essential for the program I want to make, but it would be nice )Drag'n drop
>> Gtkdialog supports drag'n drop from filebrowser (rox) to <entry> widget.Code: Select all
export test=" <entry accept=\"directory\" width-request=\"300\"> <default>Drag a directory from Rox</default> </entry>" gtkdialog3 -p test
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
gtk-stock button images
Does anyone know where to get a complete list of gtk-stock button image names for use in gtkdialog3? I once had a list but can't remember where I found it.
EDIT: Okay, the following list gave me what I wanted:
http://gtk.php.net/manual/en/gtk.enum.stockitems.php
EDIT: Okay, the following list gave me what I wanted:
http://gtk.php.net/manual/en/gtk.enum.stockitems.php
github mcewanw
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
Re: gtk-stock button images
One of the gtkdialog example scripts also shows all of them.mcewanw wrote:Does anyone know where to get a complete list of gtk-stock button image names for use in gtkdialog3? I once had a list but can't remember where I found it.
EDIT: Okay, the following list gave me what I wanted:
http://gtk.php.net/manual/en/gtk.enum.stockitems.php
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Re: gtk-stock button images
I posted a gtkdialog example that shows them with the name in a tooltip ... several pages back.mcewanw wrote:Does anyone know where to get a complete list of gtk-stock button image names for use in gtkdialog3? I once had a list but can't remember where I found it.
EDIT: Okay, the following list gave me what I wanted:
http://gtk.php.net/manual/en/gtk.enum.stockitems.php
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- Moose On The Loose
- Posts: 965
- Joined: Thu 24 Feb 2011, 14:54
Re: GtkDialog - tips
There is a silly little bug in the current version. I saw some indication that others may be working on an improved version so I figured I would tell anyone in that situation about it so that the correction can be in the next version.zigbert wrote:GtkDialog
GtkDialog lets your bash script run in gui.
Here's some tips for learning more about gtkdialog.
This info is based on input from many people. I'm trying to throw it all together. Please share your knowledge.
Patriot has released his Patriot-edition of the latest gtkdialog. - See chapter 'Gtkdialog - Patriot edition'.
gtkdialog won't take its input from stdin. The copy of main.c here shows where the error is. Search for "Moose:" to see the change.
- Attachments
-
- main.zip
- (3.64 KiB) Downloaded 560 times
Re: GtkDialog - tips
http://www.murga-linux.com/puppy/viewto ... 732#143732zigbert wrote: 11.) Useful Puppy scripts - Others might have invented the wheel for you
--> Tailbox
--> Program chooser
--> Alternative browser widget
--> Audio player
--> Volume level
--> File finder
. . .
Sigmund, some of your tutorial example download links seem to be dead. Some, because puppyasia repository is now gone, but your Stardust resources page also has dead download links. For example, the following example code downloads, amongst others listed there, are not available:zigbert wrote:Here is the collection of ziggys fresh meat.
A minimalistic way of coding and a tribute to bash and gtkdialog.
Do you want to learn more about gtkdialog, check this.
Thanks to russoodle for hosting my code
Sigmund Berglund
. . .
GtkDialog widgets
More info | Download | External menus (1 kb) Allow right-click menus in gtkdialog
More info | Download | Audio player (1 kb) Supports most common audioformats like mp3, ogg, wav, ...
More info | Download | Browser (1 kb) Alternative to the builtin browser widget
More info | Download | Tail box (1 kb) Gtkdialog misses a tailbox widget
More info | Download | Vertical slider (1 kb) Volume level
gtkdialog_widget_browser.tar.gz
gtkdialog_widget_tailbox.tar.gz