Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Life is a game. Money is how we keep score. -- Ted Turner


computers / alt.os.linux.slackware / Re: Assigning action to keys

SubjectAuthor
* Assigning action to keysJean F. Martinelle
+* Re: Assigning action to keysJohn Forkosh
|`- Re: Assigning action to keysJean F. Martinelle
+- Re: Assigning action to keysJoseph Rosevear
`* Re: Assigning action to keysJoseph Rosevear
 `- Re: Assigning action to keysJoseph Rosevear

1
Assigning action to keys

<tks2tg$1ui4$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1493&group=alt.os.linux.slackware#1493

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!fs4vz7lwhQCwq5L3H1slGg.user.46.165.242.75.POSTED!not-for-mail
From: JFMart@overthere.com (Jean F. Martinelle)
Newsgroups: alt.os.linux.slackware
Subject: Assigning action to keys
Date: Mon, 14 Nov 2022 00:42:24 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tks2tg$1ui4$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="64068"; posting-host="fs4vz7lwhQCwq5L3H1slGg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Jean F. Martinelle - Mon, 14 Nov 2022 00:42 UTC

I am running XFCE under Slackware 15.0. My keyboard has two keys
that are obviously meant to mute and unmute the sound in my system.
However, when I press them nothing happens.

While this is hardly unexpected, I am sure there must be a way to
redefine those keys from XFCE so that when they are pressed they will do
what they are supposed to do.

Can anybody supply pointers on how to pull this off?

Re: Assigning action to keys

<tksdio$pp7$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1494&group=alt.os.linux.slackware#1494

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: forkosh@panix.com (John Forkosh)
Newsgroups: alt.os.linux.slackware
Subject: Re: Assigning action to keys
Date: Mon, 14 Nov 2022 03:44:25 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tksdio$pp7$1@reader2.panix.com>
References: <tks2tg$1ui4$1@gioia.aioe.org>
Injection-Date: Mon, 14 Nov 2022 03:44:25 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="26407"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
 by: John Forkosh - Mon, 14 Nov 2022 03:44 UTC

Jean F. Martinelle <JFMart@overthere.com> wrote:
> I am running XFCE under Slackware 15.0. My keyboard has two keys
> that are obviously meant to mute and unmute the sound in my system.
> However, when I press them nothing happens.
>
> While this is hardly unexpected, I am sure there must be a way to
> redefine those keys from XFCE so that when they are pressed they will do
> what they are supposed to do.
>
> Can anybody supply pointers on how to pull this off?

Not sure, but maybe try xmodmap -pk | grep Mute to find the
appropriate keycode, which seems to be 121 for my keyboard
(but I'm not seeing anything that looks like "Unmute"; maybe
you're just supposed to press Mute a second time?). Anyway,
now use xev and press the key you think should be Mute,
and see if its displayed keycode actually is your Mute keycode.
Suppose it's not... suppose it's, say, 66, and from xmodmap
you know Mute should be 121. Then xmodmap -e "keycode 66 = Mute"
should re-assign the key you want to be Mute so that it actually is.
Same idea for Unmute, I suppose, but like I said, I'm not seeing
any Unmute key for my keyboard.
--
John Forkosh ( mailto: j@f.com where j=john and f=forkosh )

Re: Assigning action to keys

<tktstk$pej$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1495&group=alt.os.linux.slackware#1495

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!fs4vz7lwhQCwq5L3H1slGg.user.46.165.242.75.POSTED!not-for-mail
From: JFMart@overthere.com (Jean F. Martinelle)
Newsgroups: alt.os.linux.slackware
Subject: Re: Assigning action to keys
Date: Mon, 14 Nov 2022 17:12:20 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tktstk$pej$1@gioia.aioe.org>
References: <tks2tg$1ui4$1@gioia.aioe.org> <tksdio$pp7$1@reader2.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="26067"; posting-host="fs4vz7lwhQCwq5L3H1slGg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Jean F. Martinelle - Mon, 14 Nov 2022 17:12 UTC

On Mon, 14 Nov 2022 03:44:25 -0000 (UTC), John Forkosh wrote:

> Jean F. Martinelle <JFMart@overthere.com> wrote:
>> I am running XFCE under Slackware 15.0. My keyboard has two
>> keys
>> that are obviously meant to mute and unmute the sound in my system.
>> However, when I press them nothing happens.
>>
>> While this is hardly unexpected, I am sure there must be a way
>> to
>> redefine those keys from XFCE so that when they are pressed they will
>> do what they are supposed to do.
>>
>> Can anybody supply pointers on how to pull this off?
>
> Not sure, but maybe try xmodmap -pk | grep Mute to find the
> appropriate keycode, which seems to be 121 for my keyboard (but I'm not
> seeing anything that looks like "Unmute"; maybe you're just supposed to
> press Mute a second time?). Anyway,
> now use xev and press the key you think should be Mute,
> and see if its displayed keycode actually is your Mute keycode. Suppose
> it's not... suppose it's, say, 66, and from xmodmap you know Mute should
> be 121. Then xmodmap -e "keycode 66 = Mute" should re-assign the key
> you want to be Mute so that it actually is.
> Same idea for Unmute, I suppose, but like I said, I'm not seeing any
> Unmute key for my keyboard.

Thanks. Actually, I was wrong: they are not mute and unmute keys,
but audio volume up and down keys:

$ xmodmap -pk | grep -i volume
122 0x1008ff11 (XF86AudioLowerVolume) 0x0000
(NoSymbol) 0x1008ff11 (XF86AudioLowerVolume)
123 0x1008ff13 (XF86AudioRaiseVolume) 0x0000
(NoSymbol) 0x1008ff13 (XF86AudioRaiseVolume)

And, in fact, they already do what they are supposed to do: I never
noticed this before because I keep my audio framework on mute by default.

Re: Assigning action to keys

<tle5a3$15bp$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1506&group=alt.os.linux.slackware#1506

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!aioe.org!EIHVDOlkZxrXXivkL/LqVw.user.46.165.242.91.POSTED!not-for-mail
From: Mail@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: Re: Assigning action to keys
Date: Sun, 20 Nov 2022 21:13:39 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tle5a3$15bp$1@gioia.aioe.org>
References: <tks2tg$1ui4$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="38265"; posting-host="EIHVDOlkZxrXXivkL/LqVw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Sun, 20 Nov 2022 21:13 UTC

On Mon, 14 Nov 2022 00:42:24 -0000 (UTC), Jean F. Martinelle wrote:

> I am running XFCE under Slackware 15.0. My keyboard has two keys that
> are obviously meant to mute and unmute the sound in my system. However,
> when I press them nothing happens.
>
> While this is hardly unexpected, I am sure there must be a way to
> redefine those keys from XFCE so that when they are pressed they will do
> what they are supposed to do.
>
> Can anybody supply pointers on how to pull this off?

I have already encountered and solved a similar problem in Fvwm2, not
XFCE. Perhaps some of what I did will apply. Here is the code I put
into my ~/.fvwm2rc file--the Fvwm2 configuration file:

# Mute
# Key F8 A N Exec :
Key XF86AudioMute A N Exec :

# Volume down
Key F9 A N Exec /usr/local/bin/changevol down
Key XF86AudioLowerVolume A N Exec /usr/local/bin/
changevol down

# Volume up
Key F10 A N Exec /usr/local/bin/changevol up
Key XF86AudioRaiseVolume A N Exec /usr/local/bin/
changevol up

My purposes were different, as I turned off the mute capability. Volume
up and down I treated by use of my own script /usr/local/bin/changevol--
let me know if you need the script. I captured key presses of both the
built-in keys and F9 and F10, as some keyboards lack the built-in keys.

I hope this helps.

Re: Assigning action to keys

<tle5i0$15bp$2@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1507&group=alt.os.linux.slackware#1507

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!aioe.org!EIHVDOlkZxrXXivkL/LqVw.user.46.165.242.91.POSTED!not-for-mail
From: Mail@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: Re: Assigning action to keys
Date: Sun, 20 Nov 2022 21:17:53 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tle5i0$15bp$2@gioia.aioe.org>
References: <tks2tg$1ui4$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="38265"; posting-host="EIHVDOlkZxrXXivkL/LqVw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Sun, 20 Nov 2022 21:17 UTC

On Mon, 14 Nov 2022 00:42:24 -0000 (UTC), Jean F. Martinelle wrote:

> I am running XFCE under Slackware 15.0. My keyboard has two keys that
> are obviously meant to mute and unmute the sound in my system. However,
> when I press them nothing happens.
>
> While this is hardly unexpected, I am sure there must be a way to
> redefine those keys from XFCE so that when they are pressed they will do
> what they are supposed to do.
>
> Can anybody supply pointers on how to pull this off?

Hello, by mistake I replied to a reply instead of directly to your
post. You can find my reply below.

Re: Assigning action to keys

<tle5qa$15bp$3@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=1508&group=alt.os.linux.slackware#1508

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!aioe.org!EIHVDOlkZxrXXivkL/LqVw.user.46.165.242.91.POSTED!not-for-mail
From: Mail@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: Re: Assigning action to keys
Date: Sun, 20 Nov 2022 21:22:18 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tle5qa$15bp$3@gioia.aioe.org>
References: <tks2tg$1ui4$1@gioia.aioe.org> <tle5i0$15bp$2@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="38265"; posting-host="EIHVDOlkZxrXXivkL/LqVw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Sun, 20 Nov 2022 21:22 UTC

On Sun, 20 Nov 2022 21:17:53 -0000 (UTC), Joseph Rosevear wrote:

> On Mon, 14 Nov 2022 00:42:24 -0000 (UTC), Jean F. Martinelle wrote:
>
>> I am running XFCE under Slackware 15.0. My keyboard has two keys that
>> are obviously meant to mute and unmute the sound in my system. However,
>> when I press them nothing happens.
>>
>> While this is hardly unexpected, I am sure there must be a way to
>> redefine those keys from XFCE so that when they are pressed they will
>> do what they are supposed to do.
>>
>> Can anybody supply pointers on how to pull this off?
>
> Hello, by mistake I replied to a reply instead of directly to your
> post. You can find my reply below.

Oops. It seems I did reply directly. Sorry--I'm new to Pan.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor