Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #37123
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Andreas Kohlbach <ank@spamfence.net> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: GUI pauses when on TTY |
| Date | Sat, 18 Feb 2023 14:35:04 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 57 |
| Message-ID | <87y1ou22dz.fsf@usenet.ankman.de> (permalink) |
| References | <877cwf310a.fsf@usenet.ankman.de> <tsqp43$1o00$2@dont-email.me> <qnc7cjx4ne.ln2@Telcontar.valinor> |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader01.eternal-september.org; posting-host="1f31eb71fb74d7fce94ba75da97fb3d6"; logging-data="123205"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VexlwlETduostj0kXHq0h" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
| Cancel-Lock | sha1:tmACmB4kNGWh7A6se+GAk/oJumo= sha1:ayQuivhrzqUEOvvMTHa0/l4T/UY= |
| Xref | csiph.com comp.os.linux.misc:37123 |
Show key headers only | View raw
On Sat, 18 Feb 2023 17:59:06 +0100, Carlos E.R. wrote:
>
> On 2023-02-18 15:59, Rich wrote:
>> Andreas Kohlbach <ank@spamfence.net> wrote:
>>> Yes, I am old school and like to work on a TTY whenever possible. But of
>>> course I need GUI browsers and other GUI stuff too.
>>>
>>> And before someone says, "Use Xterm in full screen", please don't. :-)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1]
>>> My problem is that on MATE (MINT Linux) pretty much everything stalls
>>> once I switch to a TTY.
>> If you mean the shift+alt+Fx key to swtich to one of Linux's native
>> terminals, then this is expected. The switch out of X and back to a
>> TTY is a suspend of X, meaning the entire X session is paused.
>
> AFAIK the GUI is not suspended. This behaviour is relatively new, I
> don't remember when it started. It affects multimedia.
Thanks Carlos. Something I also observed: new thingy. Probably five years
or less.
> You can run a long job, like a backup script, and it
> should continue running non stop when switching to a TTY.
>
> The same toolset that is used to "detect who is at the seat" does
> it. Rationale is that it gives permissions to use the sound device to
> the person that is seated, meaning the person having the GUI. As when
> in tty mode no one has the GUI, there is no permission to use sound
> and things stop.
Ah "seats". I noted this term in logs. Will have to read up on this. Thanks.
> This could be HAL/ConsoleKit/PolicyKit. Or could be the display
> manager doing it.
Sounds promising.
But hard to google for "GUI" and "suspend", as results usually deal with
suspending the whole system (hibernate).
[1]
> The way to avoid this is not using the TTY, but an xterm.
That I tried to avoid. I want to kick it old school. :-D
[Update]
New observation: Just started a video via mpv and switched to a TTY (to
write this article here). I still can hear the music playing! Assuming
the video would also progress.
So some stuff seems to "bypass a 'suspended' GUI". Now I'd like to tell
that a suspension doesn't happen at all, or tell more apps to get around
this.
--
Andreas
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 02:07 -0500
Re: GUI pauses when on TTY The Natural Philosopher <tnp@invalid.invalid> - 2023-02-18 10:02 +0000
Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 14:20 -0500
Re: GUI pauses when on TTY Rich <rich@example.invalid> - 2023-02-18 14:59 +0000
Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-18 17:59 +0100
Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 14:35 -0500
Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-18 21:00 +0100
Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 21:29 -0500
Re: GUI pauses when on TTY The Natural Philosopher <tnp@invalid.invalid> - 2023-02-19 12:03 +0000
Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 20:08 -0500
Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-18 21:37 -0500
Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 22:16 -0500
Re: GUI pauses when on TTY Dan Espen <dan1espen@gmail.com> - 2023-02-18 22:23 -0500
Re: GUI pauses when on TTY Andreas Kohlbach <ank@spamfence.net> - 2023-02-19 17:31 -0500
Re: GUI pauses when on TTY "Carlos E.R." <robin_listas@es.invalid> - 2023-02-19 13:12 +0100
Re: GUI pauses when on TTY marrgol <marrgol@address.invalid> - 2023-02-19 02:54 +0100
csiph-web