~julienxx/castor

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
5 2

[feature-request] hardware back key support

Niklas Sombert
Details
Message ID
<a0bfd30f-0f0e-f202-b966-1a076c0b72f6@ytvwld.de>
DKIM signature
missing
Download raw message
Hi,

I installed Castor two days ago and browsed a bit.
One thing I noticed which irks me a bit is that the hardware back key on
my keyboard doesn't work as I'm pretty used to it.
I checked with xev and the key shows up as "keycode 166 (keysym
0x1008ff26, XF86Back)".
It would be great if this could be mapped to going back.
(I'm on Ubuntu 18.04 / amd64 / Plasma Desktop / X11 if that's important.)

 -- Niklas / ytvwld
Details
Message ID
<96f26a74-a2eb-f6e1-d619-c6b6dcc844bd@typed-hole.org>
In-Reply-To
<a0bfd30f-0f0e-f202-b966-1a076c0b72f6@ytvwld.de> (view parent)
DKIM signature
pass
Download raw message
Added in 0.8.0. Thanks for the improvement idea!
Details
Message ID
<2d8170cc-32e2-e77b-55d7-f9500926b996@typed-hole.org>
In-Reply-To
<96f26a74-a2eb-f6e1-d619-c6b6dcc844bd@typed-hole.org> (view parent)
DKIM signature
pass
Download raw message
Had to remove it in 0.8.1 as it prevented using Backspace in the URL
field. Will have to find another way to do it.
Niklas Sombert
Details
Message ID
<aa8cfe30-2616-3338-0fc5-e94c34ac3db6@ytvwld.de>
In-Reply-To
<2d8170cc-32e2-e77b-55d7-f9500926b996@typed-hole.org> (view parent)
DKIM signature
missing
Download raw message
Am 06.05.20 um 17:45 schrieb Julien Blanchard:
> Had to remove it in 0.8.1 as it prevented using Backspace in the URL
> field. Will have to find another way to do it.

Oh yeah, that might be tricky.
Also, I wasn't talking about the backspace key. :)

 -- Niklas / ytvwld

[PATCH] Add hardware back key support

Niklas Sombert
Details
Message ID
<20200506161751.5432-1-niklas@ytvwld.de>
In-Reply-To
<aa8cfe30-2616-3338-0fc5-e94c34ac3db6@ytvwld.de> (view parent)
DKIM signature
missing
Download raw message
Patch: +1 -0
This makes pressing the back key (XF86Back) go back to the last page.
(Most keyboards probably won't have this key.)
---
 src/castor.glade | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/castor.glade b/src/castor.glade
index 524552e..845137e 100644
--- a/src/castor.glade
+++ b/src/castor.glade
@@ -54,6 +54,7 @@
                <property name="image">image3</property>
                <property name="always_show_image">True</property>
                <accelerator key="Left" signal="clicked" modifiers="GDK_MOD1_MASK"/>
                <accelerator key="XF86Back" signal="clicked"/>
              </object>
              <packing>
                <property name="expand">False</property>
-- 
2.17.1
Details
Message ID
<bdc4d464-3db7-279c-b49c-8eb9ede27bfe@typed-hole.org>
In-Reply-To
<96f26a74-a2eb-f6e1-d619-c6b6dcc844bd@typed-hole.org> (view parent)
DKIM signature
pass
Download raw message
Sorry I didn't get what you meant by "Back key" :) Thanks for the patch!
Review patch Export thread (mbox)