[fenrir-screenreader] Re: Autosuspend of Fenrir with startx

  • From: Storm Dragon <storm_dragon@xxxxxxxxxxxxxx>
  • To: fenrir-screenreader@xxxxxxxxxxxxx
  • Date: Tue, 11 Jan 2022 14:19:01 -0500

Howdy Ishe,

I made a script that should work for you. It's attached. Basically what it does 
is get the number of the tty and set fenrir's suspending screen to that 
terminal, then it launches startx, and on close, it unsets the suspending 
screen so Fenrir comes back.

Fenrir will continue to work as expected in other terminals. I tested it on my 
computer, and it worked as expected. It will even check to make sure you're in 
a plain terminal, and not something like screen or tmux.

Thanks,
Storm

On Tue, Jan 11, 2022 at 05:10:30PM +0200, Ishe Chinyoka wrote:

Hi,

I like the setting of autosuspend of fenrir in given virtual consoles.
However, recently I'd been launching my graphical desktop using the
startx approach. Thus, I log into TTY 2 for instance and then type
startx.

The problem is, even though the graphical desktop comes up, I will still
continue to get the feedback from Fenrir. So lately I had resorted to
suspending Fenrir in tty 2 where I launch my startx.




My question is, Is there a way to autosuspend Fenrir when startx is
being launched? If there is, how can I do this? Or can this be added as
a feature in future releases of Fenrir?

I am on Arch Linux, and startx will be running the mate desktop. So in
my .xinitrc I just have this line:

exec mate-session

Are there any other parameters that I can enter?

TIA,


--
Ishe


Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws.
- Plato (427-347 B.C.)
--------------------------------------------
MailingList: fenrir-screenreader@xxxxxxxxxxxxx
Website: https://linux-a11y.org
Wiki: https://wiki.linux-a11y.org/doku.php?id=fenrir
Code: https://github.com/chrys87/fenrir
IRC Live Support:
Network: irc.linux-a11y.org
Room: #a11y


--
⛈🐲
Accessible low cost computers for everyone! https://stormux.org
Stormux Shop: https://stormux.org/shop/
Get my public PGP key: gpg --recv-key 43DDC193
The great thing about Object Oriented code is that it can make small, simple 
problems look like large, complex ones.

Support Stormux: https://ko-fi.com/stormux

Other related posts: