Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Programming Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Programming Talk
This forum is for all programming questions.
The questions do not have to be directly related to Ubuntu and any programming language is allowed.

 
Thread Tools Display Modes
Old April 6th, 2006   #1
dee.dw
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 85
Lightbulb xorg-edit: GUI for editing xorg.conf

Hello,

because there were several biddings about a better way to edit the xorg.conf in the German Ubuntu Forum (Link) I write a little GUI to edit the xorg.conf.

- Project Page

- Download-Page

- Repository for Deb Package

Greetings, Dee
I use wxWidgets to create the GUI, so you need libwxgtk2.6-0 to start it.

I would be very happy if there is someone who would like to test it and post his opinion.

Greetings, Dee
Attached Images
File Type: png xorg-edit_en.png (18.7 KB, 1315 views)

Last edited by dee.dw; June 29th, 2007 at 03:19 PM..
dee.dw is offline   Reply With Quote
Old April 6th, 2006   #2
oldmanstan
Way Too Much Ubuntu
 
oldmanstan's Avatar
 
Join Date: Oct 2005
Location: USA
Beans: 308
Ubuntu 8.10 Intrepid Ibex
Send a message via AIM to oldmanstan
Re: xorg-edit: GUI for editing xorg.conf

that looks pretty sweet!
__________________
what happened? where am i?
http://www.wellactually.net/code
oldmanstan is offline   Reply With Quote
Old April 6th, 2006   #3
dabear
Quad Shot of Ubuntu
 
Join Date: May 2005
My beans are hidden!
Send a message via MSN to dabear
Re: xorg-edit: GUI for editing xorg.conf

Dapper user here, what are the dependencies? There's a wxwidgets dependency I can' figure out,
Quote:
bjorninge@LappyDapper:~/Desktop$ ./xorg-edit
./xorg-edit: error while loading shared libraries: libwx_gtk-2.4.so.1: cannot open shared object file: No such file or directory
bjorninge@LappyDapper:~/Desktop$
dabear is offline   Reply With Quote
Old April 7th, 2006   #4
dee.dw
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 85
Re: xorg-edit: GUI for editing xorg.conf

@oldmanstan: Thanks!

Quote:
Originally Posted by dabear
Dapper user here, what are the dependencies? There's a wxwidgets dependency I can' figure out,
Do you have libwxgtk2.4-1 installed? If so, check if there is some file /usr/lib/libwx_gtk-2.4.so.1.

Greetings, Dee
dee.dw is offline   Reply With Quote
Old April 11th, 2006   #5
dee.dw
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 85
Re: xorg-edit: GUI for editing xorg.conf

So, there is a new version and I use wx2.6 now. So you need libwxgtk-2.6-0.

Greetings, Dee
dee.dw is offline   Reply With Quote
Old April 11th, 2006   #6
adamkane
100% Pure Ubuntu
 
adamkane's Avatar
 
Join Date: Mar 2006
Location: Toronto, Canada
Beans: 859
Send a message via MSN to adamkane Send a message via Yahoo to adamkane Send a message via Skype™ to adamkane
Re: xorg-edit: GUI for editing xorg.conf

Thank you for the valuable work.

I use an ATI Radeon 7200. I had PageFlip enabled, and had to manually disable it to load xorg-edit.

Quote:
Option "EnablePageFlip" "true
I would like to see some configuration options or basic help menus.
adamkane is offline   Reply With Quote
Old April 11th, 2006   #7
dee.dw
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 85
Re: xorg-edit: GUI for editing xorg.conf

Quote:
Originally Posted by adamkane
Thank you for the valuable work.
I use an ATI Radeon 7200. I had PageFlip enabled, and had to manually disable it to load xorg-edit.
Is the option line correct that you have posted? If so, there is a " missing at the end. My tool don't recognize the options itself but they must be in the format
Code:
Option "name" "value"
or only
Code:
Option "name"
If the error still exists, please post (or mail me) your xorg.conf, so that can I take a look at this.

Quote:
I would like to see some configuration options or basic help menus.
This is the next step! I want to create some XML-files where all options and possible values are listed so taht the user can select from a drop down list and can do nothing wrong while editing.

Thanks for testing,
Dee
dee.dw is offline   Reply With Quote
Old April 16th, 2006   #8
motin
Skinny Soy Caramel Ubuntu
 
Join Date: Mar 2006
Location: Stockholm, Sweden
Beans: 683
Ubuntu Studio Karmic Koala (testing)
Re: xorg-edit: GUI for editing xorg.conf

Quote:
Originally Posted by dee.dw
Hello,

because there were several biddings about a better way to edit the xorg.conf in the German Ubuntu Forum (Link) I write a little GUI to edit the xorg.conf.

- Project Page

I use wxWidgets to create the GUI, so you need libwxgtk2.6-0 to start it.

I would be very happy if there is someone who would like to test it and post his opinion.

Greetings, Dee
Wonderful!

I will NEVER go back to edit xorg.conf manually again (if I screw something up, I'll probably restore the backup and start gnome again).

Could you get this into the debian repositories and eventually part of the tools under System -> Administration in Gnome? Definitely belongs there, under "Advanced graphics options" or similar.

Suggestions:
- Auto-backup of xorg.conf when starting app (in ~/.xorg-edit/backups/ or similar)
- Possibility to choose enabled/disabled for an option
- Some general info about configuring X, like that sudo dpkg-reconfigure -phigh xserver-xorg will rebuild it if something screws up

This is certainly THE step for debian users to be able to skip the tedious manual xorg.conf-editing. Hopefully, the auto-configure done at installation will be enough for most people, thus never have to edit xorg.conf with this app, but whenever xgl, tv-out and dual monitor support is not enabled by default, this app helps a lot!

Thanks!
motin is offline   Reply With Quote
Old April 16th, 2006   #9
motin
Skinny Soy Caramel Ubuntu
 
Join Date: Mar 2006
Location: Stockholm, Sweden
Beans: 683
Ubuntu Studio Karmic Koala (testing)
Re: xorg-edit: GUI for editing xorg.conf

You might want to look at http://www.ubuntuforums.org/showthread.php?p=926906, a thread where your tool is discussed amongst other things.
motin is offline   Reply With Quote
Old April 16th, 2006   #10
dee.dw
A Carafe of Ubuntu
 
Join Date: Feb 2006
Beans: 85
Re: xorg-edit: GUI for editing xorg.conf

New version...

v06.04.16:
- Bugfix: many, many... most are gone with the old design
- Bugfix: save status flag is set when adding or deleting elements
- Design: redesign of elements, less buttons
- Design: current config file name is shown in frame bar
- Feature: backup files will be saved with date and time
- Feature: new menu entrys for closing current config and creating empty config file
- Feature: maximum of screens and input devices in server layout are recognized by available devices
- Feature: question if some entries should be deleted
- Internal: deleted menu entry for load backup file and load standard xorg.conf
- Internal: more integrity checks (e.g. empty fields)
- Internal: disable some integrity checks while reading config file,
so it is possible to load a misconfigured file and "repair" it

Greetings, Dee
dee.dw is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:06 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry