Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tips for fluxbox [Part 2]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
superuser
Apprentice
Apprentice


Joined: 14 Mar 2004
Posts: 166
Location: Colorado, Colorado Springs

PostPosted: Sat Aug 07, 2004 1:08 pm    Post subject: tips for fluxbox [Part 2] Reply with quote

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
View user's profile Send private message
Audiopain
n00b
n00b


Joined: 11 Nov 2005
Posts: 52

PostPosted: Thu Feb 16, 2006 6:11 pm    Post subject: Reply with quote

Does anyone know how to make alt+tab combination switching all windows, including those minimized to toolbar?
Back to top
View user's profile Send private message
joshuaxls
n00b
n00b


Joined: 17 Nov 2004
Posts: 37
Location: /kentucky/louisville

PostPosted: Thu Feb 16, 2006 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
sean345
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2005
Posts: 103
Location: California

PostPosted: Fri Feb 17, 2006 2:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Audiopain
n00b
n00b


Joined: 11 Nov 2005
Posts: 52

PostPosted: Fri Feb 17, 2006 7:56 am    Post subject: Reply with quote

None of these numbers work. It seems impossible to switch minimized windows :(
Back to top
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Fri Feb 17, 2006 9:47 am    Post subject: Reply with quote

Audiopain wrote:
None of these numbers work. It seems impossible to switch minimized windows :(

There's a bug about it in their bugtracking system, but it's not assigned :(
http://sourceforge.net/tracker/index.php?func=detail&aid=1206490&group_id=35398&atid=413963
_________________
Do not believe that Guru thing under my nickname.
Back to top
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Sat Mar 25, 2006 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Sat Mar 25, 2006 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
sybille
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2005
Posts: 111
Location: France

PostPosted: Sat Mar 25, 2006 9:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Micand
n00b
n00b


Joined: 16 Oct 2003
Posts: 23
Location: Calgary, AB

PostPosted: Sun Mar 26, 2006 11:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Mar 27, 2006 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Mon Mar 27, 2006 10:15 pm    Post subject: Reply with quote

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! :wink:

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
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Tue Mar 28, 2006 6:17 pm    Post subject: Reply with quote

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 :wink: . 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 :D sweet) , much appreciated.... 8)
_________________
Legalize It
Back to top
View user's profile Send private message
sybille
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2005
Posts: 111
Location: France

PostPosted: Tue Mar 28, 2006 6:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Mar 29, 2006 12:27 am    Post subject: Reply with quote

This thread was split due to its length. The previous posts can be found in the following thread:
https://forums.gentoo.org/viewtopic-t-448033.html
Back to top
View user's profile Send private message
cradlebin
n00b
n00b


Joined: 18 Sep 2004
Posts: 32

PostPosted: Wed Aug 02, 2006 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
kr.vikas
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91

PostPosted: Wed Aug 02, 2006 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
cradlebin
n00b
n00b


Joined: 18 Sep 2004
Posts: 32

PostPosted: Wed Aug 02, 2006 8:36 pm    Post subject: Reply with quote

[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
View user's profile Send private message
kr.vikas
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91

PostPosted: Thu Aug 03, 2006 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message
cradlebin
n00b
n00b


Joined: 18 Sep 2004
Posts: 32

PostPosted: Thu Aug 03, 2006 11:03 am    Post subject: Reply with quote

Works nice enough though, thanks again :).
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Thu Aug 03, 2006 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Thu Aug 03, 2006 11:31 am    Post subject: Reply with quote

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
View user's profile Send private message
forsen
n00b
n00b


Joined: 01 Nov 2003
Posts: 23
Location: Oslo, Norway

PostPosted: Thu Aug 03, 2006 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Thu Aug 03, 2006 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
smlgbl
Guru
Guru


Joined: 10 Feb 2005
Posts: 305

PostPosted: Thu Aug 03, 2006 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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