473,396 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

suse linux 10 and wx.listctrl display issues

hey,

Having some problems getting wxpython apps to look right on SuSE 10.0
and KDE 3.4.
There are no RPMs that i could find so I built my own from source.
First time using 'default' settings - GTK 2.x and unicode:

rpmbuild -tb --define 'pyver 2.4' --define 'port gtk2' \
--define 'unicode 1' wxPython-src-2.6.2.1.tar.

I can run my apps but they look, well, funky. Mainly the background
color for my wx.listctrl's are unchangeable, and these default to the
same color as the window background, making them hard to see. Also some
widgets are positioned improperly... although i could maybe fix this by
tweaking sizers around.
I had an earlier (prior to HDD crash :( ) debian 3.1 install and
everything was fine, using similar configs... though i'm fairly sure
the KDE version was lower. I tried several different window styles and
themes to no avail. Finally I tried making another set of RPMs, this
time like so:

rpmbuild -tb --define 'pyver 2.4' --define 'port gtk' \
--define 'unicode 0' wxPython-src-2.6.2.1.tar.

(using GTK 1.2, ansi build).. and now my I can see my lists properly
but everything else looks absolutly disgusting !! looks like circa 1990
LOL, besides it's very hard to see anything due to tiny text and oddly
shaped/shaded widgets.

Is there a fix, or at least a step in the right direction for this? I'm
really liking SuSE 10 otherwise -especially YaST - and don't really
want to go back to debian over a wx.listctrl.

Mar 8 '06 #1
3 1423
hum finally did find some SuSE specific RPM's through yast by setting
the media directory to mirros.kernel.org. Cool. But still the same
thing happens...

Mar 8 '06 #2
Put this in your main function before you instantiate your wx.App.

if platform.system() == 'Linux':
try:
del os.environ['GTK_RC_FILES']
del os.environ['GTK2_RC_FILES']
except ValueError:
pass

This is a problem with SuSE, but I do it for all linuxes just in case.

Eric

ianaré wrote:
hum finally did find some SuSE specific RPM's through yast by setting
the media directory to mirros.kernel.org. Cool. But still the same
thing happens...


Mar 10 '06 #3
Well that definitly works, thanks. Is there any way to keep the themes
though?

Mar 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: michael | last post by:
Hi. I am reasonably experienced with Python (and love it!) on Windows. I am a programmer that toils in c++ on Win 32 mostly but just to learn more, I am playing with Suse 9. Linux. Of course...
0
by: Jim Williams | last post by:
I am not able to get MYSQL running on Suse Linux Enterprise Server. I tried stopping with the command mysqld and it reported, "Shtudown Complete." Then when I tried to restart it with the...
2
by: dba_db2 at nospam gmx.net | last post by:
Looking at http://www-306.ibm.com/software/data/db2/linux/validate/ it told us that db2 v8.1 is not validated yet for suse90 professional ed. Do you have any experience regarding the stability...
4
by: Neil Truby | last post by:
we've sold a few suse and redhat solutions with ibm data management software recently (60% margin from ibm on new licences - thanks very much ibm!). we thought about becoming suse partners, in...
0
by: matt | last post by:
Problems with install DB2 V8 Express Edition on SUSE Linux 8.2 Prof. Normally it have to work, I think. I have done everything like it is written in the install pdf but the visualation from the...
3
by: Killer | last post by:
Hello. I am fairly new to linux so bare with me. I am trying to install Db2 for Workgroups 7.1 on a Suse Linux 9. I am logged as root (well, su root) and I am calling db2setup (residing on...
1
by: gassara | last post by:
salut ; Nous sommes un groupe d'etudiant de l'INSAT de la Tunisie.Notre filiere est Génie Logiciel, nous réalisons un Mini projet concernant la configuration et l'administration de DB2 (V...
1
by: global | last post by:
We are going to have UDB-DB on Linux, with a 20 GB database, and have no experiences on this platform Which is the optimal - file system for the database - data, logs, indexes on different...
2
by: SmoothJazz | last post by:
Hi All! I am wanting to setup/run PostgreSQL on my server (a SuSE Linux 9.2 distro) but I'm not quite sure which way to go. I have a few books on PostgreSQL but they don't seem to match the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.