unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: pulseaudio not active when using exwm
Date: Sun, 20 Aug 2023 00:53:06 +0200	[thread overview]
Message-ID: <87bkf2d4q5.fsf@dataswamp.org> (raw)
In-Reply-To: 871qg3cm85.fsf@ucl.ac.uk

Eric S Fraga wrote:

> Using the same .xsession file, I can start up X with either
> a standard window manager (e.g. StumpWM, KDE, Gnome, etc.)
> or alternatively Emacs (i.e. exwm).

Technically KDE and Gnome are desktops. Window managers run on
top of those, typically, but not necessarily so, as you can
start X manually, for example with 'startx', and then start
a window manager, also manually or automated as part of
.xinitrc, thus avoiding the desktop.

See this, for example

  https://dataswamp.org/~incal/conf/.xinitrc

If you do that, you have a window system (X) and a
window manager (openbsd-cwm in my case) but no desktop.

> If I choose Emacs, my sound system is not configured
> properly: only the system speaker is active. If I choose
> StumpWM, say, I have all the various sound devices available
> (headphones, speakers in my monitor).

It SOUNDS like the sound is setup as part of you launching
a desktop, e.g. Gnome or KDE, and if you don't, the sound
system, as not being part of the window manager and why should
it be, won't start with exwm.

So it is rather an issue for your Linux distribution or Unix
system, and not the WM - "how do I get the sound running on
X without Gnome?" or something.

Here are a bunch of commands that might be useful, but use
them at your own risc since I didn't have to bother with that
for ages, it just worked and not necessarily thanks to those
commands:

  https://dataswamp.org/~incal/.zsh/audio-test

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2023-08-19 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16 10:31 pulseaudio not active when using exwm Eric S Fraga
2023-08-19 22:53 ` Emanuel Berg [this message]
2023-08-22 13:21   ` Eric S Fraga

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87bkf2d4q5.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=help-gnu-emacs@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).