LinuxQuestions.org
Help answer threads with 0 replies.
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 10-12-2009, 05:35 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Firefox under Fluxbox.


Frefox under Fluxbox looks absolutely terrible.

The only themes I have in /usr/share/themes are Default, Emacs and Raleigh. However, I installed the tango icons theme pack, and am using a .gtkrc-2.0 as per below.

Code:
style "user-font" {
        font_name = "Sans 9"
}

widget_class "*" style "user-font"

gtk-font-name="Sans 9"

gtk-icon-theme-name="Tango"
Surely this should still load tango icons? If I need a theme, what should I grab from the slack cd?
 
Old 10-12-2009, 06:33 PM   #2
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Do you mean the default Firefox theme? This is not the same as the gtk theme you are using.
 
Old 10-12-2009, 08:30 PM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by mudangel View Post
Do you mean the default Firefox theme? This is not the same as the gtk theme you are using.
Well, by default, without a .gtkrc-2.0 file, Firefox looks terrible. So I suppose this is what I mean. I then created such a file to try and use the Tango theme, but nothing changed.
 
Old 10-12-2009, 08:46 PM   #4
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
Firefox has its own themes; these are totally independent of the gtk theme...you may want to try one if you don't care for the default. Changing the gtk theme will have no effect on the Firefox theme.
 
Old 10-12-2009, 08:50 PM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by mudangel View Post
Firefox has its own themes; these are totally independent of the gtk theme...you may want to try one if you don't care for the default. Changing the gtk theme will have no effect on the Firefox theme.
Are you sure about that? All of the advice I have gotten and everything I have read is to the contrary. Firefox has its own themes which go over the GTK theme being used, as I understand it.
 
Old 10-12-2009, 09:02 PM   #6
mudangel
Member
 
Registered: May 2008
Location: Ohio
Distribution: Slackware
Posts: 267

Rep: Reputation: 56
/edit/ I see I was mistaken about that 8^)

Last edited by mudangel; 10-13-2009 at 08:05 AM.
 
Old 10-13-2009, 01:00 AM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Firefox does use the GTK theme, in addition to its own.

See here on how to set the GTK theme when you're using Fluxbox:
http://www.linuxquestions.org/questi....php?p=3577464

Try launching a GTK app from an XTerm. Do you see any error messages regarding the GTK or icon theme?

Last edited by dugan; 10-13-2009 at 01:08 AM.
 
Old 10-13-2009, 12:42 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well you can choose, you can either use a Firefox-specific theme (via add-ons menu) or a gtk theme. I usually prefer the former.
 
Old 10-13-2009, 12:49 PM   #9
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Thanks for the tip dugan, I will try that out later.

mudangel, H_TeXMeX_H, :

I can't not use the GTK theme. Firefox themes will change elements at a higher level, but the core will still look ugly. A good example would be the firefox icon in the top left being horrible pixelated. Really, very horribly pixelated. The GTK theme must be used, as well as a firefox theme if you desire. However, the gtk theme is not optional, while the firefox theme is.

Here is an article detailing this: http://arstechnica.com/open-source/n...-for-linux.ars
 
Old 10-13-2009, 02:01 PM   #10
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Maybe showing some screenshots of your firefox will help us to see what it looks like.

What version of Firefox are you running?

If you are having problems with the firefox default theme and your gtk settings, first make sure nothing (such as other Addons or settings) in your firefox profile is overriding the settings. An easy way to do this is to test a fresh profile. ("firefox -ProfileManager"...)

I like to use lxappearance for setting gtk themes.

A complete Firefox theme should override all of the icons, colors, etc, so you should not have the gtk problems you are describing with one of them. I use Utopia FFSE White
 
Old 10-13-2009, 05:39 PM   #11
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by Josh000 View Post
Thanks for the tip dugan, I will try that out later.

mudangel, H_TeXMeX_H, :

I can't not use the GTK theme. Firefox themes will change elements at a higher level, but the core will still look ugly. A good example would be the firefox icon in the top left being horrible pixelated. Really, very horribly pixelated. The GTK theme must be used, as well as a firefox theme if you desire. However, the gtk theme is not optional, while the firefox theme is.

Here is an article detailing this: http://arstechnica.com/open-source/n...-for-linux.ars
I'm sorry, perhaps my reading comprehensive is low. I don't see your original post actually being a problem. You have not declared a GTK2 theme in gtkrc-2.0. You did declare an icon theme and some other settings, not an actual tool kit theme.

Some GTK2 themes are included with the Xfce package. If you are unwilling to install all of Xfce just for a couple of themes, try one of these
http://art.gnome.org/themes
http://slackbuilds.org/repository/13...op/clearlooks/
http://slackbuilds.org/repository/13...nodoka-engine/
http://slackbuilds.org/repository/13.0/desktop/murrine/

An example of a gtkrc-2.0 with a defined theme
PHP Code:
include "/usr/share/themes/MurrinaNeoGraphite/gtk-2.0/gtkrc"
gtk-icon-theme-name="Tango" 
 
Old 10-14-2009, 12:46 PM   #12
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by shadowsnipes View Post
Maybe showing some screenshots of your firefox will help us to see what it looks like.

What version of Firefox are you running?
I am running the default version of firefox that comes with Slack64, 3.5.2

I currently have no tool to create a screenshot, as I did a minimal install. Is there a simple tool on the cd?

Quote:
Originally Posted by disturbed1 View Post
I'm sorry, perhaps my reading comprehensive is low. I don't see your original post actually being a problem. You have not declared a GTK2 theme in gtkrc-2.0. You did declare an icon theme and some other settings, not an actual tool kit theme.
I thought I only had to assign the tango icon theme? Is there perhaps some simple themes I can install off the CD, without having to install XFCE or additional applications?
 
Old 10-14-2009, 01:00 PM   #13
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by Josh000 View Post
I am running the default version of firefox that comes with Slack64, 3.5.2

I currently have no tool to create a screenshot, as I did a minimal install. Is there a simple tool on the cd?



I thought I only had to assign the tango icon theme? Is there perhaps some simple themes I can install off the CD, without having to install XFCE or additional applications?
GTK uses two themes. 1 for the icons and 1 for the toolkit. GTK apps look nasty in fluxbox without defining a toolkit theme. GTK-1 appearance is about what I would call it.

I'm not sure of any other GTK2 themes on the Slackware CD besides what comes in Xfce. I believe audacious installs a GTK2 theme - it's all black if you like dark themes. Try one of the themes I linked to at SlackBuilds.org.

---edit---
If you did a minimal install you most likely don't have dev packages?
http://repository.slacky.eu/slackwar...urrine/0.90.3/
There's a package for the murrine theme.
PHP Code:
cat /var/log/packages/murrine-0.90.3-x86_64-1_SBo                                         
PACKAGE NAME
:     murrine-0.90.3-x86_64-1_SBo                                                       
COMPRESSED PACKAGE SIZE
:     96K                                                                    
UNCOMPRESSED PACKAGE SIZE
:     300K                                                                 
PACKAGE LOCATION
: /tmp/murrine-0.90.3-x86_64-1_SBo.tgz                                              
PACKAGE DESCRIPTION
:                                                                                
murrinemurrine (a Gtk2 engine)                                                                    
murrine:                                                                                            
murrineMurrine is a Gtk2 engine that will make your desktop                                       
murrine
look like a Murrina.  Written in C languageit uses                                       
murrine
cairo vectorial drawing library to draw widgets.                                           
murrineIt features  a modern glassy look, and it is elegant                                       
murrine
: and clean on the eyes.                                                                     
murrineIt is also extremely customizable.                                                         
murrine:                                                                                            
murrinehttp://murrine.netsons.org/                                                                
murrine:                                                                                            
FILE LIST:                                                                                          
./                                                                                                  
install/                                                                                            
install/slack-desc                                                                                  
usr
/                                                                                                
usr/doc/                                                                                            
usr/doc/murrine-0.90.3/                                                                             
usr/doc/murrine-0.90.3/AUTHORS                                                                      
usr
/doc/murrine-0.90.3/COPYING                                                                      
usr
/doc/murrine-0.90.3/ChangeLog                                                                    
usr
/doc/murrine-0.90.3/INSTALL                                                                      
usr
/doc/murrine-0.90.3/NEWS                                                                         
usr
/doc/murrine-0.90.3/README                                                                       
usr
/doc/murrine-0.90.3/murrine.SlackBuild                                                           
usr
/lib64/                                                                                          
usr/lib64/gtk-2.0/                                                                                  
usr/lib64/gtk-2.0/2.10.0/                                                                           
usr/lib64/gtk-2.0/2.10.0/engines/                                                                   
usr/lib64/gtk-2.0/2.10.0/engines/libmurrine.la                                                      
usr
/lib64/gtk-2.0/2.10.0/engines/libmurrine.so                                                      
usr
/share/
usr/share/gtk-engines/
usr/share/gtk-engines/murrine.xml
usr
/share/themes/
usr/share/themes/MurrinaCandy/
usr/share/themes/MurrinaCandy/gtk-2.0/
usr/share/themes/MurrinaCandy/gtk-2.0/gtkrc
usr
/share/themes/MurrinaCappuccino/
usr/share/themes/MurrinaCappuccino/gtk-2.0/
usr/share/themes/MurrinaCappuccino/gtk-2.0/gtkrc
usr
/share/themes/MurrinaEalm/
usr/share/themes/MurrinaEalm/gtk-2.0/
usr/share/themes/MurrinaEalm/gtk-2.0/gtkrc
usr
/share/themes/MurrinaNeoGraphite/
usr/share/themes/MurrinaNeoGraphite/gtk-2.0/
usr/share/themes/MurrinaNeoGraphite/gtk-2.0/gtkrc 
Define one of the gtkrc files in your .gtkrc-2.0 file.

Last edited by disturbed1; 10-14-2009 at 01:06 PM.
 
Old 10-14-2009, 01:11 PM   #14
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
I have attached an image for those curious.

disturbed1, I did my version of a minimal install, not the one described on these boards, so I d have libraries and such.

I am kind of surprised slack ships without at least one theme as an option, surely I am not the only one wanting to use Firefox without Gnome or XFCE?

edit: OK, I am trying to use the clearlooks slackbuild from the slackbuilds site, and it gives an error as I need at least GTK-2.0, while a quick look in /var/adm/packages shows gtk-2-2.14.7 is installed.

Hmm

Last edited by Josh000; 10-14-2009 at 01:21 PM.
 
Old 10-15-2009, 07:42 AM   #15
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
OK, do I actually need to install GTK-2.0 despite having 2.2 installed?
 
  


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
fluxbox: can't find firefox GuySkarpz Linux - General 4 12-20-2008 03:05 PM
Firefox forces Fluxbox to jump to workspace alkos333 Slackware 2 08-25-2008 11:06 PM
Updating Firefox - Fluxbox Menu Item VIR3NT Linux - Software 3 05-27-2006 02:12 PM
fluxbox, gentoo, and firefox NoUse4ANick Linux - General 2 03-19-2006 10:36 PM
Fluxbox and Firefox loses Sessionsaving humbletech99 Linux - General 2 11-26-2005 12:01 PM

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

All times are GMT -5. The time now is 02:03 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