Re: Re: Thinkpad X1: FN F1 silence audio, but cannot be activated via the fn keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2020 Sun, 24 May 10:59:51 -0400
 Gene Heskett scripsit:
> On Sunday 24 May 2020 08:11:34 Uwe Brauer wrote:
> 
> > Hi thanks for this detailed answer
> >
> >    > For the time being (till R14.1.0 is out - possibly end of 2020)
> >    > you have the following choices:
> >    >
> >    > 1) you can mute/unmute from the KMix slider LED, this should work
> >    > fine with PA already
> >
> > This works but it is inconvenient since you have to fiddle with
> > controls
> >
> >    > 2) you can open KMix mixer windod -> Settings -> Configure global
> >    > shortcuts and remap the "toggle mute" keyboard shortcut to some
> >    > other key combination. Do not use "XF86AudioMute" key, since this
> >    > is normally used by KMilo and therefore may not work
> >
> > Thanks for this but: it does *not work*.
> >
> > I just bound it to Win+F1 for testing:
> > this «Toogle mute» only switches the
> > master but not the speaker, so it does the same as does Fn-F1
> >
> >    > 3) you can create a script that calls "dcop kmix Mixer-1
> >    > toggleMasterMute", this will mute/unmute the PA master channel.
> >    > You can add an input action tied to a keyboard shortcut to call
> >    > this easy.
> >
> > The script works, nicely
> >
> >    > 4) if you are on debian-like distro, you could switch to Slavek's
> >    > PTB packages and get the latest R14.1.0-dev packages at regular
> >    > intervals. This will bring you the complete fix in a few days
> >
> > does that mean Ubuntu included?
> >
> > Would you mind telling me the ppa?
> >
> > Thanks again
> >
> > Uwe
> > PS I signed this message, since you did the same, some people do
> > complain, though
> 
> Thats because the key issuer is some sort of all caps, 3 line swahili we 
> never heard of before. All of a sudden we're getting popups from 
> pientry-gnome3 asking us to swear that this key signer is legit.  How 
> theheck are wwe to know?
> 
> And it doesn't copy-paste, blocks all other input while its present on 
> screen.  Being the paranoid old fart I am, I am not about to click ok on 
> such a mystery message. click on close or cancel changes the main, 
> yellow kmail warning to click this for details, I click and it then says 
> no details available. Is there a switch to shut this stuff off?

I have a filter for kmail that handles anoying stuff. Signed mails are not in this group for me, so it's missing this feature ... but feel free to extend it :)

Nik

> 
> Cheers, Gene Heskett



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
#!/bin/bash
#
# (c) 31.7.2018, Dr. Nikolaus Klepp - dr.klepp@xxxxxx / office@xxxxxxxxx
#

case "$1" in
	-?|-h|--help)
		echo "Decrypts and sanitizes email comming from stdin."
		echo "usage: $(basename $0) FILENAME"
		exit 1
	;;
esac


INCOMMING=$(mktemp)
TMP=$(mktemp)

cat > $INCOMMING


cat "$INCOMMING" | awk '
BEGIN {
	header=1
	clear=0
	binary=0
	encrypted=0
	subject=""
}

/^[^ ].*/	{
	if (header==1) {
		clear=0
	}
}

/^[sS][uU][bB][jJ][eE][cC][tT]:/ {
	if (header==1) {
		subject=$0
		clear=1
	}
}


# Alle unerwünschten Headereinträge
/^(X-UI-Filterresults:|X-GMX-Antivirus:|X-GMX-Antispam:|X-CNFS-Analysis:|DKIM-Signature:|[xX]-[mM][sS]-|x-exchange-|x-forefront-|x-microsoft-|spamdiagnostic)/ {
	if (header==1) {
		clear=1
	}
}

		

# Ende des Headers
/^$/ { 
	if (header) {
		header=0
		clear=0
		if (encrypted) {
			print subject " *DECRYPTED*"
			if (0!=system("gpg2 -d \"'$INCOMMING'\" 2>/dev/null")) {
				system("rm \"'$TMP'\"")
			}
			exit 1
		} else {
			print subject
		}
	}
}

/^Content-Type: multipart\/encrypted;$/	{
	if (header) {
		clear=1
		encrypted=1
	}
}



{	
	if (header==1) {
		if (clear==0) {
			print $0
		}
	} else {
		print $0
	}
}

' > $TMP



if [ -f $TMP ]; then
	mv $TMP $INCOMMING
fi

cat $INCOMMING
rm $INCOMMING


---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting

[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux