SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-04 16:09:45

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

wmfs2 guide

Some of you guys requested that I make a WMFS2 thread so here it is =]

WMFS2 is still in beta but in my experience I have had no bugs or issues (well none that cannot be solved very easily) The wmfs community is small but helpful and the dev is usually always found on freenode #wmfs (xorg62).

Now for the install. WMFS must be installed from source in crunchbang as it is not yet in the repo (surprisingly) it can be downloaded here though I recommend using git. You will need to install the following dependancies.

sudo apt-get install git-core libimlib2-dev build-essential libxinerama-dev libx11-dev

1. Run "git clone git://github.com/xorg62/wmfs.git" in your terminal without the quotes (or you can get the tarball from the above link)
2. Now cd into the wmfs file (if you grabbed the tarball then extract and cd into that)
3. The usual install...

./configure -h
./configure
make
sudo make install

and done!

Now the next part. I am not sure whether WMFS is listed in GDM but I use .xinitrc. If you do not know what .xinitrc is then consult this

It is basically along the lines of:

#!/bin/bash
#xinitrc file

#List programs to execute on startup (making sure to add & to the end of each command)
# some program
program &
#some program
program &

#Execute the window manager (make sure this is at the end of the file!)
exec wmfs

Now save your .xinitrc to ~/ and run "chmod +x ~/.xinitrc" in a terminal without the quotes. Now run "ln ~/.xinitrc ~/.xsession" this will link .xinitrc to .xsession for use in GDM however if this fails then you probably already have an .xsession file so delete it "rm ~/.xsession" and run the last command again.

Now logout and select "Run Xclient Script" in the window manager list and login. You should be greeted with the wmfs default desktop which has the numbers 1 > 9 in the top left. wmfs does not have a config file for a user instead it uses the default. So copy that over by running "cp /usr/local/etc/xdg/wmfs/wmfsrc ~/.config/wmfs/wmfsrc" now you can use your prefered text editor to edit colors, keybindings etc. Here is mine for reference or for you to edit.

#
# WMFS2 configuration file
#

# Possible file inclusion:
# @include "file"

# Multi theme section
[themes]

  [theme]
     # No name mean default
     # name = "default"

     font = "nu"

     # Bars
     bars_width = 14
     bars_fg = "#D3D3D3"
     bars_bg = "#141414"

     # Element tags
     tags_normal_fg = "#D3D3D3"
     tags_normal_bg = "#141414"
     # tags_normal_statusline = ""

     tags_sel_fg    = "#D3D3D3"
     tags_sel_bg    = "#222222"
     tags_sel_statusline = "\R[0;0;100;1;#537814]"

     tags_occupied_fg = "#D3D3D3"
     tags_occupied_bg = "#141414"
     tags_occupied_statusline = "\R[0;0;100;1;#354D0D]"

     tags_urgent_fg    = "#CC0000"
     tags_urgent_bg    = "#111111"
     tags_urgent_statusline = "\R[0;0;100;1;#CC0000]"

     tags_border_color = "#000000"
     tags_border_width = 0

     # Frame / Client
     client_normal_fg = "#D3D3D3"
     client_normal_bg = "#111111"
     client_normal_statusline = "\s[left;#537814; ] \s[right;#537814; <](1;tag_move_client_prev)(2;tag_move_client_prev)(2;tag_prev) \s[right;#537814; >](1;tag_move_client_next)(2;tag_move_client_next)(2;tag_next) \s[right;#537814; #](1;client_toggle_free) \s[right;#537814; X ](1;client_close)"

     client_sel_fg = "#537814"
     client_sel_bg = "#111111"
     client_sel_statusline = "\s[left;#537814; ] \s[right;#537814; <](1;tag_move_client_prev)(2;tag_move_client_prev)(2;tag_prev) \s[right;#537814; >](1;tag_move_client_next)(2;tag_move_client_next)(2;tag_next) \s[right;#537814; #](1;client_toggle_free) \s[right;#537814; X ](1;client_close)"

     client_free_statusline       = "\s[left;#537814; ] \s[right;#537814; <](1;tag_move_client_prev)(2;tag_move_client_prev)(2;tag_prev) \s[right;#537814; >](1;tag_move_client_next)(2;tag_move_client_next)(2;tag_next) \s[right;#537814; #](1;client_toggle_free) \s[right;#537814; X ](1;client_close)"

     frame_bg = "#141414"
     client_titlebar_width = 14
     client_border_width = 1

   [/theme]

[/themes]

[bars]

  # Position:
  #
  # 0  Top
  # 1  Bottom
  # 2  Hide

  # Element type:
  #
  # t  Tags
  # s  Statustext (will take available space)
  # y  Systray (can be set only ONE time among all element)
  # l  Launcher (will be expended at launcher use)

  [bar]
     name = "topbar"
     position = 0
     screen = 0
     elements = "tyls"   # element order in bar
     theme = "default"
     border = true
  [/bar]

# [bar]
#    position = 0
#    screen = 1
#    elements = "ts"
#    theme = "default"
# [/bar]

[/bars]

[tags]

  # Use no screen option or screen = -1 to set tag on each screen
  [tag]
      screen = -1
      name = "ein"
      # statusline=""
  [/tag]

  [tag] name = "tveir" [/tag]
  [tag] name = "prir" [/tag]
  [tag] name = "fjorir" [/tag]

  # Mousebinds associated to Tags element button
  [mouse] button = "1" func = "tag_click" [/mouse]
  [mouse] button = "4" func = "tag_next"  [/mouse]
  [mouse] button = "5" func = "tag_prev"  [/mouse]

[/tags]

[client]

  theme = "default"
  key_modifier = "Mod4"
  # Space between tiled clients
  padding = 0
  border_shadow        = false

  [mouse] button = "1" func = "client_focus_click"    [/mouse]
  [mouse] button = "1" func = "mouse_swap"            [/mouse]
  [mouse] button = "2" func = "mouse_tab"             [/mouse]
  [mouse] button = "3" func = "mouse_resize"          [/mouse]
  [mouse] button = "4" func = "client_focus_next_tab" [/mouse]
  [mouse] button = "5" func = "client_focus_prev_tab" [/mouse]

[/client]

[rules]

  [rule]
      instance = "chromium"

      # role   = ""
      # name   = ""
      # theme  = "default"

      tag    = 1  # 2nd tag
      screen = 0

      free       = false
      tab        = false
      ignore_tag = false
  [/rule]
  
  [rule]
      instance = "gimp"

      # role   = ""
      # name   = "gimp"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
  [/rule]
  
  [rule]
      instance = "thunar"

      # role   = ""
      name   = "thunar"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
  [/rule]
  
  [rule]
      instance = "gnome-mplayer"

      # role   = ""
      name   = "gnome-mplayer"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
  [/rule]
  
  [rule]
      instance = "xv"

      # role   = ""
      # name   = "mplayer"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
  [/rule]

  [rule]
      instance = "lxappearance"

      # role   = ""
      # name   = "lxappearance"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]

  [rule]
      instance = "nitrogen"

      # role   = ""
      # name   = "nitrogen"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
  [/rule]
  
  [rule]
      instance = "feh"

      # role   = ""
      # name   = "feh"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
   
   [rule]
      instance = "transmission"

      # role   = ""
      # name   = "transmission"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
   
   [rule]
      instance = "geany"

      # role   = ""
      # name   = "geany"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
   
   [rule]
      instance = "rox-filer"

      # role   = ""
      # name   = "rox-filer"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
   
   [rule]
      instance = "viewnior"

      # role   = ""
      # name   = "viewnior"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
   
   [rule]
      instance = "deadbeef"

      # role   = ""
      # name   = "deadbeef"
      # theme  = "default"

      screen = 0

      free       = true
      tab        = false
      ignore_tag = false
   [/rule]
  
#  [rule]
#      instance = "urxvt"
#
#      # role   = ""
#      # name   = "urxvt"
#      # theme  = "default"
#
#      free       = true
#      tab        = false
#      ignore_tag = false
# [/rule]

[/rules]

[launchers]

  # command can be an uicb function or an uicb function + extension (see example)
  [launcher]
     name = "exec"
     prompt = " Run:"

     # Example of uicb + ext:
     #   command = "spawn xterm -e"
     command = "spawn"

     width = 150
  [/launcher]

[/launchers]

[keys]
  # Terminal
  [key] mod = {"Super"} key = "t" func = "spawn" cmd = "urxvt || xterm" [/key]
  # Gmrun
  [key] mod = {"Alt"} key = "F2" func = "spawn" cmd = "gmrun" [/key]
  # Dmenu
  [key] mod = {"Super"} key = "p" func = "spawn" cmd = "~/.config/dmenu/dmenu-bind.sh" [/key]
  # Thunar
  [key] mod = {"Super"} key = "f" func = "spawn" cmd = "thunar" [/key]
  # Geany
  [key] mod = {"Super"} key = "e" func = "spawn" cmd = "geany" [/key]
  # Default Browser
  [key] mod = {"Super"} key = "w" func = "spawn" cmd = "x-www-browser" [/key]
  # Gnome-Mplayer
  [key] mod = {"Super"} key = "m" func = "spawn" cmd = "gnome-mplayer" [/key]

  [key] mod = {"Super", "Shift"} key = "q" func = "quit" [/key]
  [key] mod = {"Super"} key = "q" func = "reload" [/key]

  # Tag manipulation
  [key] mod = {"Super"} key = "1" func = "tag_set" cmd = "0" [/key]
  [key] mod = {"Super"} key = "2" func = "tag_set" cmd = "1" [/key]
  [key] mod = {"Super"} key = "3" func = "tag_set" cmd = "2" [/key]
  [key] mod = {"Super"} key = "4" func = "tag_set" cmd = "3" [/key]

  [key] mod = {"Super", "Shift"} key = "1" func = "tag_client" cmd = "0" [/key]
  [key] mod = {"Super", "Shift"} key = "2" func = "tag_client" cmd = "1" [/key]
  [key] mod = {"Super", "Shift"} key = "3" func = "tag_client" cmd = "2" [/key]
  [key] mod = {"Super", "Shift"} key = "4" func = "tag_client" cmd = "3" [/key]

  [key] mod = {"Super"} key = "minus" func = "tag_del" [/key]
  [key] mod = {"Super", "Shift"} key = "minus" func = "tag_new" [/key]

  # tag function: cmd = nameofthetag
  #[key] mod = {"Super"} key = "z" func = "tag" cmd = "2" [/key]

  [key] mod = {"Super"} key = "Right" func = "tag_next" [/key]
  [key] mod = {"Super"} key = "Left"  func = "tag_prev" [/key]

  [key] mod = {"Control"} key = "Up"  func = "screen_next" [/key]
  [key] mod = {"Control"} key = "Down" func = "screen_prev" [/key]

  [key] mod = {"Super"} key = "x" func = "client_close" [/key]

  # Focus next / prev client and next / prev tabbed client
  [key] mod = { "Super" }            key = "Tab" func = "client_focus_next" [/key]
  [key] mod = { "Super", "Shift" }   key = "Tab" func = "client_focus_prev" [/key]
  [key] mod = { "Super" }          key = "Tab" func = "client_focus_next_tab" [/key]
  [key] mod = { "Super", "Shift" } key = "Tab" func = "client_focus_prev_tab" [/key]

  # Focus next client with direction
  [key] mod = {"Alt"} key = "h" func = "client_focus_left"   [/key]
  [key] mod = {"Alt"} key = "l" func = "client_focus_right"  [/key]
  [key] mod = {"Alt"} key = "k" func = "client_focus_top"    [/key]
  [key] mod = {"Alt"} key = "j" func = "client_focus_bottom" [/key]

  # swap next client with direction:
  [key] mod = {"Control", "Shift"} key = "h" func = "client_swap_left"   [/key]
  [key] mod = {"Control", "Shift"} key = "l" func = "client_swap_right"  [/key]
  [key] mod = {"Control", "Shift"} key = "k" func = "client_swap_top"    [/key]
  [key] mod = {"Control", "Shift"} key = "j" func = "client_swap_bottom" [/key]

  # Resize selected tiled client with direction
  [key] mod = {"Super"} key = "h" func = "client_resize_left"   cmd = "20" [/key]
  [key] mod = {"Super"} key = "l" func = "client_resize_left"   cmd = "-20" [/key]
  [key] mod = {"Super"} key = "k" func = "client_resize_top"    cmd = "20" [/key]
  [key] mod = {"Super"} key = "j" func = "client_resize_top"    cmd = "-20" [/key]
  [key] mod = {"Super", "Control"} key = "h" func = "client_resize_right"  cmd = "-20" [/key]
  [key] mod = {"Super", "Control"} key = "l" func = "client_resize_right"  cmd = "20" [/key]
  [key] mod = {"Super", "Control"} key = "k" func = "client_resize_bottom" cmd = "-20" [/key]
  [key] mod = {"Super", "Control"} key = "j" func = "client_resize_bottom" cmd = "20" [/key]

  # Tabbing command
  [key] mod = {"Alt", "Shift"} key = "h" func = "client_tab_left"   [/key]
  [key] mod = {"Alt", "Shift"} key = "l" func = "client_tab_right"  [/key]
  [key] mod = {"Alt", "Shift"} key = "k" func = "client_tab_top"    [/key]
  [key] mod = {"Alt", "Shift"} key = "j" func = "client_tab_bottom" [/key]
  [key] mod = {"Alt", "Shift"} key = "u" func = "client_untab" [/key]
  [key] mod = {"Super"}        key = "Return" func = "client_tab_next_opened" [/key]

  # Layout manipulation
  [key] mod = {"Super"}          key = "m" func = "layout_vmirror" [/key]
  [key] mod = {"Super", "Shift"} key = "m" func = "layout_hmirror" [/key]
  [key] mod = {"Super"}          key = "r" func = "layout_rotate_right" [/key]
  [key] mod = {"Super", "Shift"} key = "r" func = "layout_rotate_left" [/key]

  [key] mod = {"Control", "Super", "Alt"} key = "h" func = "layout_integrate_left" [/key]
  [key] mod = {"Control", "Super", "Alt"} key = "j" func = "layout_integrate_bottom" [/key]
  [key] mod = {"Control", "Super", "Alt"} key = "k" func = "layout_integrate_top" [/key]
  [key] mod = {"Control", "Super", "Alt"} key = "l" func = "layout_integrate_right" [/key]

  # Layout set historic travelling function (TESTING)
  [key] mod = {"Super"} key = "o" func = "layout_prev_set" [/key]
  [key] mod = {"Super", "Shift"} key = "o" func = "layout_next_set" [/key]

  # Toggle client free/tile
  [key] mod = {"Super"} key = "space" func = "client_toggle_free" [/key]

  # Launcher
  [key] mod = {"Alt"} key = "F3" func = "launcher" cmd = "exec" [/key]

[/keys]

After your edits, save and and restart wmfs.

wmfs has a really cool feature...you can pipe conky into the top bar!
Here is mine which will need editing! I save mine as the usual ~/.conkyrc

##############################################
#  Settings
##############################################
background no
out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
uppercase no
short_units yes
use_spacer none
if_up_strictness address
##############################################
#  Output
##############################################
TEXT
${if_mpd_playing}^s[right;\#D3D3D3; ${mpd_artist} :](1;spawn;urxvtc -e ncmpcpp) ^s[right;\#537814; ${mpd_title}] ^s[right;\#444444; *]${endif}\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;cpu:](1;spawn;urxvtc -e htop) ^s[right;\#444444; ${cpu}% ]\
${if_match ${cpu} < 80 }^g[right;40;8;${cpu};100;\#222222;\#537814;ckycpu] ${else}^g[right;40;8;${cpu};100;\#222222;\#CC0000;ckycpu] ${endif}\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;ram:](1;spawn;urxvt -e htop) ^s[right;\#444444; $memperc% ] ^p[right;40;8;1;${memperc};100;\#222222;\#537814;ckymem]\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;hdd:](1;spawn;urxvt -e ncdu) ^s[right;\#444444; ${fs_used_perc /}% ] ^p[right;40;8;1;${fs_used_perc /};100;\#222222;\#537814;ckyhdd]\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;bat:] ^s[right;\#444444; ${battery_percent BAT0}% ]\
${if_match ${battery_percent BAT0} > 20 }^p[right;40;8;1;${battery_percent BAT0};100;\#222222;\#537814;ckybat] ${else}^p[right;40;8;1;${battery_percent BAT0};100;\#222222;\#CC0000;ckybat] ${endif}\
^s[right;\#141414; ]\
${if_up wlan0}^s[right;\#D3D3D3;mail:](1;spawn;x-www-browser https://mail.google.com/mail/%23inbox) ^s[right;\#444444; ${execpi 60 python /home/xenull/bin/gmail.py}]\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;rx:] ^s[right;\#444444; ${upspeedf wlan0}]\
^s[right;\#141414; ]\
^s[right;\#D3D3D3;tx:] ^s[right;\#444444; ${downspeedf wlan0}]\
^s[right;\#141414; ]${endif}\
^s[right;\#D3D3D3;${time %H:%M:%S }](1;spawn;dzen_cal.sh)\

to use this conky you need to add this to your ~/.xinitrc file

(conky -q | while read LINE; do wmfs -c status "topbar $LINE"; done) &

This basically just says conky go to the statusbar named topbar! (which you can define in the bars section of your wmfsrc) and the strange formatting is parsed by wmfs and shows as graphs, bars, clickable areas etc,

I will add to this if I need to otherwise just tell me anything else you need help with below =]

Here is a small preview of my desktop.
2012-04-04--1333555945.png

Last edited by xeNULL (2012-04-07 00:43:32)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

Be excellent to each other!

#2 2012-04-04 17:36:13

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 767

Re: wmfs2 guide

Good thread to start; nice set up.

Looks like they have changed the config file with wmfs2. How does wmfs2 handle tabbing now? It use to be a layout option.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#3 2012-04-04 17:37:30

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 2,671

Re: wmfs2 guide

Nice guide.

I wasn't impressed with the first wmfs. It was just too hungry and buggy compared to other tilers. But judging from the website, this wmfs2 is really something. I saw Arnault's (arpinux) name there and went over to check out his configs, and his statusbar is just insane!!... in a good way, I mean. Typical Arp.

A bit too maximal for me, but I like the ideas and how they're presented. Definitely a step-up from the first wmfs. Plus, it's distributed under the correct license. =]

Props.

Last edited by gutterslob (2012-04-04 17:40:30)


Point & Squirt

Offline

#4 2012-04-04 17:44:28

Unia
#! Die Hard
From: The Netherlands
Registered: 2010-07-17
Posts: 3,176

Re: wmfs2 guide

Typo:

xeNULL wrote:

Now save your .xinitrc to ~/ and run "chmod +x ~/.xinitrc" in a terminal without the quotes. Now run "ln ~/.xinirc ~/.xsession" this will link .xinitrc to .xsession for use in GDM however if this fails then you probably already have an .xsession file so delete it "rm ~/.xsession" and run the last command again.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
      Github || Deviantart

Offline

#5 2012-04-07 00:44:58

xeNULL
#! Pirate
From: The Internet
Registered: 2011-01-23
Posts: 811

Re: wmfs2 guide

Unia wrote:

Typo:

xeNULL wrote:

Now save your .xinitrc to ~/ and run "chmod +x ~/.xinitrc" in a terminal without the quotes. Now run "ln ~/.xinirc ~/.xsession" this will link .xinitrc to .xsession for use in GDM however if this fails then you probably already have an .xsession file so delete it "rm ~/.xsession" and run the last command again.

Edited =] Thanks for pointing that out.

@Packrat: As far as I know layouts are now on the fly and by tabbing I assume you mean the top left buttons. Well I use "Super + Left/Right" to switch desktops but you can also click the tab to change desktop.

@Gutterslob: I never did try wmfs but judging by your opinion I am glad I started on version 2. Thanks for your input =]

Last edited by xeNULL (2012-04-07 00:49:27)


AKA xii on #crunchbang #!WMFS2
dotshare | dA | 1 1 0 1 0 1 0 0 0

Offline

#6 2012-04-07 01:54:38

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 767

Re: wmfs2 guide

I think I'm mixing my wm's up; I thought wmfs had a tabbing layout like i3.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#7 2012-04-07 01:59:48

2ManyDogs
dv#!
From: elsewhere
Registered: 2011-11-22
Posts: 1,346

Re: wmfs2 guide

PackRat wrote:

I think I'm mixing my wm's up; I thought wmfs had a tabbing layout like i3.

You mean tabs like this? (bottom tile has three tabs, only one visible window):

2012_03_17_135509_1280x1024_scrot.jpg

here are the default keybindings for tabbing:

 # Tabbing command
  [key] mod = {"Alt", "Shift"} key = "h" func = "client_tab_left"   [/key]
  [key] mod = {"Alt", "Shift"} key = "l" func = "client_tab_right"  [/key]
  [key] mod = {"Alt", "Shift"} key = "k" func = "client_tab_top"    [/key]
  [key] mod = {"Alt", "Shift"} key = "j" func = "client_tab_bottom" [/key]
  [key] mod = {"Alt", "Shift"} key = "u" func = "client_untab" [/key]
  [key] mod = {"Super"}        key = "t" func = "client_tab_next_opened" [/key]

So if you have one window on top of another (with the bottom one focused):

2012_04_06_192224_1280x1024_scrot.jpg

and you press alt+shift+k you get a combined tabbed window:

2012_04_06_192328_1280x1024_scrot.jpg

does that help?

(edit) and now I remember what I like about wmfs --
just the right combination of key binds and mouse moves --
dammit... just when I'd settled on musca... hmm

maybe i'll leave wmfs as the default on the test box for a while...

Last edited by 2ManyDogs (2012-04-07 03:04:44)


Be eggsalad to each other.

Offline

#8 2012-04-07 03:28:48

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 767

Re: wmfs2 guide

@2manydogs - that would be it; I seem to recall being able to set that as default in wmfs.

Giving wmfs2 a look:

aatoiTqP.jpg


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#9 2012-04-07 04:03:58

2ManyDogs
dv#!
From: elsewhere
Registered: 2011-11-22
Posts: 1,346

Re: wmfs2 guide

^^ nice; thanks for the wmfsrc...

Last edited by 2ManyDogs (2012-04-07 04:07:18)


Be eggsalad to each other.

Offline

#10 2012-04-15 21:59:52

dinner
Member
Registered: 2012-03-15
Posts: 20

Re: wmfs2 guide

Got a few probs,

First, my web browser (iceweasel) always spawns(from super+p) in the current tag im in, instead of the 2nd tag

  
  [rule]
    instance = "x-www-browser"
    tag    = 1  # 2nd tag
    free = false
  [/rule]
  
  [rule]
    instance = "Iceweasel"
    tag = 1
    free = false
  [/rule]
  

Every other rule I have works, spawns the program in the correct tag, except for my browser, which gets annoying at times.


The 2nd, how do I get the menu working?

  

[menu]
        # Default menu, binded on the root window, button 3.
        [set_menu]
                name = "rootmenu"

                # place_at_mouse = false
                # x = 40 y = 50

                # Available "center", "left", "right" menu align. Default: "center".
                align = "left"

                fg_focus  = "#191919" bg_focus  = "#7E89A2"
                fg_normal = "#9F9AB3" bg_normal = "#191919"

                [item] name = "Applications" submenu = "appmenu"                                     [/item]
                [item] name = "Shutdown"        func = "spawn" cmd = "urxvt -e sudo shutdown -h now" [/item]
                [item] name = "Restart"         func = "spawn" cmd = "urxvt -e sudo shutdown -r now" [/item]  
        [/set_menu]

        [set_menu]
                name = "appmenu"
                align = "left"

                fg_focus  = "#191919" bg_focus  = "#7E89A2"
                fg_normal = "#9F9AB3" bg_normal = "#191919"

                [item] name = "Browser"         func = "spawn" cmd = "x-www-browser"           [/item]
                [item] name = "Terminal"        func = "spawn" cmd = "terminator"              [/item]
                [item] name = "File Manager"    func = "spawn" cmd = "urxvt -e thunar"        [/item]
                [item] name = "Volume Control"  func = "spawn" cmd = "urxvt -e alsamixer" [/item]
        [/set_menu]

        [set_menu]
                name = "clientmenu"

                fg_focus  = "#D4D4D4" bg_focus  = "#003366"
                fg_normal = "#D4D4D4" bg_normal = "#191919"

                # Check items: possible 'check_max' or 'check_free'.
                [item] name = "Close"    func = "client_kill"                      [/item]
                [item] name = "Maximize" func = "toggle_max"  check = "check_max"  [/item]
                [item] name = "Free"     func = "toggle_free" check = "check_free" [/item]
        [/set_menu]
[/menu]

Whaat button do I press to get it to pop up?

Offline

#11 2012-04-16 02:47:30

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 767

Re: wmfs2 guide

@dinner -

For your browser, try using "Navigator" instead of "Iceweasel" for the instance (needs to be the first part of WM_CLASS output from xprop). I think you can add:

class = "Iceweasel"

as a separate line in the rule.

https://github.com/xorg62/wmfs/wiki/Con … ion-wmfsrc

Last edited by PackRat (2012-04-16 02:48:32)


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#12 2012-06-28 09:07:53

ChickenPie4Tea
#! Junkie
Registered: 2012-02-17
Posts: 338

Re: wmfs2 guide

how do you start apps up with it on login?
like nm-applet
is there a separate startup file or do you put entries in the config?
oh and is there a command to make a window full screen?


Troll = not a fanatic

Offline

#13 2013-02-28 09:04:26

powderedtoastman
New Member
Registered: 2013-02-25
Posts: 1

Re: wmfs2 guide

I have tried wmfs2 on 2 debian installations, antiX and Crunchbang and found that the tag numbers in the stausbar don't work properly on either one. When switching screens the tag number of the screen switched to should become "highlighted", but it does not.
When running wmfs2 with xephyr the tag numbers work fine. I was wondering if anyone had any luck with this or if it is a debian issue with wmfs2.

my wmfsrc

2013-02-25-1252191024x768scrot.png

Last edited by powderedtoastman (2013-02-28 09:41:56)

Offline

#14 2013-02-28 11:44:34

gutterslob
#! Resident Bum
Registered: 2009-11-03
Posts: 2,671

Re: wmfs2 guide

^ While I personally can't help you, since I don't use wmfs2, maybe you should check out arp's site. His distro employs wmfs2 (among other WMs) and is Debian based, so you might be able to find some dotfiles/configs, or perhaps get support from the man himself at their forums.

http://arpinux.org/arpinux_reloaded/


Point & Squirt

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo