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


Groups > linux.debian.user > #263796

Re: Modify user PATH in GNOME in Debian 12

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: Modify user PATH in GNOME in Debian 12
Date 2023-11-23 16:40 +0100
Message-ID <HDjY5-7zeE-5@gated-at.bofh.it> (permalink)
References <HDeOJ-7u22-1@gated-at.bofh.it> <HDfrr-7uz8-3@gated-at.bofh.it> <HDiIG-7ylF-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 23/11/2023 21:16, Greg Wooledge wrote:
> For this setup, I'd go with the ~/.xsessionrc file.  Create the
> file/home/gene/.xsessionrc and put this in it:
> 
>      PATH=$HOME/bin:$HOME/AppImages:$PATH

SDDM (default for KDE and I assume it is Gene's case) reads ~/.profile 
that contains the following

---- >8 ----
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
     PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
     PATH="$HOME/.local/bin:$PATH"
fi
---- 8< ----

so perhaps it is enough to add similar blocks for other custom 
directories. In Ubuntu LightDM reads this file as well, but in Debian it 
is not so by default.

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


Thread

Modify user PATH in GNOME in Debian 12 Bernhard Walle <bernhard.walle@posteo.eu> - 2023-11-23 11:10 +0100
  Re: Modify user PATH in GNOME in Debian 12 gene heskett <gheskett@shentel.net> - 2023-11-23 11:50 +0100
    Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 15:20 +0100
      Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-23 16:40 +0100
      Re: Modify user PATH in GNOME in Debian 12 gene heskett <gheskett@shentel.net> - 2023-11-23 21:10 +0100
  Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 15:10 +0100
    Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-23 17:00 +0100
      Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-23 18:30 +0100
        Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-24 18:00 +0100
          Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-24 18:20 +0100
            Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-25 04:30 +0100
              Re: Modify user PATH in GNOME in Debian 12 Greg Wooledge <greg@wooledge.org> - 2023-11-25 05:00 +0100
                Re: Modify user PATH in GNOME in Debian 12 Max Nikulin <manikulin@gmail.com> - 2023-11-25 10:50 +0100

csiph-web