LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-07-2015, 09:59 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
Sound disappeared after keyboard mishap- XFCE 4.10


This has happened before to me. On my keyboard, there are three icon keys: sound up, sound down and mute. I touched one of the keys by accident and the sound (YouTube) went off. I thought that I may have hit mute so I hit mute button and it then showed muted- I hadn't hit it in the first place. I used sound up and down (which showed volume bar go up and down) and still no sound even when unmuted. I used xfce4-mixer and raised master volume to max. Still nothing. I'm clueless at this point and have included a screenshot of my xfce4-mixer settings. I'm dual booting with Linux Mint and the sound works fine, so its not a hardware issue.


Thanks,

ab
Attached Thumbnails
Click image for larger version

Name:	xfce4-mixer.png
Views:	24
Size:	39.5 KB
ID:	20004  

Last edited by aquaboot; 11-07-2015 at 10:00 PM.
 
Old 11-07-2015, 10:40 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Maybe look in

Code:
cat .bash_history
in case that keystroke got logged in there? Just a guess though.

You left out the part of what xfce 4.10 is running on and other details.

Like in my laptop. I have $ /home/username/.icewm/keys


You should have something similar for XFCE in a hidden folder named /home/username/.xfce
 
Old 11-08-2015, 03:47 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you have to find out if some action is assigned to the offending key.

you can find out which key it is with
Code:
xev
then press the key.

xfce has a hotkey daemon, it probably goes by a different name, but it should show up in the settings dialog. try to find the key there.
if not found, you can probably mask it by making it execute "true".
 
Old 11-08-2015, 05:50 PM   #4
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thanks for the responses. I've discovered after another install that sound works until I hit the mute key on the keyboard. After that, everything is hosed- even with master volume unmuted and placed at high volume; no recovery so far. I'll look into xev.
 
Old 11-12-2015, 04:06 AM   #5
debianxfce
LQ Newbie
 
Registered: Nov 2015
Posts: 2

Rep: Reputation: Disabled
Xfce is in version 4.12

Multimedia keyboard mute button works with debian testing xfce updated to latest packages and with my custom kernel 4.3.0 where audio is enabled for intel and realtek chipsets, because motherboard has realtek audio.

Hdmi audio can mute analog audio. Disable pulseaudio and set output to alsa hadrware with xfce-mixer that is deprecated in the current version of xfce. It switched to pulseaudio that causes problems in games and bluetooth file transfer.
To stop its respawning habit, open /etc/pulse/client.conf, change autospawn = yes to autospawn = no, and set daemon-binary to /bin/true. Make sure these lines are uncommented, like this:

autospawn = no
daemon-binary = /bin/true

QasMixer is another alsa mixer.

Debian stable has almost 400 bugs and can not have latest software from testing, sid and experimental. Stable will break if you install from these, testing will not. In experimental you have latest iceweasel and kernel , for example.
 
Old 11-13-2015, 02:02 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by aquaboot View Post
Thanks for the responses. I've discovered after another install that sound works until I hit the mute key on the keyboard. After that, everything is hosed- even with master volume unmuted and placed at high volume; no recovery so far. I'll look into xev.
ok, so when sound is "hosed", how far do you have to go to fix it? reboot? log out/in?
in any case, find the keycode for the offending key with "xev".
example from my keyboard:
Code:
KeyPress event, serial 48, synthetic NO, window 0x1800001,
    root 0x294, subw 0x0, time 4045269, (134,221), root:(135,611),
    state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x1800001,
    root 0x294, subw 0x0, time 4045365, (134,221), root:(135,611),
    state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
this is for the "Home" key.
my keyboard doesn't have multimedia keys.
in your case, something like "Xf86Mute" should show up.
make note of this keycode, open xfce's hotkey manager, and tell it to execute "/bin/true" on pressing this key.
this should mask the offending key by doing nothing when it's pressed.

consider this troubleshooting & a sledgehammer workaround.
but, if it works, you know where the problem is and can start looking for a real solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Xfce desktop disappeared Weapon S Linux - Desktop 15 01-30-2023 05:46 AM
[SOLVED] Xfce/Thunar trash disappeared ahc_fan Linux - Software 6 08-27-2015 05:08 AM
Xfce : Trash icon disappeared Enindu Linux - Newbie 6 05-08-2014 02:36 PM
sound disappeared shamimkhaliq Linux - Desktop 4 04-01-2009 03:21 AM
XFCE taskbar menu disappeared Bazbo Linux - General 2 07-23-2006 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration