View previous topic :: View next topic |
Author |
Message |
superuser Apprentice
Joined: 14 Mar 2004 Posts: 166 Location: Colorado, Colorado Springs
|
Posted: Sat Aug 07, 2004 1:08 pm Post subject: tips for fluxbox [Part 2] |
|
|
Hello!
I recently came across fluxbox -- and yet I fell in love with it. Even though I still don't know much about it, I nevertheless feel quite comfortable when using fluxbox.
So, in order to give fluxbox newcomers like me a reasonable list of all the things that can be done to extend fluxbox (all those dockapps and neat gimmicks), I would like you to post your favourite
'fluxbox trick'. That is e.g. the gkrellm tool, or anything else relating to fluxbox, making it an even better piece of software!
su
MOD EDIT: This thread was split due to its length.
[1] tips for fluxbox [Part 1]
-- Deathwing00
|
|
Back to top |
|
|
Audiopain n00b
Joined: 11 Nov 2005 Posts: 52
|
Posted: Thu Feb 16, 2006 6:11 pm Post subject: |
|
|
Does anyone know how to make alt+tab combination switching all windows, including those minimized to toolbar? |
|
Back to top |
|
|
joshuaxls n00b
Joined: 17 Nov 2004 Posts: 37 Location: /kentucky/louisville
|
Posted: Thu Feb 16, 2006 7:40 pm Post subject: |
|
|
Does anyone know if it's possible to make the slit completely hidden when it autohides? Mine shows about a pixel or two's width when it is hidden... it really annoys me. |
|
Back to top |
|
|
sean345 Tux's lil' helper
Joined: 11 Mar 2005 Posts: 103 Location: California
|
Posted: Fri Feb 17, 2006 2:10 am Post subject: |
|
|
Audiopain wrote: | Does anyone know how to make alt+tab combination switching all windows, including those minimized to toolbar? |
According to the Fluxbox wiki, Quote: | PrevWindow/NextWindow parameters take an integer:
* 0 or unspecified = Default/current behavior - no skipping
* 1 = Skip lower tabs
* 2 = Skip stuck windows
* 3 = Skip lower tabs/stuck windows
* 4 = Skip shaded windows
* 5 = Skip lower tabs/shaded windows
* 6 = Skip stuck windows/shaded windows
* 7 = Skip lower tabs/stuck windows/shaded windows
* 8 = Fixes the "my first keystroke gets lost" problem. (note to self: ask akira about it) |
Although, 0 does not seem to be the default on my system, you might try specifying 0 or some of the other value and see if that works.
- Sean _________________ If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios |
|
Back to top |
|
|
Audiopain n00b
Joined: 11 Nov 2005 Posts: 52
|
Posted: Fri Feb 17, 2006 7:56 am Post subject: |
|
|
None of these numbers work. It seems impossible to switch minimized windows |
|
Back to top |
|
|
zsoltika l33t
Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
|
Back to top |
|
|
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Sat Mar 25, 2006 8:11 pm Post subject: |
|
|
Hello everyone it's been a while,
I started putzing around a bit with trying to round out the corners of my menu and what not, as I wanted to see how it looked on my box. Anyway, after reading the tutorial in "Fluxbox-Wiki" ; http://fluxbox-wiki.org/index.php/Howto_rounded_corners ; I discovered a little problem. It suggests to put the said configuration in the "styleFile", however, there is no "styleFile" mentioned anywhere in the ~/.fluxbox directory except for one line in the ~/.fluxbox/init, where it reads:
session.styleFile: /usr/share/fluxbox/fluxmod/styles/Nueve3k-Glacier
I tried adding the suggested lines beneath that like so:
session.styleFile.menu.roundCorners: TopRight TopLeft BottomRight BottomLeft
session.styleFile.window.roundCorners: TopRight TopLeft BottomRight BottomLeft
session.styleFile.toolbar.shaped: true
However, being that since "session.styleFile" points to a specific path, does that necessarily mean that I have to create a styleFile directory and have the init point to it _________________ Legalize It |
|
Back to top |
|
|
zsoltika l33t
Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Sat Mar 25, 2006 9:24 pm Post subject: |
|
|
You can always copy the style file pointed in your init file to your ~/.fluxbox directory and edit it that to your needs (but be careful if consists relative paths to something you must edit that too). _________________ Do not believe that Guru thing under my nickname. |
|
Back to top |
|
|
sybille Tux's lil' helper
Joined: 15 Apr 2005 Posts: 111 Location: France
|
Posted: Sat Mar 25, 2006 9:55 pm Post subject: |
|
|
southpaw wrote: | /usr/share/fluxbox/fluxmod/styles/Nueve3k-Glacier |
The "syle file" for that style would be /usr/share/fluxbox/fluxmod/styles/Nuevat3k-Glacier/theme.cfg. That's the file to which you add any of the commands for the style, including the one for round corners:
Code: | menu.roundCorners: TopRight TopLeft BottomRight BottomLeft
|
|
|
Back to top |
|
|
Micand n00b
Joined: 16 Oct 2003 Posts: 23 Location: Calgary, AB
|
Posted: Sun Mar 26, 2006 11:54 pm Post subject: |
|
|
Audiopain wrote: | Does anyone know how to make alt+tab combination switching all windows, including those minimized to toolbar? |
I realize I may be a tad late with this answer, but having struggled with this problem myself, I couldn't help but answer. The only way I found to make this work was compile bbkeys from CVS. Development since the last release (0.9.0) has added support for switching between all windows on the current workspace, including those that are minimized. To use it, I believe you may first need to install Blackbox, which you can do through Portage. My ~/.bbkeysrc is as follows:
Code: | [begin] (bbkeys configuration file)
[config]
[option] (stylefile) {/usr/share/commonbox/styles/Operation}
[option] (honorModifiers) {false}
[option] (raiseWhileCycling) {false}
[option] (showCycleMenu) {true}
[option] (menuTextJustify) {left}
[option] (followWindowOnSend) {false}
[option] (includeIconifiedWindowsInCycle) {true}
[option] (autoConfig) {true}
[option] (autoConfigCheckTimeout) {2}
[option] (workspaceColumns) {4}
[option] (cycleMenuX) {300}
[option] (cycleMenuY) {300}
[end]
[keybindings] (begin keybindings)
[NextWindow] (Mod1-Tab)
[NextWindowOnAllWorkspaces] (Mod1-Control-Tab)
[PrevWindow] (Mod1-Shift-Tab)
[end] (end keybindings)
[end] (end bbkeys configuration) |
Start bbkeys via ~/.fluxbox/startup, stop Fluxbox from handling ALT+Tab by removing the appropriate lines from ~/.fluxbox/keys, and voila! blissful window switching. As an additional plus, you get a swanky menu when you hit ALT+Tab with bbkeys. |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Mon Mar 27, 2006 8:32 am Post subject: |
|
|
Hey Micand,
thanks for the tip!
But i can't get it working. I emerged bbkeys version 0.9.0-r1, which also emerges blackbox. I checked on the website, but i couldn't find a newer version. Besides, i honestly don't know how to work with cvs properly. So could you give me a hint here? Because it basically works, but it also doesn't raise the minimized windows yet. Kind of defeats the purpose of the whole emerge!
Thanks a lot! _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Mon Mar 27, 2006 10:15 pm Post subject: |
|
|
OK, i got it working!
Code: | stradivari samuel # emerge cvs
stradivari samuel # cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bbkeys co bbkeys
stradivari samuel # cd bbkeys/
stradivari samuel # ./Makefile.cvs
stradivari samuel # ./configure
stradivari samuel # make && make install |
Maybe this was obvious, but someone like me might not know that. The README doesn't say anything about Makefile.cvs, but actually the name is somehow obvious. At least afterwards!
And besides, now it works with the minimized window switching!!!
Thanks again! _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Tue Mar 28, 2006 6:17 pm Post subject: |
|
|
Hey sybille,
For some reason I had a funny feeling the solution to my problem would be an obvious misunderstanding on my part. Whatever the reason, it seems as though I couldn't get it through my thick skull, to realize on my own that by "styleFile", the author meant the individual config file for the theme being used not the general config file for all the themes in the ~/.fluxbox directory, I think the author may want to consider adding that to the tutorial . Aside from that sybille, I would like to thank you so very much for jogging the abstract part of my mind (I really like the way my rounded corners look sweet) , much appreciated.... _________________ Legalize It |
|
Back to top |
|
|
sybille Tux's lil' helper
Joined: 15 Apr 2005 Posts: 111 Location: France
|
Posted: Tue Mar 28, 2006 6:31 pm Post subject: |
|
|
Lol @southpaw, and it was my pleasure. I've certainly had plenty of thick-skull moments myself!
Have you considered sending an email to the fluxbox folk about clarifying the documentation? Might could help out some one else in the future. |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
|
Back to top |
|
|
cradlebin n00b
Joined: 18 Sep 2004 Posts: 32
|
Posted: Wed Aug 02, 2006 12:30 pm Post subject: |
|
|
Anyone knows of a method to get the equivalent of "Win+D", the shortcut that lets you switch to the Desktop (ie, minimises all non-minimised windows) in fluxbox?
And maybe a way to get a nicer alt-tab menu than the one bbkeys gives? (can't connect to cvs now though, so maybe it has changed there). |
|
Back to top |
|
|
kr.vikas Tux's lil' helper
Joined: 14 Jun 2006 Posts: 91
|
Posted: Wed Aug 02, 2006 5:57 pm Post subject: |
|
|
cradlebin wrote: | Anyone knows of a method to get the equivalent of "Win+D", the shortcut that lets you switch to the Desktop (ie, minimises all non-minimised windows) in fluxbox?
|
make this entry in your ~/.fluxbox/keys
Code: |
Mod4 d :ShowDesktop
|
cradlebin wrote: |
And maybe a way to get a nicer alt-tab menu than the one bbkeys gives? (can't connect to cvs now though, so maybe it has changed there). |
I'm also in search of one. |
|
Back to top |
|
|
cradlebin n00b
Joined: 18 Sep 2004 Posts: 32
|
Posted: Wed Aug 02, 2006 8:36 pm Post subject: |
|
|
[quote="kr.vikas"] cradlebin wrote: | Anyone knows of a method to get the equivalent of "Win+D", the shortcut that lets you switch to the Desktop (ie, minimises all non-minimised windows) in fluxbox?
|
make this entry in your ~/.fluxbox/keys
Code: |
Mod4 d :ShowDesktop
|
Thanks for that!
Though it doesn't seem to be able to restore the windows that were maximised, darn. |
|
Back to top |
|
|
kr.vikas Tux's lil' helper
Joined: 14 Jun 2006 Posts: 91
|
Posted: Thu Aug 03, 2006 3:19 am Post subject: |
|
|
cradlebin wrote: |
Thanks for that!
Though it doesn't seem to be able to restore the windows that were maximised, darn.
|
make an entry in ~/.fluxbox/keys
Code: |
Mod4 Shift d :Deiconify LastWorkspace
|
now you can Deiconify the iconified windows using "WinKey + Shift + d". Not really a solution to the problem , but very handy at times. |
|
Back to top |
|
|
cradlebin n00b
Joined: 18 Sep 2004 Posts: 32
|
Posted: Thu Aug 03, 2006 11:03 am Post subject: |
|
|
Works nice enough though, thanks again . |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Thu Aug 03, 2006 11:19 am Post subject: |
|
|
Anyone that knows if I can turn of the decor of windows when I launch them?
I dont want it turned of for all windows but I like my terms without decor and my firefox with. How can this be done? _________________ From Gentoo with love |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Aug 03, 2006 11:31 am Post subject: |
|
|
Sedrik wrote: | Anyone that knows if I can turn of the decor of windows when I launch them?
I dont want it turned of for all windows but I like my terms without decor and my firefox with. How can this be done? |
I use a key for that purpose:
Code: | Mod1 q :ToggleDecor | Put this in ~/.fluxbox/keys it is enough to use Alt+q to toggle the decor on any window you like ...
In case you want a permanent solution you could use this lines in ~/.fluxbox/apps
Code: | [app] (xterm)
[Deco] {NONE}
[end] | where <xterm> has to be replaced by the term you use ...
HTH
swimmer
Last edited by swimmer on Thu Aug 03, 2006 11:35 am; edited 1 time in total |
|
Back to top |
|
|
forsen n00b
Joined: 01 Nov 2003 Posts: 23 Location: Oslo, Norway
|
Posted: Thu Aug 03, 2006 11:32 am Post subject: |
|
|
kr.vikas wrote: | cradlebin wrote: |
Thanks for that!
Though it doesn't seem to be able to restore the windows that were maximised, darn.
|
make an entry in ~/.fluxbox/keys
Code: |
Mod4 Shift d :Deiconify LastWorkspace
|
now you can Deiconify the iconified windows using "WinKey + Shift + d". Not really a solution to the problem , but very handy at times. |
Hmm. That Deiconify LastWorkspace only brings back the window that was focused. If I have 4 windows maximized, and then use ShowDesktop, i would like a function to bring them all back, not only the window that was in focus when i used ShowDesktop. Is that possible?
Erik |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Thu Aug 03, 2006 11:37 am Post subject: |
|
|
swimmer wrote: | . . .
In case you want a permanent solution you could use this lines in ~/.fluxbox/apps
Code: | [app] (xterm)
[Deco] {NONE}
[end] | where <xterm> has to be replaced by the term you use ...
HTH
swimmer |
Nice that was the solution I was looking for =) Thanks _________________ From Gentoo with love |
|
Back to top |
|
|
smlgbl Guru
Joined: 10 Feb 2005 Posts: 305
|
Posted: Thu Aug 03, 2006 1:04 pm Post subject: |
|
|
How do i translate all the last commands to be used with bbkeys?
I switched from the normal fluxbox keygrabber to bbkeys, because it also grabs the minimized windows while alt-tab-cycling.
I tried using those commands in the bbkeysrc-file, but it doesn't like it.
Any hints appreciated. _________________ samuel.
'Do not let one girding on boast about himself like one unfastening' |
|
Back to top |
|
|
|