LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2006, 07:24 AM   #1
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Fluxbox's Tab Autogrouping


Hi,

Has anyone got Fluxbox's 'Tab Autogrouping' feature to work properly? Specifically, I'd like it to work (kind of like their example) so that Firefox and Thunderbird are tabbed, and so that all my consoles (urxvt) are autotabbed. My ~/.fluxbox/groups file is
Code:
Firefox-bin Mozilla-thunderbird-bin
URxvt
and the names were obtained with xprop |awk '/WM_CLASS/{print $4}', as recommended in the document. The relevant bits of my init file are
Code:
adoyle@minerva:~$ cat ~/.fluxbox/init | grep tab && cat ~/.fluxbox/init | grep group
session.tabsAttachArea:	Window
session.tabs:	true
session.tabPadding:	0
session.screen0.sloppywindowgrouping:	true
session.groupFile:	~/.fluxbox/groups
which looks all fine and dandy to me.

Does anyone else have auto-tab working, and if so, can you point to anything that I might be missing?

Cheers,
Andrzej
 
Old 01-29-2006, 12:29 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
your groups and init files look ok. The part that's not documented as well is that you have to add an entry in the ~/.fluxbox/apps file to tell fb to allow tabbing for the app. Soething like

[App]
class=Firefox-bin
Tab yes
[App]
 
Old 01-29-2006, 12:39 PM   #3
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Original Poster
Rep: Reputation: 31
Aha, sounds a lot like it...

Edit: Mmm, but I still can't get it to work. Given the syntax of the file, and the search result here (big, and not very relevant, but it does contain the bold text below), it seems that the right syntax is
Code:
[app] (firefox-bin)
  [Tab]	 {yes}
[end]
but this still doesn't seem to be working. I edited the file outside of X to make sure it stayed edited (that's got me in the past), and I've removed options to remember size/position of the FF and TBird windows, in case they somehow get incompatible. FF is the only window open on my current workspace and most recently had the focus before I opened a menu to fire up TBird, but I'm still not getting the auto-grouping. This seems strange, I might have to see if the source has any clues...

Thanks for the pointer though!

Last edited by Dtsazza; 01-29-2006 at 12:58 PM.
 
Old 01-29-2006, 01:05 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I just got back to my laptop. Here's what I have in mine

~/.fluxbox/apps

[app](class=Firefox-bin) {1}
[Tab] {yes}
[end]

~/.fluxbox/groups

firefox-bin

The contents of groups is case-sensitive. It's the names of the binaries that start the apps, but the class= in apps is the output of xprop.
 
Old 01-29-2006, 01:08 PM   #5
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Original Poster
Rep: Reputation: 31
I just got there myself. There was a case mismatch between what was in the apps and groups files (found after testing with xterm which is naturally all lowercase). Since fluxbox created the entry in the apps file itself, it obviously internally thinks of those apps as lowercase, and xprop WM_CLASS seems to say that X itself is happy with the lowercase version.

As am I - after lowercasing the entries in the groups file, I can now get my windows to tab. Thanks for helping me sort out something that'd been bugging me for a while!
 
Old 02-19-2006, 03:43 PM   #6
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Wink

Weird, I did not need to touch the apps file, just the groups file. Here is my line for grouping konquere, Thunderbird, and Firefox:
Gecko konqueror

And thats all. Note that Thunderbird and Firefox both show up as "Gecko", which means if you autogroup one, you are autogrouping the other.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
fluxbox's desktops puishor Linux - Software 3 07-24-2005 11:56 AM
fluxbox's fbdesk program + font colors kurrupt Linux - Software 1 06-03-2005 06:45 AM
Autogrouping in fluxbox 0.1.14 basemodel Slackware 5 12-29-2003 03:27 PM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration