Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Anyway, the colorsets and EwmhBaseStruts staerted working.
But still a few problems:
The default focus policy still seems to be SloppyFocus.
FvwmIconMan stacks the buttons top-to-bottom, not in rows like I want.
I don't know how to set the sizes for each button in FvwmButton (I set it as a bar spanning the bottom of the screen containing from left to right a button, FvwmIconMan, FvwmPager, stalonetray, and xclock.)
And I would like it so that you can switch desktops with FvwmPager but not by moving the mouse out the screen.
Anyway, the colorsets and EwmhBaseStruts staerted working.
But still a few problems:
The default focus policy still seems to be SloppyFocus.
Check the fvwm man page, you might want ClickToFocus instead.
Quote:
FvwmIconMan stacks the buttons top-to-bottom, not in rows like I want.
FvwmIconMan has its own man page. It's very configurable, and there are lots of common setups around the net that use a taskbar-like setup, in a single row. Some setups embed FvwmIconMan inside FvwmButtons, this give additional control about how to setup a tipical taskbar setup.
I have some fvwm screenshots and configs in my home web site, linked in my signature.
However, this is just an advice. You can just continue to use FvwmTaskbar if that's what suits you. I suggested the alternative because a) it's much more configurable and b) FvwmTaskbar is mostly abandon-ware nowadays.
Quote:
I don't know how to set the sizes for each button in FvwmButton (I set it as a bar spanning the bottom of the screen containing from left to right a button, FvwmIconMan, FvwmPager, stalonetray, and xclock.)
There are many ways to set up the button sizes in fvwmbuttons, just like FvwmIconMan, FvwmButtons has its own man page, separated from the fvwm main man page. Check it and see what method fits you better.
Quote:
And I would like it so that you can switch desktops with FvwmPager but not by moving the mouse out the screen.
ClickToFocus does focus only when you click, but it also brings the window above all the others, and I want that to happen only when the title or border is clicked.
ClickToFocus does focus only when you click, but it also brings the window above all the others, and I want that to happen only when the title or border is clicked.
This will surely serve the general case.
Code:
Style * ClickToFocus, ClickToFocusRaisesOff
I guess then you can define a function like this, and bind it to click on titlebar for that particular case:
Code:
DestroyFunc FvwmTitleClick
AddToFunc FvwmTitleClick
+ D ThisWindow (Maximizable) Maximize
+ M ThisWindow (!Maximized) Move
+ I Focus
+ I Raise
Mouse 1 T A FvwmTitleClick
Untested. D is for double click, M for move, I means "inmediate", those are the actions to do when doing a single click on the "T" context, which is the titlebar. There are contexts as well for every side of the window, and every corner. F equals the four corners, S the four sides. So, this one will take care of the click on the window borders.
Code:
Mouse 1 SF A FvwmTitleClick
There are many ways to set this up. Fvwm is very flexible in this regard, not that much in others, though.
ps. You might rather do this, to preserve the faculty to resize windows:
Code:
Style * ClickToFocus, ClickToFocusRaisesOff
DestroyFunc FvwmTitleClick
AddToFunc FvwmTitleClick
+ D ThisWindow (Maximizable) Maximize
+ M ThisWindow (!Maximized) Move
+ I Focus
+ I Raise
Mouse 1 T A FvwmTitleClick
DestroyFunc FvwmBorderClick
AddToFunc FvwmBorderClick
+ D ThisWindow (Maximizable) Maximize
+ M ThisWindow (!Maximized) Resize
+ I Focus
+ I Raise
Mouse 1 SF A FvwmBorderClick
Turns out you don't even need those functions, just this does exactly what I want (raise only when clicked on title)!
This was something I first discovered in KWin, and I found it very convenient as I often have a window maximized and a smaller one on top of it, and it was the perfect solution to the annoying problem that the smaller one disappears when you do something in the big window.
Turns out you don't even need those functions, just this does exactly what I want (raise only when clicked on title)!
This was something I first discovered in KWin, and I found it very convenient as I often have a window maximized and a smaller one on top of it, and it was the perfect solution to the annoying problem that the smaller one disappears when you do something in the big window.
Nice to know it's working now.
I use the keyboard most of the time, however when using the mouse, SloppyFocus does the job for me, I don't even have to click, the window to give it the focus, only to raise it. Not everyone is comfortable with SloppyFocus though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.