You are not logged in.

#1 2012-12-09 01:30:09

ems5311
Member
Registered: 2009-10-27
Posts: 6

Complete noob, cannot get the most basic thing in wmfs to work

Hi all, I just installed arch today and installed wmfs. I have used Ubuntu and Gnome for years and want to try out a WM like wmfs. Problem is I can't even get the date and time to show up on the statusbar. I cannot figure out how to execute a bash script to run with wmfs. If I run startup.sh from the command line it works just fine, but I can't get it to work for the life of me when startx is run.
I've tried making a .xinitrc that looks like:

$HOME/path/to/script.sh
exec wmfs

That didn't work, so I tried:

exec wmfs &
wmpid=$! # Here, we save the PID of wmfs
$HOME/.local/bin/status.sh
wait $wmpid

as per the recommendation of this page. No dice with either (the script is chmod'd executable), with both of them wmfs launches (and a custom wmfsrc gets read), but the script just doesn't get run. What am I missing here?

Last edited by ems5311 (2012-12-09 01:33:51)

Offline

#2 2012-12-09 01:43:10

brebs
Member
Registered: 2007-04-03
Posts: 3,412

Re: Complete noob, cannot get the most basic thing in wmfs to work

Don't use the "exec" command until you understand what it does wink

It's stopping the rest of your script from running.

Offline

Board footer

Powered by FluxBB