unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vladimir Sedach <vas@oneofus.la>
To: Olivier Rojon <o.rojon@posteo.net>
Cc: help-guix@gnu.org
Subject: Re: EXWM: file or program not found, ls
Date: Sat, 02 Jan 2021 13:56:00 -0800	[thread overview]
Message-ID: <878s9bdmvj.fsf@t43.orion.oneofus.la> (raw)
In-Reply-To: <48099c1e-63b9-d252-bb48-8c11f90a45ee@posteo.net>


Olivier Rojon <o.rojon@posteo.net> writes:
> Any help or pointer is greatly appreciated. I hope I have provided
> the necessary information, otherwise feel free to ask.

The first thing to verify is that your login shell configuration
(.bashrc or .profile) is set up with the proper PATH, etc. The
defaults are.

> Then I was told to "source /etc/profile" from a file such as .xinitrc
> / .xsessions, which I tried but which also didnt work because gdm
> stayed in place via the system configuration (there has been a
> helpful HOWTO by Alex Kost, which I might try as well if nothing else
> helps).

It is a little suspicious that gdm does not load the defaults for a
session. What happens if you create a new user and try to log in as
that user?

To configure the X login session, file is ~/.xsession and it should
be set to be executable. Almost all X Window System distributions and
session managers are set up to use this file (some of them require
the file to be executable), and I assume gdm does as well (I run
slim-service-type as my session manager on Guix System).

Here is what my ~/.xession looks like:

--8<---------------cut here---------------start------------->8---
. ~/.profile
. ~/.xinitrc
--8<---------------cut here---------------end--------------->8---

Instead of repeating the environment variable setup (sourcing
/etc/profile, etc.) for X, you can source your shell configuration
file.

.xinitrc is there to load any X specific configuration (keyboard,
etc) and to start the window manager.

Note that this is not Guix or EXWM specific, it is an X configuration
issue. I use the same .xsession on Debian and OpenBSD (which is one
of the reasons why I use a custom one).

--
Vladimir Sedach
Software engineering services in Los Angeles https://oneofus.la


  parent reply	other threads:[~2021-01-02 22:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31 12:41 EXWM: file or program not found, ls Olivier Rojon
2021-01-02 14:17 ` Pierre Neidhardt
2021-01-03 15:12   ` Olivier Rojon
2021-01-03 16:21     ` Pierre Neidhardt
2021-02-06 13:47       ` Olivier Rojon
2021-01-02 21:56 ` Vladimir Sedach [this message]
2021-01-06  0:18 ` Gary Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s9bdmvj.fsf@t43.orion.oneofus.la \
    --to=vas@oneofus.la \
    --cc=help-guix@gnu.org \
    --cc=o.rojon@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).