uzbl & twm: geometry issue

Hiisi hiisi at fedoraproject.org
Thu Oct 30 06:53:07 UTC 2014


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
-- 
Hiisi.
Registered Linux User #487982. Be counted at: https://linuxcounter.net/
--
Spandex is a privilege, not a right.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20141030/ba934393/attachment-0001.html>


More information about the users mailing list