LightDM and sound on login failure

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
becherekmg
Level 1
Level 1
Posts: 18
Joined: Wed Aug 31, 2011 10:41 am

LightDM and sound on login failure

Post by becherekmg »

Hello.
Is there any possibility how play a sound on login failure? I use a script for success login called "loginsound.sh" and I have

Code: Select all

session-setup-script=/home/milos/loginsound.sh
in my /etc/lightdm/lightdm.conf and it works. But I do not know how to play any sound on bad login.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
becherekmg
Level 1
Level 1
Posts: 18
Joined: Wed Aug 31, 2011 10:41 am

Re: LightDM and sound on login failure

Post by becherekmg »

Hello again.

I found out that "session-cleanup-script" runs in bad login too. But I would like to have a special sound for log-out and another sound for bad login. Does anyone know how to do it?
Locked

Return to “Software & Applications”