You are not logged in.

#1 2005-12-01 04:46:29

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Python dev for ArchWD-editor

I am looking for someone who has time and interest to complete the development of ArchWD-editor. The layout is ready (wxPython). Need to get the push bottons to work.
http://user-contributions.org/projects/ … editor.jpg

I took a look at Magnum, but Python doesn't match my "bash" brain. smile

Source file:
http://user-contributions.org/projects/archwd/tmp/

Offline

#2 2005-12-01 05:08:01

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Python dev for ArchWD-editor

rasat wrote:

I took a look at Magnum, but Python doesn't match my "bash" brain. smile

Penguin just rewrote aurbuild from bash to python... he'll tell you what's easier smile

I'd offer, but I really don't have time and I'd rather work on magnum at this time, sorry. sad

Dusty

Offline

#3 2005-12-02 15:47:32

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: Python dev for ArchWD-editor

what do you want the buttons to do?

Offline

#4 2005-12-02 20:30:42

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Open --> file browser to view a text file in left side box (open source file here)
Copy --> "Ctrl+c"
Paste --> "Ctrl+v"
Cut --> "Ctrl+x"
Exit (already is working)

Tab Rc.d --> editor (location $HOME/.fvwm/archwd-user/etc/rc.d)
New --> fresh file
Open --> file browser to load a file from ~/rc.d
Save --> save edited file in ~/rc.d
Save as --> save edited file with new name in ~/rc.d

Tab Rc.m (location $HOME/.fvwm/archwd-user/etc/rc.m)
Tab Rc.s (location $HOME/.fvwm/archwd-user/etc/rc.s)
Tab Conf.d (location $HOME/.fvwm/archwd-user/etc/conf.d)

Offline

#5 2005-12-04 11:32:47

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Python dev for ArchWD-editor

rasat: http://www.gtk-server.org/index.html

gtk for bash, now go have fun.

please dont use wx. it's big and it's always been buggy for me. use pygtk (so many good tutorials and documentation) or aforementioned gtk-server thingy.

Offline

#6 2005-12-04 21:26:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Python dev for ArchWD-editor

iphitus wrote:

rasat: http://www.gtk-server.org/index.html

gtk for bash, now go have fun.

rasat: If you want to use gtk-server, it's in AUR: http://aur.archlinux.org/packages.php?d … =1&ID=1899

Offline

#7 2005-12-05 00:05:18

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Thanks, thought asking how to go about.
What I liked with wxPython and Prima, both has a gui tool to develop a starting layout with widgets In gtk is there a such tool?

Offline

#8 2005-12-05 00:07:40

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: Python dev for ArchWD-editor

glade-2 is the tool you want. If you go with pygtk, I can code the functions up for you, it wouldn't be that hard.

Offline

#9 2005-12-05 00:13:37

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Minimum requirement, there has to be an official Arch package, not AUR. Does pygtk?

Offline

#10 2005-12-05 00:56:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Python dev for ArchWD-editor

pygtk is in repos, as is glade. Theres plenty of documentation on the web, and I am more than happy to answer questions or give you an introduction on irc or messenger.

iphitus

Offline

#11 2005-12-09 02:07:26

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Python dev for ArchWD-editor

rasat you're hilarious man big_smile
there's no need for writing your own editor. what if all projects did that??? then most coding time should be used on the same thing.


arch + gentoo + initng + python = enlisy

Offline

#12 2005-12-09 03:30:25

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

I see your point smile, but ArchWD Editor is more than an editor, a  tool to develop configs. I am planning also to generate packages.
What it does, user can extract (copy) selected features and functions from existing big size FVWM configs. A function is divided in two or three sections. The tabs represent the sections. Once ready, the sections are compiled to a package (tarball).

Whatah is working on it. The draft looks good.
http://bingweb.binghamton.edu/~nzohar1/ … editor.png

ArchWD-FVWM User Packages:
http://user-contributions.org/projects/ … chwd-fvwm/

Offline

#13 2005-12-09 03:51:13

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Python dev for ArchWD-editor

hmm, well, then it makes more sense. and it looks pretty good too. big_smile even though it looks like much work for little gain tongue


arch + gentoo + initng + python = enlisy

Offline

#14 2005-12-09 04:11:57

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Little gain??
The idea just didn't come from the "sky" but when developing the packages you can find in the link (ArchWD-FVWM User Packages) edited in my previous post. wink But, we will only know once tested.

Offline

#15 2005-12-09 05:16:08

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Python dev for ArchWD-editor

xerxes2 wrote:

hmm, well, then it makes more sense.

Not really. The whole unix philosophy is small tools seamlessly working together, not giant kludges trying to do everything. Would be better to import the data from a text file edited separately, in my KISS opinion.... ;-)

Dusty

Offline

#16 2005-12-09 05:35:07

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Dusty, you are suggesting to keep the editing and packaging as separate tools? I agree.

Offline

#17 2005-12-09 16:29:38

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Python dev for ArchWD-editor

I'm suggesting allowing people to use their favourite editor rather than constricting them to a broken hack built in.

Think of web browsers. Does no-body else hate the fact that when they use their shortcut keys in this text-entry box that it doesn't work? What about the vim lovers?  Would make sense to use an external editor *component* as the web browser text editor.

Dusty

Offline

#18 2005-12-09 17:14:54

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

I have no idea what you are talking about ... broken hack built in... what??? Who and what is restricting the vim lovers?? Did you post in the wrong thread. smile

Offline

#19 2005-12-09 17:47:00

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#20 2005-12-10 09:35:19

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,176
Website

Re: Python dev for ArchWD-editor

Dusty wrote:

Nope.

I will not call it "ArchWD Editor" but "Config Manager" or something similar as long as not using the word "editor".  :idea:

Offline

Board footer

Powered by FluxBB