• How to set start directory to /home/user rather than /home/user/Desktop

    From Chris Green@3:770/3 to All on Fri Oct 25 19:58:26 2024
    I am a died in the wool commadn line user. I have just installed
    Debian Bookworm on my laptop in place of xubuntu. The installation
    went pretty smoothly and now I'm configuring things the way I want
    them.

    I **hate** icons on the desktop and I just want to be in $HOME when I
    log in. So I have configured ~/.config/user-dirs.drs so none of the
    things like ~/Music and ~/Pictures are created, so far so good. I have
    also set things so that my 'desktop' directory isn't ~/Desktop, it's
    ~/.desktop which is invisible. I have absolutely no need or use for a
    desktop directory.

    However, when I start a terminal it starts in ~/.desktop, I want it to
    start in ~. Does anyone know where that gets set? I certainly had
    XFCE configured in xubuntu so that terminals started in ~ so I think
    it must be possible in Debian.


    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to Chris Green on Fri Oct 25 20:13:39 2024
    Chris Green <cl@isbd.net> wrote:
    I am a died in the wool commadn line user. I have just installed
    Debian Bookworm on my laptop in place of xubuntu. The installation
    went pretty smoothly and now I'm configuring things the way I want
    them.

    I **hate** icons on the desktop and I just want to be in $HOME when I
    log in. So I have configured ~/.config/user-dirs.drs so none of the
    things like ~/Music and ~/Pictures are created, so far so good. I have
    also set things so that my 'desktop' directory isn't ~/Desktop, it's ~/.desktop which is invisible. I have absolutely no need or use for a desktop directory.

    However, when I start a terminal it starts in ~/.desktop, I want it to
    start in ~. Does anyone know where that gets set? I certainly had
    XFCE configured in xubuntu so that terminals started in ~ so I think
    it must be possible in Debian.

    Oops, sorry, this was supposed to go to the Debian list. ... and
    anyway I have discovered the answer. If I click on the bacground I
    get a terminal in $HOME/.desktop (as it should be) but if I just start
    a terminal from the menu it's in $HOME as I would expect.

    Sorry for the noise!

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From mm0fmf@3:770/3 to Chris Green on Fri Oct 25 20:16:56 2024
    On 25/10/2024 19:58, Chris Green wrote:
    I am a died in the wool commadn line user. I have just installed
    Debian Bookworm on my laptop in place of xubuntu. The installation
    went pretty smoothly and now I'm configuring things the way I want
    them.

    I **hate** icons on the desktop and I just want to be in $HOME when I
    log in. So I have configured ~/.config/user-dirs.drs so none of the
    things like ~/Music and ~/Pictures are created, so far so good. I have
    also set things so that my 'desktop' directory isn't ~/Desktop, it's ~/.desktop which is invisible. I have absolutely no need or use for a desktop directory.

    However, when I start a terminal it starts in ~/.desktop, I want it to
    start in ~. Does anyone know where that gets set? I certainly had
    XFCE configured in xubuntu so that terminals started in ~ so I think
    it must be possible in Debian.


    What happens if you append "cd ~." to .bashrc ?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to none@invalid.com on Fri Oct 25 20:55:13 2024
    mm0fmf <none@invalid.com> wrote:
    On 25/10/2024 19:58, Chris Green wrote:
    I am a died in the wool commadn line user. I have just installed
    Debian Bookworm on my laptop in place of xubuntu. The installation
    went pretty smoothly and now I'm configuring things the way I want
    them.

    I **hate** icons on the desktop and I just want to be in $HOME when I
    log in. So I have configured ~/.config/user-dirs.drs so none of the
    things like ~/Music and ~/Pictures are created, so far so good. I have
    also set things so that my 'desktop' directory isn't ~/Desktop, it's ~/.desktop which is invisible. I have absolutely no need or use for a desktop directory.

    However, when I start a terminal it starts in ~/.desktop, I want it to start in ~. Does anyone know where that gets set? I certainly had
    XFCE configured in xubuntu so that terminals started in ~ so I think
    it must be possible in Debian.


    What happens if you append "cd ~." to .bashrc ?

    That might work but it shouldn't be necessary and, anyway, I want
    "start terminal here" to do what it says.

    However see my reply, this was the wrong list and I've realised my
    original mistake. :-)

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jean-Pierre Kuypers@3:770/3 to cl@isbd.net on Sat Oct 26 15:09:25 2024
    In article (Dans l'article) <ib6tuk-a6i1.ln1@q957.zbmc.eu>, Chris Green <cl@isbd.net> wrote (écrivait) :

    However, when I start a terminal it starts in ~/.desktop, I want it to
    start in ~. Does anyone know where that gets set?

    The HOME directory is in /etc/passwd.
    Example:

    user:x:1000:1000:User:/home/user:/bin/bash.

    - man usermod:
    The usermod command modifies the system account files.

    --
    Jean-Pierre Kuypers

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Lawrence D'Oliveiro@3:770/3 to Jean-Pierre Kuypers on Sat Oct 26 20:18:50 2024
    On Sat, 26 Oct 2024 15:09:25 +0200, Jean-Pierre Kuypers wrote:

    In article (Dans l'article) <ib6tuk-a6i1.ln1@q957.zbmc.eu>, Chris Green <cl@isbd.net> wrote (écrivait) :

    However, when I start a terminal it starts in ~/.desktop, I want it to
    start in ~. Does anyone know where that gets set?

    The HOME directory is in /etc/passwd.

    That is already the value of “~”.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)