LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-11-2007, 04:39 PM   #1
getBoa
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Rep: Reputation: 0
Openbox fonts looking crappy


Hi guys,
ive just installed the openbox and im trying to make it looks better, but one im getting problem with these fonts, it looks crappy, like ive set'em as Bold, but i aint !!!
theres a screenshot of my openbox -> h t t p : / /img64.imageshack.us/img64/6443/deskss2vn3.jpg
is there any idea to fix it ?
 
Old 09-11-2007, 05:02 PM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
either in /usr/etc/xdg/openbox or /etc/xdg/openbox there are two files they are in simple a xml format and easy to edit manually...

menu.xml and rc.xml
 
Old 09-11-2007, 09:53 PM   #3
getBoa
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
either in /usr/etc/xdg/openbox or /etc/xdg/openbox there are two files they are in simple a xml format and easy to edit manually...

I've copied these files into my ~/.config/openbox/ and configured'em but not successful...
it's so weird coz in some application like konqueror seems to be fine, i mean the font looks great have a look h t t p ://img378.imageshack.us/my.php?image=deskss3yp9.jpg

=/
 
Old 09-12-2007, 05:36 AM   #4
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
did you build Openbox from source code from this URL?
http://icculus.org/openbox/index.php/Main_Page

i never bothered to copy the rc.xml & menu.xml to my home directory and just edited the ones in /usr/etc/xdg/openbox they are not hard to figure out once you understand the format's structure...

in rc.xml you can adjust the font and size in the title bar and menu...
 
Old 09-12-2007, 08:20 AM   #5
getBoa
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
hey Okie,
first of all, thanks for the replies.
i didnt build it from source code, i installed it using the package manager "pacman" from Archlinux.
Could you please send me a sample of yours if that font changes?
ill reinstall it and leave the config files in that path /usr/etc/xdg/openbox as you said.
thanks in advance.
 
Old 09-12-2007, 10:30 AM   #6
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
Code:
<openbox_menu>

<menu id="apps-menu" label="Apps">
  <item label="BitTorrent">
    <action name="Execute"><execute>transmission-gtk</execute></action>
  </item> 
  <item label="Email">
    <action name="Execute"><execute>thunderbird</execute></action>
  </item>    
  <item label="Firefox">
    <action name="Execute"><execute>firefox</execute></action>
  </item>
  <item label="Mozzy">
    <action name="Execute"><execute>seamonkey</execute></action>
  </item>
</menu>
  
<menu id="graphics-menu" label="Graphics">
  <item label="Colorz!">
    <action name="Execute"><execute>gcolor2</execute></action>
  </item>
  <item label="Gimp">
    <action name="Execute"><execute>gimp</execute></action>
  </item>
  <item label="GQview">
    <action name="Execute"><execute>gqview</execute></action>
  </item>
    <item label="Paint">
    <action name="Execute"><execute>mtpaint</execute></action>
  </item>
</menu>

<menu id="groovy-menu" label="Groovy">
    <item label="Audacious">
    <action name="Execute"><execute>audacious</execute></action>
  </item>    
    <item label="MPlayer">
    <action name="Execute"><execute>gmplayer</execute></action>
  </item>
</menu>

<menu id="Util-menu" label="Utilitys">
 <item label="Calculator">
  <action name="Execute"><execute>xcalc</execute></action>
 </item>
 <item label="Calender">
 <action name="Execute"><execute>sunbird</execute></action>
 </item>
 <item label="NEdit">
  <action name="Execute"><execute>nedit</execute></action>
 </item>
 <item label="Office">
   <action name="Execute"><execute>soffice -writer</execute></action>
 </item>
</menu>
 
<menu id="root-menu" label="Openbox">
  <menu id="apps-menu" />
  <menu id="graphics-menu" />
  <menu id="groovy-menu" />
  <menu id="Util-menu" />
  <separator />
  <menu id="client-list-menu" />
  <separator />
  <item label="Reconfigure">
    <action name="Reconfigure" />
     </item>
  <separator />
  <item label="Xterm">
    <action name="Execute"><execute>xterm</execute></action>
  </item>
  <item label="System">
    <action name="Execute"><execute>gkrellm</execute></action>
  </item>    
  <separator />
  <item label="Exit">
    <action name="Exit" />
  </item>
</menu>

</openbox_menu>
 
Old 09-12-2007, 10:33 AM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
since this file is rather large and you are just having issues with fonts i will only post the fonts section of rc.xml as you can see i did not change it much, i did increase the menu font from 9 to 12 and changed it from bold to normal...

Code:
  <keepBorder>yes</keepBorder>
  <animateIconify>yes</animateIconify>
  <font place="ActiveWindow">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
  </font>
  <font place="InactiveWindow">
    <name>sans</name>
    <size>9</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
  </font>
  <font place="MenuHeader">
    <name>sans</name>
    <size>12</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
  </font>
  <font place="MenuItem">
    <name>sans</name>
    <size>12</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
  </font>
  <font place="OnScreenDisplay">
    <name>sans</name>
    <size>12</size>
    <!-- font size in points -->
    <weight>normal</weight>
    <!-- 'bold' or 'normal' -->
    <slant>normal</slant>
    <!-- 'italic' or 'normal' -->
  </font>
</theme>
 
Old 09-13-2007, 09:35 PM   #8
getBoa
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Hi Okie, thanks for everthing, i had to install the switch2 and the gtk-chtheme to get a nice configuration, finally the apps got the font configuration made by me, excepct the Firefox, dunno why!
What kind of panel do you have on your openbox ? pypanel? perlpanel ? fbpanel ?
 
  


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
Crappy Arabic Fonts waelaltaqi Linux - Software 1 04-26-2011 02:43 AM
My fonts look crappy in suse... fannymites SUSE / openSUSE 5 02-17-2006 09:18 PM
KDE upgrade now fonts look crappy joe83 Slackware 8 10-19-2004 11:40 AM
Crappy Wine fonts Belegdol Mandriva 0 12-29-2003 03:22 AM
crappy fonts (after 9.2 installation) Osten Mandriva 9 11-22-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:21 AM.

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