unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Paul Jewell <paul@teulu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: SLiM Operation / dwm launch issue
Date: Tue, 15 Feb 2022 14:33:56 +0000	[thread overview]
Message-ID: <01aa5eec-572e-84ee-539a-1f68f2a8a749@teulu.org> (raw)

Good afternoon,

I am using SLiM as a display manager, and have dwm installed (a 
personally modified version, which inherits from the standard guix 
version). When I set this up originally, I couldn't get in to dwm, so I 
was advised to use a .xsession file. That works fine, and logs me into 
dwm as expected. This week, I have decided to give stumpwm an airing, to 
evaluate whether I want to use it. Well, it installed without any 
issues, and is available in the list of window managers selectable with 
F1 on the login screen. However, when I selected stumpwm, I still got 
logged into dwm - no surprise there I guess, since I have the .xsession 
file launching dwm. Removing the latter, and stumpwm is launched as 
expected. However, now dwm is still available in the list, but doesn't 
launch successfully.

Digging deeper, I find both window managers have .desktop files in 
/run/current-system/profile/share/xsessions/, but when dwm is selected, 
it seems to finish immediately, as slim reloads again.

What I can confirm:
- The path for the dwm executable in the dwm.desktop file matches that 
returned from "which dwm". In my .xsession file, I don't add the path, 
only the executable.

In the guix documentation, it says "SLiM looks for session types 
described by .desktop files..." and "It also honors ~/.xsession files". 
It isn't clear to me what happens if both are present. It seems the 
.desktop files populate the options on the login screen, but once the 
user authorisation is clear, it will execute the ~/.xsession file if one 
is available. If not, then the .desktop files are used to run the wm.

Can anyone offer suggestions on how I should resolve this? I am not sure 
if there is some sort of bug which prevents dwm running with its default 
installation?

One last question: where should I look to find the slim.conf file? I am 
assuming there is one, based on the options which can be configured as 
part of the slim-service-type, but I haven't yet found its location! I 
have tried /run/current.../profile/etc, but it isn't there.

Apologies for the long post, and many thanks for reading, and your 
suggestions.



             reply	other threads:[~2022-02-15 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 14:33 Paul Jewell [this message]
2023-03-20 10:51 ` SLiM Operation / dwm launch issue André A. Gomes

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=01aa5eec-572e-84ee-539a-1f68f2a8a749@teulu.org \
    --to=paul@teulu.org \
    --cc=help-guix@gnu.org \
    /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).