WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: query regaring polish keyboard  (Read 6265 times)

Offline si_hussain1

  • Newbie
  • *
  • Posts: 44
Re: query regaring polish keyboard
« Reply #15 on: February 12, 2010, 04:12:25 AM »
Hi,
   I tried this xrandr --output VGA-0 --mode 1280x800. But it doesnt seem to be doing anyything. It just comes to next line. Anyways, i was using the below script to restart the X after changing the resolution.
  killall wbar; killall jwm, killall Xvesa; sleep 2; wbar.sh; startx &

I need to do something similar to restart Xorg. Any suggestions on this?.
I wish xrandr had worked.

Thanks

Offline si_hussain1

  • Newbie
  • *
  • Posts: 44
Re: query regaring polish keyboard
« Reply #16 on: February 22, 2010, 02:07:49 AM »
Hi,
  I figured out a way to restart Xorg through script. It might be an unhealthy method, but it server my purpose. The problem is that we dont have the control over the next line of the script when Xorg is killed , so that we restart the Xorg. The trick i used is that, i launched a script in the background before killing Xorg. This scripts if in while loop and checks if Xorg is killed. As  soon as it is killed, it launches the Xorg again and exits.
  This way, i was able to simulate the restart of Xorg after resolution change.