uzbl & twm: geometry issue

poma pomidorabelisima at gmail.com
Thu Oct 30 07:33:05 UTC 2014


On 30.10.2014 07:53, Hiisi wrote:
> Hi, list!
> I'm trying to configure my twm installation. According to [1] I've created
> .Xclients in my home directory with the following content:
> XCLIENTS_D=/etc/X11/xinit/Xclients.d
> if [ "$#" -eq 1 ] && [ -x "$XCLIENTS_D/Xclients.$1.sh" ]; then
>     exec -l $SHELL -c "$SSH_AGENT $XCLIENTS_D/Xclients.$1.sh"
> fi
> 
> # Failsafe.
> 
> # these files are left sitting around by TheNextLevel.
> rm -f $HOME/Xrootenv.0
> 
> # Argh! Nothing good is installed. Fall back to twm
> {
>     # gosh, neither fvwm95 nor fvwm2 is available;
>     # fall back to failsafe settings
>     [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'
> 
>     if [ -x /usr/bin/xclock ] ; then
>     /usr/bin/xclock -geometry 130x130-5+5 &
>     fi
>     if [ -x /usr/bin/xcalc ] ; then
>     /usr/bin/xcalc -geometry 200x250-1710+780 &
>     fi
>     if [ -x /usr/bin/xterm ] ; then
>         /usr/bin/xterm -geometry 80x50-50+170 &
>     fi
>     if [ -x /usr/bin/uzbl-tabbed ] ; then
>     /usr/bin/uzbl-tabbed &
>     fi
>     if [ -x /usr/bin/twm ] ; then
>     exec /usr/bin/twm
>     fi
> }
> 
> Everything works fine except that when twm is loading I have to point with
> mouse click where uzbl-tabbed browser window should be placed.
> Is there any way to configure an automatic window position? If I'm trying
> -geometry option it doesn't start at all. Why is that?
> TIA
> REFERENCES:
> 1.
> http://docs.fedoraproject.org/en-US/Fedora/13/html/Deployment_Guide/s1-x-runlevels.html
> 

Fedora XIII & runlevels. :)

BTW what is this machine?


poma




More information about the users mailing list