LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-01-2012, 09:36 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,658

Rep: Reputation: 255Reputation: 255Reputation: 255
How to change the theme of Openbox by hand?


Hi, it states that it might be possible

http://openbox.org/wiki/Configuration

gives into the rc.xml :

Code:
<theme>
  <name>Clearlooks</name>
  <titleLayout>NLIMC</titleLayout>
  <keepBorder>yes</keepBorder>
  <animateIconify>yes</animateIconify>
  <font place="ActiveWindow">
    <name>sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="InactiveWindow">
    <name>sans</name>
    <size>8</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuHeader">
    <name>sans</name>
    <size>9</size>
    <weight>normal</weight>
    <slant>normal</slant>
  </font>
  <font place="MenuItem">
    <name>sans</name>
    <size>9</size>
    <weight>normal</weight>
    <slant>normal</slant>
  </font>
  <font place="OnScreenDisplay">
    <name>sans</name>
    <size>9</size>
    <weight>bold</weight>
    <slant>normal</slant>
  </font>
</theme>
you could wget this one for instance:
http://box-look.org/CONTENT/content-...pard%20BSM.obt
and save it into ~/.themes


How to set it to be ran by openbox at restart?
 
Old 07-02-2012, 01:59 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

in the rc.xml you posted, the theme is set in the second line. Unpack the downloaded theme to ~/.themes and set the theme in the rc.xml to whatever the directory name is. IIRC you will then need to restart openbox.

I just had a look at that file and although it is a gzipped tar ball it has the extention obt. This could be causing problems for you. Try the following

Code:
cd ~/.themes
zcat -S ~/Downloads/96082-Aurora\ Leopard\ BSM.obt > foo.tar
tar xf foo.tar
rm foo.tar
Now you should have directory named "Aurora Leopard BSM" (with spaces in the name... why do people do that?). Next edit your rc.xml to replace "Clearlooks" with "Aurora Leopard BSM".

HTH,

Evo2.

PS. I haven't used openbox in many years so I can't vouch for my instructions being 100% accurate.
 
  


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] openbox theme not changing? loolooyyyy Linux - Newbie 3 06-02-2012 03:05 PM
Where do I find this OpenBox theme? Mr. Alex Linux - General 4 02-11-2012 03:52 AM
Can't change wallpaper w/ openbox / how to change mousespeed johnnyxxxcakes Linux - Newbie 14 05-24-2009 07:11 PM
change default background color in openbox? phooka Linux - General 2 04-21-2008 04:32 PM
cant change theme on emerald theme manager malanco Linux - Newbie 1 06-28-2007 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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