You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-01-20 07:41:36

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,618
Website

How to group apps via the apps file (fluxbox)

The apps file is in /home/user/.fluxbox

To automatically tab together new windows, place a [group] tag around several [app] tags, with an [end] tag to indicate the end of the group. You should not use an [end] tag for individual apps in a group. You can specify dimensions, position, etc. for the group as for normal app entries.

(Fluxbox also can group programs using the file ~/.fluxbox/groups. But the groups file is deprecated since version 0.9.1 in favor of grouping using the apps file, since it is much more powerful. The groups file only groups windows on the same workspace, whereas the apps file searches all workspaces by default.)

To replicate the groups file's behavior with the apps file, use `[group] (workspace)', which was introduced in version 1.0rc3.

Here is a short example of an apps file:

# a group with all windows called "special-term",
 # appears on layer 4 (bottom)
 [group]
     [app] (special-term)
         [Layer] {4}
 [end]
 
 # a group that only looks for windows on the current workspace
 [group] (workspace)
     [app] (firefox-bin) (title=.*Mozilla Firefox.*)
     [app] (opera)
         [Dimensions]    {800 600}
         [Position]      (UPPERRIGHT)      {0 0}
 [end]

source: http://fluxbox-wiki.org/index.php?title … _apps_file


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#2 2012-01-20 09:11:35

oliver
Administrator
Registered: 2010-11-04
Posts: 1,516

Re: How to group apps via the apps file (fluxbox)

very nice!  I'd been manually grouping tasks and had no idea it could be done automatically


Welly, welly, welly, welly, welly, welly, well. To what do I owe the extreme pleasure of this surprising visit?

Offline

#3 2012-01-21 10:03:54

Kruppt
Moderator
From: Blue Ridge Mountains, NC
Registered: 2010-12-20
Posts: 299

Re: How to group apps via the apps file (fluxbox)

You can use the start up tags at the top of the apps file to autostart programs
when fluxbox starts.

[startup]                {some program}


[startup]                {gksu gnome-commander}
[startup]                {gnome-commander}
#[startup]                {gksu xfe}
#[startup]                {xfe}
[startup]                {roxterm}
[startup]                {clipit}
[startup]                {qasmixer}
#[startup]                {volumeicon}
[startup]                {kdesu konsole}
#[startup]                {kwikdisk}
[group]  (workspace=[current])
 [app] (name=Navigator) (name=Navigator)
# [app] (name=xterm)
 [app] (name=roxterm)
 [app] (name=Terminal)
 [app] (name=gnome-commander)
 [app] (name=konsole)
 [app] (name=uzbl-browser)
# [app] (name=medit)
 [app] (name=scite)
 [app] (name=xfe)
  [Dimensions]	{1639 1070}
  [Position]	(UPPERLEFT)	{3 3}
[end]
[group]  
     [app] (xterm)
         [Layer] {4}
 [end]
[app] (name=ROX-Filer) (class=ROX-Filer) (role=/home/kruppt)
  [Dimensions]	{879 902}
  [Position]	(UPPERLEFT)	{560 71}
[end]
[app] (name=qasmixer) (class=Qasmixer)
  [Alpha]	{255}
[end]
[app] (name=ROX-Filer) (class=ROX-Filer) (role=/home/kruppt/pics)
  [Dimensions]	{1109 900}
  [Position]	(UPPERLEFT)	{418 66}
[end]
[app] (name=qtfm) (class=Qtfm)
  [Position]	(UPPERLEFT)	{5 5}
[end]

Offline

Board footer

Powered by FluxBB