antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Tweaking the antiX fluxbox style

 
Post new topic   Reply to topic    antiX-forum Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
impuwat



Joined: 13 Sep 2007
Posts: 194
Location: Idaho

PostPosted: Sat May 31, 2008 9:38 pm    Post subject: Tweaking the antiX fluxbox style Reply with quote

The antix style is wonderful. Like a black suitcoat or little black dress...the foundation of a versatile wardrobe. Black goes with just about everything and the antix style works with a wide range of wallpapers.

You may have noticed a little aberration, or oddity in the style, however. If you have yet to notice it, switch to the antix style and open a terminal. The very thin line at the bottom of the terminal is blue. If you are working with an all black or gray wallpaper this can be annoying.

The little corner on either side of the window, used to resize the window, is called the "grip". The long strip between the two is called the "handle". Go to: http://tenr.de/howto/style_fluxbox/style_fluxbox.html#styleparts_classic
for a thorough explanation of fluxbox styles.

To change the handle and grip to match the rest of the antix theme, navigate to /usr/share/fluxbox/styles/antix and open the theme.cfg

Look for the following lines, roughly half way down, and change them to reflect the following:

Quote:
#window.grip.focus: Raised Bevel1 Gradient Vertical
#window.grip.focus.color: #076ba4
#window.grip.focus.colorTo: #000000
window.grip.focus.pixmap: bar1.xpm
#window.grip.unfocus: Raised Bevel1 Gradient Vertical
#window.grip.unfocus.color: #076ba4
#window.grip.unfocus.colorTo: #000000
window.grip.unfocus.pixmap: bar1.xpm
#window.handle.focus: Raised Bevel1 Gradient Vertical
#window.handle.focus.color: #076ba4
#window.handle.focus.colorTo: #000000
window.handle.focus.pixmap: bar2.xpm
#window.handle.unfocus: Raised Bevel1 Gradient Vertical
#window.handle.unfocus.color: #076ba4
#window.handle.unfocus.colorTo: #000000
window.handle.unfocus.pixmap: bar2.xpm


You can even eliminate the lines preceded by # if you want...instead of commenting them out with the #. All we have done is tell the style to use one of the pixmaps to determine the size and shape of the grip and handle. As opposed to manually telling the style the color and shape of them, which the commented out lines do.

Now you will have grips and a handle that are consistent with the rest of the style.

While you are in the theme.cfg you might consider one other change that might speed you up in the future if you want to change the style of font used in the antix style.

At the very top of the theme.cfg add the following line:

Quote:
*.font: Kristen ITC-9


This effectively tells the style to use the same font for all aspects of the style. The menu font will be the same as window label font, etc.

You can then find the various places in the theme.cfg where the font is individually called for and comment them out. As in:

Quote:
#menu.frame.font: Kristen ITC-9


You should find about seven instances where Kristen is called for. Don't eliminate these lines because you may find a reason in the future when you want the menu font to be a different size than the window label font.

Why go to this trouble? Maybe you have found a wonderful wallpaper and you want to tweak the font in the antix style to match it. Now you just have to open theme.cfg and change the first line to your new font. As in the following example:

Quote:
!---------------------------------------------------------------------------------
! Style name: antiX
! Style Author: anticapitalista
! Style Date: 01/04/07
! Style Comments: hacked from abbot which was a combination of
! Graphite-Integration (ikaro) and metallistic (ikaro)
!----------------------------------------------------------------------------------

*.font: prime minister of canada-10

menu.bevelWidth: 2






Hope this gave you a few ideas and something to think about!
Back to top
View user's profile Send private message
anticapitalista
Site Admin


Joined: 11 Sep 2007
Posts: 1026
Location: Greece

PostPosted: Sun Jun 01, 2008 1:38 pm    Post subject: Reply with quote

Worked perfectly, thanks.

I'll change the antiX fluxbox style accordingly for next release.
_________________
Philosophers have interpreted the world in many ways; the point is to change it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DJiNN



Joined: 26 Oct 2007
Posts: 262
Location: UK

PostPosted: Sun Jun 01, 2008 8:05 pm    Post subject: Reply with quote

That's one of the things that i like about the antiX style. I think the blue at the bottom looks really good, especially on a darker background. I like it even more than i like the rounded corners. LOL!

Just goes to show you how different things please different folks eh? Smile
Back to top
View user's profile Send private message
impuwat



Joined: 13 Sep 2007
Posts: 194
Location: Idaho

PostPosted: Mon Jun 02, 2008 7:55 am    Post subject: Reply with quote

Quote:
Beauty is in the eye of the beholder.


Maybe I need to get my eyes checked Smile

Quote:
Competence, like truth, beauty and contact lenses, is in the eye of the beholder. Laurence J. Peter (1919 - 1988)


I'm probably not competent either Smile

Or as Miss Piggy says,
Quote:

Beauty is in the eye of the beholder and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.


Just kidding.....you know I love you Smile
Back to top
View user's profile Send private message
Jerry



Joined: 12 Sep 2007
Posts: 150

PostPosted: Mon Jun 02, 2008 1:51 pm    Post subject: Reply with quote

And as the version of Murphy's Law puts it:
Quote:
Beauty is only skin deep, but ugly goes clear to the bone
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> Tips and Tricks All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org