LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-10-2011, 08:18 AM   #1
alexbrui
Member
 
Registered: Nov 2009
Location: Ukraine
Distribution: Slackware 13.37
Posts: 38

Rep: Reputation: 0
Problem with uniform look for Qt and GTK apps


I'm running Slackware 13.1 with Openbox as WM and want to setup Qt and GTK applications to have unifom look. As I understand, for Qt apps this can be done with QGtkStyle.

I setup GTK theme and icons, then run qtconfig and from GUI style combobox select GTK+. At this moment I receive error message in console
Code:
QGtkStyle was unable to detect the current GTK+ theme.
I google around it and find several topics that suggests to add to the ~/.profile next string
Code:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
So I add this line, but this don't help. Even after reboot I get same error when try to run qtconfig again.

Any hints how to solve this issue?
 
Old 04-10-2011, 08:55 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
When I want a uniform look, I just get matching GTK and Qt themes, e.g. by downloading an Oxygen theme for GTK2's widgets and icons.

Last edited by dugan; 04-10-2011 at 08:56 AM.
 
Old 04-10-2011, 09:13 AM   #3
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
You can use the QtCurve-KDE4 and QtCurve-Gtk2 packages from Slackbuilds.
 
Old 04-10-2011, 12:42 PM   #4
alexbrui
Member
 
Registered: Nov 2009
Location: Ukraine
Distribution: Slackware 13.37
Posts: 38

Original Poster
Rep: Reputation: 0
Maybe QtCurve is a solution, but QGtkStyle is already available in system, so why not use it?
 
Old 04-10-2011, 12:50 PM   #5
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Maybe QGtkStyle doesn't work. I know for sure that QtCurve does... It's just a suggestion.
 
Old 04-12-2011, 02:49 PM   #6
alexbrui
Member
 
Registered: Nov 2009
Location: Ukraine
Distribution: Slackware 13.37
Posts: 38

Original Poster
Rep: Reputation: 0
Seems that problem in Slackware's Qt library, it compiled without --gtkstyle option. Anyone know why?
 
Old 04-12-2011, 04:38 PM   #7
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,456

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
check AlienBob's blog:

http://alien.slackbook.org/blog/running-vlc-in-xfce/
 
Old 04-12-2011, 05:28 PM   #8
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
In the same line as QtCurve, I use Oxygen-Gtk:

https://projects.kde.org/projects/pl...ork/oxygen-gtk

I load it from ~/.gtkrc-2.0.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] GTK Apps ignoring chosen GTK theme TheStarLion Ubuntu 4 11-28-2009 06:50 AM
GTK apps are not starting after GTK upgrade kixx Slackware 5 11-06-2008 04:31 PM
Problem with GTK apps disturbed1 Slackware 4 04-12-2008 07:40 PM
GTK apps display chinese, QT apps dont zhangmaike Linux - Desktop 0 07-03-2007 11:57 PM
Problem compiling GTK apps in Anjuta MG-Cloud Linux - Software 1 11-16-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration