You are not logged in.
I am a new user of the wmii tiling window manager. I want to autostart an application in its own view as a floating window, after wmii has loaded (not using .xinitrc). I gather this should go somewhere in ~/.wmii-3.5/wmiirc but am unsure what section of the config file this action needs to be in.
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
To start something from within the wmiirc, it should be after "# Misc" (line 205 here) with "&" behind to fork it.
But why don't you start it from .xinitrc? Maybe with
( sleep 4 && program_name ) &
To make it floating, you need to edit the "# Tagging rules" (line 28 here)
/program_name.*/ -> ~
"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton
Offline
mmm right now I just started to use wmii, but still don't know where to write the code to make the application start.
if I want to make pidgin autostart from the wmiirc, what should I write?
my #Misc part
# Misc
progsfile="$(wmiir namespace)/.proglist"
action status &
wi_proglist $PATH >$progsfile &
Offline
# Misc
progsfile="$(wmiir namespace)/.proglist"
action status &
wi_proglist $PATH >$progsfile &
# Autostart
pidgin &
If you want to take it to the next level and start pidgin on a specific tag you could do something like this
# Autostart
wmiir xwrite /ctl view "4";pidgin &
this would switch to tag 4 then start pidgin.
Last edited by tjwoosta (2010-07-21 19:31:17)
Offline