pupX, GUI for xset

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

pupX, GUI for xset

#1 Post by BarryK »

The venerable Gxset crashes in Dingo, so leaving it out has left a gap. I could not find any suitable replacement.

So tonight I knocked something together and named it 'pupX'. Attached. See if it has any bugs.

I intend to put this into 4.00final.
Attachments
pupx.gz
(2.24 KiB) Downloaded 1183 times
[url]https://bkhome.org/news/[/url]

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

Pxset

#2 Post by GrumpyWolfe »

Hi Berry

I was trying and was about to convert my to the gtkdialog3 but having to learn the code. I was trying to help
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

Re: Pxset

#3 Post by BarryK »

GrumpyWolfe wrote:Hi Berry

I was trying and was about to convert my to the gtkdialog3 but having to learn the code. I was trying to help
Yes, much appreciated. I've had a couple of years using gtkdialog3, so can knock something up using it in a jiffy. You are on the learning curve, and your efforts are appreciated -- before you know it, you'll be another zigbert, knocking out superb gtkdialog3-based apps. We all have to start at the beginning -- back in 2003 I was putting together quite pathetic little Bash/Ash scripts, and if ever I come across some of my original code, I mutter, "tch tch".
[url]https://bkhome.org/news/[/url]

User avatar
GrumpyWolfe
Posts: 496
Joined: Mon 27 Nov 2006, 01:12
Contact:

#4 Post by GrumpyWolfe »

Hi Berry did you look at what I did do it was done in xdialog before I found the gtkdialog. It does work I am using it now.
Live and Let Live

Acer Aspire One N450 1.66GHz

[url=http://sourceforge.net/projects/mywolfe/]MyWolfe at Sourceforge[/url]
[url=http://mywolfe.blogspot.com/]MyWolfe Blog[/url]
[url=http://groups.google.com/group/mywolfe-linux]MyWolfe Groups[/url]

User avatar
floborg
Posts: 199
Joined: Thu 25 Oct 2007, 12:12
Location: Fort Worth, TX

#5 Post by floborg »

I started it up just to take a look. I made no changes and selected the exit w/o save option. After the app exited, my mouse was moving a whole lot slower. I noticed that my xset file was bold in the ROX window. This was a file I manually copied over from a 3.01 pup_save.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

GrumpyWolfe,
I tried your first release only.

Floborg,
Ok, I'll take another look at it. It is supposed to read the current setting when it starts, so that needs checking.

Yes, I think there is a bug on exit, if you clicked the 'no save' button. Right I'll fix that too.
[url]https://bkhome.org/news/[/url]

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#7 Post by Nathan F »

Quite good for it's purpose. I couldn't resist fiddling with it though. I'm uploading an altered version and a patch file so you can easily see my changes if you care to look. All this does is disable the entries for keyboard auto repeat, if the checkbox is off, and the same for screensaver functions if that checkbox is off. Seems to me this will make sense to the user. Why allow them to set something that will not have any effect, you know.

Oh, and I experienced the same bug with the slow mouse the first time I ran it. Seems it set a very slow default on the first run, but got it right every time after that. Wierd.

Nathan
Attachments
pupx_disable_entries.patch.gz
(857 Bytes) Downloaded 1117 times
pupx.new.gz
(2.36 KiB) Downloaded 1082 times
Bring on the locusts ...

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#8 Post by BarryK »

I fixed a couple of bugs, that problem with the mouse acceleration on first shutdown, and the 'exit, no save' button was actually doing a save.

Nathan, I have just now downloaded what you posted, will take a look.
Attachments
pupx.gz
(2.27 KiB) Downloaded 1155 times
[url]https://bkhome.org/news/[/url]

Joshas
Posts: 26
Joined: Mon 21 Jan 2008, 13:59

#9 Post by Joshas »

How about adding a panel for X global font size settings to pupX?

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#10 Post by Nathan F »

Hi Barry (and everyone else),

I took the liberty of doing some more hacking on pupx, adding support for multi-user systems, nls language support, button icons, and a fix for the problem with execution from .Xinitrc.

The package pupx-0.2 contains the pupx program, .desktop file modified with nls translations, and the english translation file. The pupx_nls-0.2 package includes extra translations for dutch, french, german, italian, norwegian (bookmal), russian, and spanish. Accuracy is not gauranteed because I did these myself using google translate and my own (scanty) knowledge. Anyone who would like to supply something more accurate please feel free.

The patch file contains all of my changes to the pupx program itself, from the last code Barry posted in this thread to my present working copy.

Nathan

PS - I like the idea of controlling X fonts from this program. It should be looked into, maybe I will find some extra time for such an endeavor.
Attachments
pupx-0.2.pet
(4.02 KiB) Downloaded 1100 times
pupx_nls-0.2.pet
(4.2 KiB) Downloaded 1063 times
pupx_multi+nls.patch.gz
(2.57 KiB) Downloaded 1170 times
Bring on the locusts ...

Post Reply