Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.slackware    |    I think its the one without Selinux crap    |    87,272 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 85,986 of 87,272    |
|    Aragorn to All    |
|    Re: More foot-in-mouth-disease ..Re: wha    |
|    17 Sep 22 14:32:01    |
      From: telcontar@duck.com              On 17.09.2022 at 07:58, bad sector scribbled:              > On 9/16/22 9:49 PM, Henrik Carlqvist wrote:       >        > > Even the fact that you can test for the DISPLAY variable in files       > > like .profile or .bashrc does not mean that they are a good choice       > > for starting X applications. Better choices would be .xinitrc,       > > .xsessionrc or any autostart functionality of your desktop       > > environment.       > >        > > Your .bashrc will be run every time you start a new bash, this       > > includes every time you open a new terminal.       > >        > > Also your .profile will be run every time you open a new terminal       > > if the terminal is configured to run as a login shell.       > >        > > Would you want a new pair of xeyes for every terminal that you open?       >        > I finally got it sorted out:               No, you didn't. ;)               What you did was work around the problem because for some reason you       don't want to do it the right way, which is to add the command to start       X11-based applications to your ~/.xinitrc or — as Henrik remarked above       — the autostart functionality of your desktop environment. The latter       approach actually bears preference for starting something like xeyes —       ~/.xinitrc is actually better left for setting things like your keyboard       repeat rate, or for (re)assigning certain keys on your keyboard, or       something similar.              ~/.profile is not the place to start applications, least of all       applications that require the X server to be running. ~/.profile is       where you set environment variables for your user account that must take       effect upon login, and where you then also export them.              --        With respect,       = Aragorn =              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca