You are not logged in.

#1 2013-05-01 12:47:02

Issam2204
Member
Registered: 2013-02-20
Posts: 20

Small problem with Fluxbox

Hi guys! I've a small issue with Fluxbox and this new theme i just installed. In a few words the left mouse click doesn't work at the bottom of the bar (where you choose your window to open) and also at the top of the titlebar. For example if i need to close a window i need to click exactly the  close button. If a need to maximize or minimize a window from the bottom bar i need to click in the middle of the bar. And all this is so annoying.

Hope you guys got the idea. If not just tell and i'll try to make some screenshots.

Thanks for reading!

Offline

#2 2013-05-01 13:12:25

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Small problem with Fluxbox

What theme is it? Can you provide a link to it or post the code to the theme itself? How did you install it? (From the AUR?)

Offline

#3 2013-05-01 13:17:01

Issam2204
Member
Registered: 2013-02-20
Posts: 20

Re: Small problem with Fluxbox

No i installed it by extracting it in styles folder (inside .fluxbox).

The theme is this: http://box-look.org/content/show.php/Cl … ent=150481

Thanks for answering!

Offline

#4 2013-05-01 13:21:40

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Small problem with Fluxbox

I'm not sure that I understand any of that.

In a few words the left mouse click doesn't work at the bottom of the bar (where you choose your window to open)

Right click on the desktop to open an application. and those are set in ~/.fluxbox/menu You make the ~/.fluxbox/menu yourself. Whenever you install a new app, you'll need to make a menu entry.
Example:

[submenu] (Admin)
[exec] (Sleep) {sudo systemctl suspend}
[exec] (Shutdown) {sudo systemctl poweroff}
[exec] (Reboot) {sudo systemctl reboot}
[exec] (Network Down) {sudo netctl stop mynetwork}
[exec] (Network Up) {sudo netctl start mynetwork}
[exec] (Top) {xterm -T TOP +sb -g 90x50 -e sudo top}
[exec] (TCPdump) {xterm -T TCPdump +sb -g 80x45 -e sudo tcpdump -q -t -i eth0}
[end]

For example if i need to close a window i need to click exactly the close button.

That is working correctly.

If a need to maximize or minimize a window from the bottom bar i need to click in the middle of the bar.

That is also correct Fluxbox behavior.

Ok I looked at the theme. It is made without the 3 bottons in the top right of the window. Either use another theme or edit that one.

Offline

#5 2013-05-01 13:27:32

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Small problem with Fluxbox

You can also right click on the window title bar and get a menu for Max, Min, Shade. Close.

Offline

#6 2013-05-01 13:39:56

Issam2204
Member
Registered: 2013-02-20
Posts: 20

Re: Small problem with Fluxbox

Thanks for your reply teckk but that was not what i meant.

Usually when i click on the close button i don't have to "exactly" hit the close button but i can also click on the top-left corner of my screen. This is working for Gnome, KDE, Windows, ecc. In fluxbox this depends from the theme you're using. Another theme i usually use is Color Me Bad ( http://box-look.org/content/show.php/Co … ent=100356 ) which is perfect in terms of "clickable area". If you install the two themes you can see the difference: Color Me Bad enables me to to click wherever i want but Clearlooks Fluxbox style is more restrictive.

Please if you can install the themes because just seeing the screenshots from box-look won't be enough to understand what i'm saying.

Thanks again!

Offline

#7 2013-05-01 14:04:50

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Small problem with Fluxbox

Please if you can install the themes

No thanks

Clearlooks Fluxbox style is more restrictive.

Do you have a Clearlooks theme engine installed?

pacman -Ss clearlooks

Do you ever press Ctrl+Alt+F1 to see if your theme has any errors?
~/.fluxbox/init has Fluxbox'x settings

All of the themes for Flux that you find online are different. Find one that you like or make you own, which is what I did.
Fluxbox depends on a Fluxbox theme for window title bars, handles, panel, window titlebar buttons, and a gtk2 theme for how the app looks.
You can also edit a theme that you've downloaded to change it.
Look at the themes in /usr/share/fluxbox/styles to see how it's done.

I like fluxbox because it does nothing on it's own. Just a window mgr. If you want it changed, you change it. You'll need to get to know it though.

Offline

#8 2013-05-01 14:15:55

Issam2204
Member
Registered: 2013-02-20
Posts: 20

Re: Small problem with Fluxbox

Thanks for answering.

Yes i've installed Clearlooks engine.

Let me rephrase the question then: do you know where i can find the configuration setting line/lines  that enable(s) me to fix/change the clickable area in the title bar and bottom bar?

Offline

#9 2013-05-01 14:20:33

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Small problem with Fluxbox

teckk wrote:

...

Or, said another way, the problem you are having just looks like a setting in the theme you want to use.

If no one chooses to help you modify the theme here (I don't use Fluxbox, nor am I at my computer right now), you can choose to compare the two Fluxbox themes that you linked to above and figure out how to make them do what you want, or you could contact the theme author himself and ask him to help you change it.

I've never worked on a Fluxbox theme before, but the change you want to make might be tricky if the clickable area of the close button is directly related to the actual appearance of the button. Anyway, I'm sure there's tons of good information about Fluxbox themes on the Internet. I hope you can get it the way you want! smile

...by the way, I don't think I ever find an Openbox theme that I don't make at least SOME change to before actually using it. tongue

Last edited by drcouzelis (2013-05-01 14:21:04)

Offline

#10 2013-05-01 14:24:02

Issam2204
Member
Registered: 2013-02-20
Posts: 20

Re: Small problem with Fluxbox

I completely agree with you drcouzelis. I'll start studying the two themes. Thanks!

Offline

#11 2013-05-01 16:16:15

teckk
Member
Registered: 2013-02-21
Posts: 590

Re: Small problem with Fluxbox

do you know where i can find the configuration setting line/lines

That depends on the theme. Lets look at one of the simple themes that come with flux. You should be able to see what's going on in it's config.
/usr/share/fluxbox/styles/Artwiz

I downloaded the them you posted. Look at the Clearlooks theme.cfg
It's using .xpm images for buttons.

window.close.pixmap: close-active.xpm
window.close.pressed.pixmap: close-pressed.xpm
window.close.unfocus.pixmap: close-inactive.xpm
window.iconify.pixmap: minimize-active.xpm
window.iconify.pressed.pixmap: minimize-pressed.xpm
window.iconify.unfocus.pixmap: minimize-inactive.xpm
window.maximize.pixmap: maximize-active.xpm
window.maximize.pressed.pixmap: maximize-pressed.xpm
window.maximize.unfocus.pixmap: maximize-inactive.xpm

Look at the pixmaps, that's how big they are.
If you want bigger buttons, make bigger .xpm images. Or remove the reference to image and do something like Artwiz is doing.

window.button.focus:	raised gradient diagonal
window.button.focus.color:	rgb:90/94/98
window.button.focus.colorTo:	rgb:20/24/28
window.button.focus.picColor:	white
window.button.unfocus:		raised gradient diagonal
window.button.unfocus.color:	rgb:50/54/58
window.button.unfocus.colorTo:	black
window.button.unfocus.picColor:	rgb:70/74/78
window.button.pressed:		sunken gradient diagonal
window.button.pressed.color:	rgb:20/40/50
window.button.pressed.colorTo:	rgb:60/70/80

You can make a custom theme just about however you want.
http://fluxbox.sourceforge.net/docs/en/ … themes.php
https://wiki.archlinux.org/index.php/Fl … tyle_Guide

Offline

Board footer

Powered by FluxBB