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


Groups > linux.debian.user > #177987

Re: Re: Whats the alternative to .xinitrc

From Rob Brewer <debian-user@grantura.co.uk>
Newsgroups linux.debian.user
Subject Re: Re: Whats the alternative to .xinitrc
Date 2017-02-19 11:00 +0100
Message-ID <tcwrD-5MP-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


>> I am running up to date KDE Sid with SDDM but I need to start the gnome 
>> keyring at x startup to satisfy Midori dependencies.
>> 
>> The Midori FAQ suggests adding  “export `gnome-keyring-daemon –start`” to 
>> the historical .xinitrc but this seems to be ignored as does .xsession as 
>> suggested by the startx man page.
>> 
>> As .xinitrc has worked OK in the past, how do I now set the user 
>environment 
>> when X starts?
>
>My .xsessionrc is functional. The magic happens in
>   /etc/X11/Xsession.d/40x11-common_xsessionrc
>
> +-----------------------
> | # This file is sourced by Xsession(5), not executed.
> | 
> | #Source user defined xsessionrc (locales and other environment variables)
> | if [ -r "$USERXSESSIONRC" ]; then
> |   . "$USERXSESSIONRC"
> | fi
> +-----------------------
>
>Attention: I'm running SysV init -- perhaps things are different in other
>settings.

Thank you for your help, I was wrong footed by the man page which suggested 
using .xsession not .xsessionrc so I guess the man page needs an update. Looks 
like it is now OK after changing to .xsessionrc.

Also sorry for the double posting, I has DNS problems which caused me to be 
unsubscribed and I didn't see the replies.

Rob

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


Thread

Re: Re: Whats the alternative to .xinitrc Rob Brewer <debian-user@grantura.co.uk> - 2017-02-19 11:00 +0100
  Re: Re: Whats the alternative to .xinitrc <tomas@tuxteam.de> - 2017-02-19 13:00 +0100
  Re: Re: Whats the alternative to .xinitrc Brian <ad44@cityscape.co.uk> - 2017-02-19 21:00 +0100

csiph-web