OSTG | ThinkGeek - Slashdot - ITMJ - Linux.com - NewsForge - SourceForge - Surveys - Jobs - PriceGrabber |
Thu, Mar 08th | home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop | 13:17 PDT |
login « register « recover password « |
[Article] | add comment | [Article] |
Converting Older Window Maker Themes
The successful conversion of an older theme to the current scheme can be done quickly and easily, with just a little leg work. Copyright notice: All reader-contributed material on freshmeat.net is the property and responsibility of its author; for reprint rights, please contact the author directly. First, some background on Window Maker theming: When Window Maker was at release 0.52 and earlier, the themes consisted of files scattered in subdirectories under the ~/GNUstep/Library/WindowMaker directory. With the release level of 0.60 and higher, the themes were unified under the directory ~/GNUstep/Library/WindowMaker/Themes. Each theme was organized under a subdirectory called "[theme name].themed". For example, the files of a theme called Snoopy will be found under the directory ~/GNUstep/Library/WindowMaker/Themes/Snoopy.themed. Luckily, there are tools available which make it easy to convert a theme from the old system to the new. For the purposes of this article, I downloaded an older theme named "Nocturne" from themes.freshmeat.net. A quick dump of the tar file reveals the file distribution:
$ tar -tzvf ~/nocturne-0.52.tar.gz Nocturne.lsm Pixmaps/ Pixmaps/FTitle.Nocturne.jpg Pixmaps/MenuText.Nocturne.jpg Pixmaps/Tile.Nocturne.jpg Pixmaps/UTitle.Nocturne.jpg Backgrounds/ Backgrounds/Nocturne.jpg Themes/ Themes/Nocturne The file Themes/Nocturne defines the "style" of the theme. How to Convert ThemesStep 1Unpack the target theme in the ~/GNUStep/Library/WindowMaker directory. Example: $ cd ~/GNUstep/Library/WindowMaker $ tar -xzvf ~/nocturne-0.52.tar.gz Step 2Move the Themes/[themename] file up one directory. Example: $ mv Themes/Nocturne . Step 3
Use the Example: $ setstyle ./Nocturne Step 4
Lastly, change directory to the Themes subdirectory
(~/GNUstep/Library/WindowMaker/Themes) and repackage the theme using the
Example: $ cd Themes $ getstyle -p Nocturne That's all there is to it! So don't give up on the whole rich history of Window Maker themes; you can use any old theme you like with just a minute's work. Enjoy! Author's bio: TKO has been creating themes since KDE2 came out (back when www.themes.org was the place to get themes). A problem with themes back then was the grabbing of material from a Web site and creating a theme without getting permission from the copyright owners, so he learned how to create his own Computer Generated Images (CGI) and strives to create unique images as material for themes. He currently creates Window Maker themes. He uses Linux and run Windows 98 as a task under Linux via Win4Lin. T-Shirts and Fame! We're eager to find people interested in writing articles on software-related topics. We're flexible on length, style, and topic, so long as you know what you're talking about and back up your opinions with facts. Anyone who writes an article gets a t-shirt from ThinkGeek in addition to 15 minutes of fame. If you think you'd like to try your hand at it, let jeff.covey@freshmeat.net know what you'd like to write about.
[»]
Thank you you saved my more than 300 old themes. Thank you! Thank you!
--
[»]
Uh Thanks, didn't know it is that easy
|