topic title: Config scripts

Which style do you prefer?

radio-button (zenity)
0
No votes
icons (gtkdialog)
13
100%
 
Total votes: 13
 
Posts: 1,081
OU812
Joined: 29 Sep 2007
#16
Almost finished. Here is what I have so far. I am considering integrating the user and admin dialogs into one interface - so the first tab will be something like"Desktop". Except for that, the code is nearly complete. Hopefully, the most it will need is minor tweaking. Enjoy and please provide feedback - such as do you like the frame around the icon set, other options, etc. (BTW the system files I included are sources.list, xorg.conf, fstab, and slim.conf)

Image

john
Posts: 452
Jerry
Joined: 12 Sep 2007
#17
Well that's sharp, John--terrific work!

Side note: I have repeatedly tried to get Warren to add contextual help buttons to his Assistants, and wonder if there might be a role here as well. The coding side would be easy, seems to me: it would involve adding a Help button to a screen or screen segment that would simply call up a little text file. I would be very willing to help with the text side if you and anti think it would be worth trying--maybe run a pilot on the wireless?
Posts: 1,081
OU812
Joined: 29 Sep 2007
#18
Yes! Thanks Jerry. You're right the coding would be easy

leafpad /path/file

I like that idea.

john

Early morning grogginess - can't focus.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#19
Here it is - an integrated control center. The code is clean. I just need to figure out how to set a window icon for icewm, ob, et al and getting the window to open centered. Also, any minor tweaks or possibly the addition or removal of tasks. Please enjoy.

Image

john

I don't have the fb icon on this computer; otherwise, it would look a little better.
Last edited by OU812 on 11 Jun 2008, 17:42, edited 1 time in total.
Posts: 452
Jerry
Joined: 12 Sep 2007
#20
Looking good!

I can't quite see the labels, but it is customary for them all to have"parallel construction"--i.e., all start with a verb, just be a noun, etc.

Once I can see them, I will send you any suggestions that occur to me.
Posts: 1,081
OU812
Joined: 29 Sep 2007
#21
So"edit conky" is acceptable but"screen resolution" does not have the"verb?" If this is the case, then you are right - the buttons should be labeled as such to provide built-in"documentation." Once this project is complete or nearly complete, perhaps it could make its way to the wiki? Thanks for the tip!

john
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#22
OU812 wrote:......and getting the window to open centered.....
I'm just looking into gtkdialog but I see if you use the -c option it will be centered on the screen,

Code: Select all

#! /usr/bin/gtkdialog -c -e
Could you upload your scripts for a look?
Posts: 1,081
OU812
Joined: 29 Sep 2007
#23
Thanks. I tried that, but it didn't work. I think this works:

<window title="Keyboard Config" icon="configuration_section" window-position="1">

@erie - If you're interested in the code, I can email it to you.

john
Posts: 316
DJiNN
Joined: 26 Oct 2007
#24
That looks really good John, nice work. __{{emoticon}}__

Reminds me of the Zenpanel in Zenwalk, and also the Panel in Wolvix. (Both produced by the same person i'm told). I definitely think this is the kind of thing that will make a users time with antiX even easier & more fun. Top stuff!!
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#25
OU812 wrote:
@erie - If you're interested in the code, I can email it to you.

john
Please do. eriefisher@gmail.com
Posts: 1,081
OU812
Joined: 29 Sep 2007
#26
Anti suggested adding a button to change the login wallpaper. That's a little more difficult than I thought since I can't seem to find a good example on the net. However, I think the tinymecc has something I can use. I'll find out. And I'll be sending the code to erie later today. Between us, we should be able to come up with a solution.

john
Posts: 319
impuwat
Joined: 13 Sep 2007
#27
Very nice work John! Keep it up.

Did notice a typo for"Edit IceWM setings" that you've probably already noticed and fixed.
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#28
Thanks for sending the scripts John, looks good. I have not had any time to really go through them though.

I do have one issue with gtkdialog. As soon as I start your script cpu goes to %100 and stays there even when I close the window. Are you seeing this as well? I wonder if there is some way to kill dialog once the script is closed?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#29
Not here eriefisher.

Make sure you have nitrogen installed, maybe that is causing the problem.

What does htop show?
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#30
I just tried it again and cpu is now %4. Go figure?