Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178027

Re: Whats the alternative to .xinitrc

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: Whats the alternative to .xinitrc
Date 2017-02-20 16:20 +0100
Message-ID <tcXUS-6k9-21@gated-at.bofh.it> (permalink)
References (5 earlier) <tcUDE-48G-23@gated-at.bofh.it> <tcVq2-4F1-15@gated-at.bofh.it> <tcVq2-4F1-13@gated-at.bofh.it> <tcWm6-5gN-13@gated-at.bofh.it> <tcWm6-5gN-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017-02-20 08:34:23 -0500, Greg Wooledge wrote:
> If you need a home directory that will work consistently across different
> operating systems, then I *strongly* suggest you stick with startx and
> make .xinitrc a symlink to .xsession for backwards compatibility.

This what I did in the past, but this means that when startx is
used under Debian, the Xsession settings will not be run. This may
or may not be what the user wants. If you want Xsession settings
under Debian, then having a .xinitrc script that contains:

#!/bin/sh
if [ -r $HOME/.xsession ]; then
  STARTUP=$HOME/.xsession
fi
. /etc/X11/Xsession

may be the solution. I have not tried. There might be other things to
do, but you get the idea. On other systems, a symlink to .xsession may
be OK.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Whats the alternative to .xinitrc Bob Brewer <granturav8@gmail.com> - 2017-02-18 19:20 +0100
  Re: Whats the alternative to .xinitrc <tomas@tuxteam.de> - 2017-02-18 21:30 +0100
  Re: Whats the alternative to .xinitrc Brian <ad44@cityscape.co.uk> - 2017-02-18 22:10 +0100
    Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-19 11:10 +0100
      Re: Whats the alternative to .xinitrc Brian <ad44@cityscape.co.uk> - 2017-02-19 21:00 +0100
        Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 12:10 +0100
          Re: Whats the alternative to .xinitrc <tomas@tuxteam.de> - 2017-02-20 12:50 +0100
            Re: Whats the alternative to .xinitrc <tomas@tuxteam.de> - 2017-02-20 13:40 +0100
              Re: Whats the alternative to .xinitrc Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-20 14:40 +0100
                Re: Whats the alternative to .xinitrc Rob Brewer <ipcop-user@grantura.co.uk> - 2017-02-20 15:10 +0100
                Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 16:20 +0100
              Re: Whats the alternative to .xinitrc Rob Brewer <ipcop-user@grantura.co.uk> - 2017-02-20 14:40 +0100
                Re: Whats the alternative to .xinitrc <tomas@tuxteam.de> - 2017-02-20 15:00 +0100
            Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 13:40 +0100
              Re: Whats the alternative to .xinitrc Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-20 14:30 +0100
                Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 16:10 +0100
                Re: Whats the alternative to .xinitrc Greg Wooledge <wooledg@eeg.ccf.org> - 2017-02-20 16:20 +0100
                Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 16:40 +0100
                Re: Whats the alternative to .xinitrc Vincent Lefevre <vincent@vinc17.net> - 2017-02-20 16:50 +0100

csiph-web