How to play sounds in lightdm greeter?Static sounds every 20-30 seconds when playing HDMIhow do I remove the last connected users from the lightdm greeter listlightdm: cannot type password on login screenVNC over lightdm results in blank screenLightdm greeter - theming of option-buttonlightdm login screen almost unusable with NVidia driversHow to determine which lightdm greeter is in use?
How are unbalanced coaxial cables used for broadcasting TV signals without any problems?
Does my opponent need to prove his creature has morph?
"Literally" Vs "In the true sense of the word"
Telling my mother that I have anorexia without panicking her
What is and what isn't ullage in rocket science?
Do ibuprofen or paracetamol cause hearing loss?
Is the Dodge action perceptible to other characters?
Newly created XFS filesystem shows 78 GB used
The Planck constant for mathematicians
How do I say "quirky" in German without sounding derogatory?
Why does the speed of sound decrease at high altitudes although the air density decreases?
What explanation do proponents of a Scotland-NI bridge give for it breaking Brexit impasse?
Cannot find Database Mail feature in SQL Server Express 2012 SP1
Does an oscilloscope subtract voltages as phasors?
How to remove a secondary database from an availability group and rejoin it?
Writing a love interest for my hero
Why is the Digital 0 not 0V in computer systems?
Resume: How to quantify my contributions as a software engineer?
Confirm the ending of a string
Finding the number of digits of a given integer.
DMPfold: is it suitable to get 5000 models to compare with rosetta
Maintenance tips to prolong engine lifespan for short trips
Relocation error involving libgnutls.so.30, error code (127) after last updates
A medieval fantasy adventurer lights a torch in a 100% pure oxygen room. What happens?
How to play sounds in lightdm greeter?
Static sounds every 20-30 seconds when playing HDMIhow do I remove the last connected users from the lightdm greeter listlightdm: cannot type password on login screenVNC over lightdm results in blank screenLightdm greeter - theming of option-buttonlightdm login screen almost unusable with NVidia driversHow to determine which lightdm greeter is in use?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am writing my own greeter for lightdm based on https://github.com/surlykke/qt-lightdm-greeter.
I wanna to play sounds to notify user if the password is not right for authentication.
I use alsa to play sounds and this works fine when I have already logged in, but on the system login screen I can not play the sounds and get this error:
Can't open audio default: No such file or directory.
I use snd_pcm_open to open the audio device and pass "default" as the device name.
It seems like the audio device does not load if I am not log in.
pulseaudio alsa lightdm
add a comment
|
I am writing my own greeter for lightdm based on https://github.com/surlykke/qt-lightdm-greeter.
I wanna to play sounds to notify user if the password is not right for authentication.
I use alsa to play sounds and this works fine when I have already logged in, but on the system login screen I can not play the sounds and get this error:
Can't open audio default: No such file or directory.
I use snd_pcm_open to open the audio device and pass "default" as the device name.
It seems like the audio device does not load if I am not log in.
pulseaudio alsa lightdm
add a comment
|
I am writing my own greeter for lightdm based on https://github.com/surlykke/qt-lightdm-greeter.
I wanna to play sounds to notify user if the password is not right for authentication.
I use alsa to play sounds and this works fine when I have already logged in, but on the system login screen I can not play the sounds and get this error:
Can't open audio default: No such file or directory.
I use snd_pcm_open to open the audio device and pass "default" as the device name.
It seems like the audio device does not load if I am not log in.
pulseaudio alsa lightdm
I am writing my own greeter for lightdm based on https://github.com/surlykke/qt-lightdm-greeter.
I wanna to play sounds to notify user if the password is not right for authentication.
I use alsa to play sounds and this works fine when I have already logged in, but on the system login screen I can not play the sounds and get this error:
Can't open audio default: No such file or directory.
I use snd_pcm_open to open the audio device and pass "default" as the device name.
It seems like the audio device does not load if I am not log in.
pulseaudio alsa lightdm
pulseaudio alsa lightdm
asked Apr 15 at 9:39
Andy MatosAndy Matos
111 bronze badge
111 bronze badge
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134013%2fhow-to-play-sounds-in-lightdm-greeter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134013%2fhow-to-play-sounds-in-lightdm-greeter%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown