On 05/16/2012 02:18 AM, Germán Arias wrote:
Thanks, this solve the problem. That was the first thing I tried, but
don't worked. Now, after a second chance,
I noticed that inadvertently I copied a line at autostart file that
was causing the problem. (I have a lot of lines
on my autostart file, to configure the environment). Thanks.
------------------------------------------------------------------------
*De:* "[email protected]" <[email protected]>
*Para:* Germán Arias <[email protected]>; "John H. Robinson,
IV" <[email protected]>; "[email protected]"
<[email protected]>
*Enviado:* Martes, 15 de mayo, 2012 6:35 P.M.
*Asunto:* Re: Restart windowmaker from a shell
How are you starting the x server? You should make xrandr -s 1280x1024
command executer before wmaker.
Ivan Hernandez - Kiu System Solutions
------------------------------------------------------------------------
*From: * Germán Arias <[email protected]>
*Date: *Tue, 15 May 2012 16:52:55 -0700 (PDT)
*To: *John H. Robinson, IV<[email protected]>;
[email protected]<[email protected]>
*ReplyTo: * Germán Arias <[email protected]>
*Subject: *Re: Restart windowmaker from a shell
I ask because wm don't set the screen resolution I use in Xfce. So I put:
xrandr -s 1280x1024
at autostart file. This set the correct resolution but the app dock
remains at its original coordinates. Not at the
right of the screen. So I should select "Restart Window Maker" at
wmaker menu to solve the problem. But I
would like do this at autostart file. I will test your suggestions thanks.
------------------------------------------------------------------------
*De:* "John H. Robinson, IV" <[email protected]>
*Para:* [email protected]
*Enviado:* Martes, 15 de mayo, 2012 11:51 A.M.
*Asunto:* Re: Restart windowmaker from a shell
Germ?n Arias wrote:
> How can I restart wmaker from a shsll?? Thanks.
Send a SIGUSR1 to the wmaker child process.
Something like:
$ kill -usr1 `pgrep wmaker | tail -1`
Not guaranteed to work, as it can easily grab the wrong PID.
-john
--
To unsubscribe, send mail to
[email protected]
<mailto:[email protected]>.
I don't know if this will help (don't remember what system you are
running) But on my Debian Window Maker setup I just set my screen res
via a ~/.xprofile file. I simply create the .xprofile file in my home
folder and place this command within it:
xrandr --output VGA1 --mode 1600x1200 --rate 60
Now when I start Window Maker, my screen is set to the correct res and
the dock/apps are at the correct coordinates. Keep in mind you will need
to adjust the settings for your monitor specs.
Hope that helps.