Skip to content

u/sonay

In this archive from Nov 2011 to Dec 2017

4
posts
25
comments
1
media
73
score

This has been debunked so many times, I don't see it as a valid argument. Compiler can not go out of its way to analyze what the source code is doing and act accordingly. People compile literally millions of different software all the time, the chance that it will be a login manager and somehow your compiler being able to insert code at such an important context is pure luck if at all possible.

1 points

Of course I am going to solve that problem with a proper tool or hire a computer tech to remove it. I have started that thread in the hopes that I can enjoy listening to music tonight (will get it fixed tomorrow) which I do and learn something on the way. Thanks for your suggestions.

However, I think it makes sense to learn/know how to control sound events. For example, one might like some application to output to certain sound devices and others to some other devices, think about a DJ at a party.

1 points

I am sorry, it looks like I have not described my problem correctly. I can not plug in anything into the audio port of my computer, because the headphone pin got stuck there when I dropped my laptop.

Looks like my setup is using version > 2, because the file which I have stupidly described as "the file firing the handler.sh" is under /etc/acpi/events and it is called "anything". But it does nothing interesting in particular, for any event, it starts handler.sh which does not have anything defined for sound events.

you generally want to either intercept an existing event rule and change it or create your own rule. It's pretty basic to do.. it's also a very useful thing to know.

That is what I am trying to learn, i don't even know the relevant files.

1 points

I am using Arch Linux. I have looked at the directory /etc/acpi (I don't have /etc/acpid). There it has a handler.sh file and a directory which contains a file which fires handler.sh. handler.sh has events defined for battery online/offline, LID opened/closed, PowerButton/SleepButton pressed. It doesn't seem to have anything related to sound.

Alsamixer works, however it doesn't survive a reboot.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.