New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 233 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment
link

Issue 784857: Allow remapping Assistant key on Pixelbook

Reported by m...@rideamigos.com, Nov 14 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/62.0.3202.75 Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce the problem:
There a number of use-cases for having a "Super" key AKA Windows key. The Assistant Key would be the natural choice to remap to this, but there's currently no option to do this. 

Some use cases for having a Windows key:

1. One of the most popular use-cases for Developer mode is to run Ubuntu in a chroot with Crouton. The Unity desktop makes extensive use of shortcuts of keyboard shortcuts prefixed with the Super key.
2. CrossOver is working on Windows application through CrossOver for Android. Having a Windows key for Windows apps would be welcome.
3. Without using developer mode, the Android app Termux is another way to access a Linux environment where being able to use "Super key" would be welcome.
4. crosvm is on the horizon to run more things in containers. Perhaps some of these things would also like to use the Super/Windows key?

Also, not everyone who uses the a Pixelbook will want to use the Assistant due to privacy considerations, making it effectively a dead key if it can't be remapped to another purpose. 

What is the expected behavior?

What went wrong?
Tried to remap the Super key and failed. 

Ref: https://github.com/dnschneid/crouton/issues/3505

Did this work before? N/A 

Chrome version: 62.0.3202.75  Channel: stable
OS Version: 62
Flash Version:
 

Comment 1 by dtapu...@chromium.org, Nov 15 2017

Components: IO>Keyboard UI>Shell

Comment 2 by weifangsun@chromium.org, Nov 17 2017

Components: -UI>Shell
Owner: zalcorn@chromium.org
<triage> zalcorn@ to review

Comment 3 by weifangsun@chromium.org, Nov 17 2017

Status: Assigned (was: Unconfirmed)

Comment 4 Deleted

Comment 5 Deleted

Comment 6 by hunter.g...@gmail.com, Jan 19 2018

Interacting with anything remotely through webex/joinme/gotomeeting/teamviewer/rdp would be much easier with a Super/windows key mapping.

Comment 7 Deleted

Comment 8 by ni...@google.com, Feb 1 2018

Assistant also requires ARC++ to be enabled, which can be disabled by policy. 

When this is the case, hitting the assistant button brings up an annoying window prompting you to set it up, which cannot be cancelled using ESC, and cannot be disabled (note the setup fails because ARC++ is disabled!

This gets very annoying very quickly. Being able to remap or disable the assistant key is essential.

Comment 9 by cernekee@chromium.org, Feb 3 2018

> When this is the case, hitting the assistant button brings up an annoying window prompting you to set it up

I have run into this quite a bit on my corpified eve.  It seems that if Assistant is enabled, hitting the Assistant key a second time will make the window go away (similar to bumping the Search key).  But if Assistant is disabled, you need to click Skip on the dialog.

On a fresh M66 canary installation I did the following:

1) Skipped opting in to ARC++
2) Hit the Assistant button
3) Enabled Assistant
4) Opted out of "use what's on your screen"
5) Asked Assistant a couple of questions
6) Went to Settings and noticed that "Let assistant use what's on your screen" was re-enabled.  Weird.
7) Disabled Assistant

Now when I hit the Assistant key it doesn't pop up the dialog.  It looks like this is documented in bug 807961.  I also found some issues asking questions about how to disable Assistant (bug 808766).

Comment 10 by ayatane@chromium.org, Feb 21 2018

Cc: ayatane@chromium.org

Comment 11 by derat@chromium.org, Apr 26 2018

Cc: abodenha@chromium.org
Status: Untriaged (was: Assigned)
Summary: Allow remapping Assistant key on Pixelbook (was: Allow remapping Assistant key as "Super/Windows" on Pixelbook)
Zach, can you prioritize this? I see no reason why the Assistant key shouldn't be remappable like all of its neighbors.

Comment 12 by m...@rideamigos.com, Apr 30 2018

This feature would add polish for Crostini, as people try to run apps within containers that expect a "Windows" or "Super" key to work.

Comment 13 by mcsaucy@google.com, Jun 7 2018

Cc: mcsaucy@chromium.org

Comment 14 by zalcorn@chromium.org, Aug 1

Cc: zalcorn@chromium.org tbuck...@chromium.org
 Issue 835016  has been merged into this issue.

Comment 15 Deleted

Comment 16 by mahm...@vgs.io, Aug 12

Hi there, I am trialing a Pixelbook as a potentially primary development machine for my organization and this is one of the last items to suggest a move. As a developer, and primarily an Emacs one coming from a Macbook Pro, I would like to ease the transition by re-mapping the "Google Assistant" button (which is disallowed by our admins anyway) to Super/Windows key. 

I just wanted to ask what the status on this feature is? This was previously assigned and https://bugs.chromium.org/p/chromium/issues/detail?id=808766 (although slightly different) suggests there is already an owner for this.

Thanks!

Comment 17 by bdef...@gmail.com, Sep 10

the focus stealing from accidentally hitting this key is a real drag. please allow a remap.

Comment 18 by bdef...@gmail.com, Sep 10

I've just discovered that going to Settings > Google Assistant and disabling it there will prevent the popup from occurring. This does not occur if you just say you say 'No thanks' or want to disable it within the popup itself.

This is good, but not as helpful as this request for a remap feature which would be very useful in this location of the keyboard.

Comment 19 by daniel.s...@gmail.com, Sep 12

Adding to Comment 18: I had to enable the "Assistent", then disable it again. Now the key seems to be off. Thank goodness.

Can someone please write an extension to repurpose that key? :-)

Comment 20 by dullweber@chromium.org, Sep 12

Cc: glevin@chromium.org
+glevin I thought we fixed the issue that the assistant prompt doesn't have a way to say "no, never"?

Comment 21 by glevin@chromium.org, Sep 12

Cc: maajid@chromium.org
I don't recall any specific conversations about Assistant prompts.  +maajid@, as he lead the original Assistant review.

maajid@ or zalcorn@, does this (Comment #20) ring a bell?

Comment 22 by m...@rideamigos.com, Sep 12

We are about to have the convergence of a new round of Pixel devices being announced at that same time solid support for Linux desktop apps is landing in ChromeOS. It also appears dual-booting Windows on some ChromeOS devices is around the corner. 

Being able to make full use of the Assistant key for other purposes would definitely make these new devices more enticing for a certain segment, myself included.

Comment 23 by kbr@chromium.org, Oct 4

Please allow remapping of this key in the same way the Launcher key can be remapped. I frequently hit it accidentally while typing, though I'll hopefully retrain my muscle memory coming from a Mac (it's where the Option key is on that keyboard). Thanks.

Comment 24 by markaci...@gmail.com, Oct 4

I too would also love a super key. I'm not sure how anyone is developing without it.

Comment 25 by m...@rideamigos.com, Oct 11

This issue is now almost a year old, so I'm providing a status update as a kind of annual review.

The issue has attracted 150 stars, putting it the top 0.01% of most starred issues (58th out of 58,954 open issues). In addition to public support, 4 developers from Google or the Chromium project have added a comment of support, while no one has objected. 

The Issue is currently assigned to Google Project manager Zach Alcorn, although he has not yet commented on the issue.

tbuck...@chromium.org did the original work on keyboard remapping. If you are interested in submitting a patch for this yourself. You can see the original issue ticket for keyboard remapping at:
https://bugs.chromium.org/p/chromium/issues/detail?id=608625

There you'll see all the files involved that might need to be changed. Considering there are several pre-existing examples of remapping keys, adding one more remapping option for the Assistant key is hopefully a fairly straightforward addition.

With the Pixel Slate launching with advertised Linux support, being able to use the "Super" key in those apps would add timely polish.

--- 

While researching this status, I found one related ticket which be closed as a dupe of this one.

Thanks.

Comment 26 by kpmurphy@google.com, Oct 29

I would like to upvote this issue. I have just switched over from macbook to pixelbook, and love it, but accidently pressing the assistant key (especially in emacs) is my biggest pet peeve - it is surprisingly annoying. I would like to remap it, or failing that, disable it.

Comment 27 by mhant...@gmail.com, Nov 6

Here is another use case enabled by remapping the assistant key:

I use Colemak keyboard layout (which is supported by ChromeOS). Normally, in Colemak, the CapsLock key is mapped to backspace, and my fingers are trained for that. So I have mapped the launcher key to backspace. Now I don't have a launcher key anymore. Thus, I would like to remap the assistant key to work as a launcher key.

IMHO, the assistant key should just be another key that can be remapped the same way as Esc, Backspace, Launcher, Ctrl and Alt.

Comment 28 by edholden@google.com, Nov 6

Cc: edholden@google.com

Comment 29 by ledoux@google.com, Nov 7

I would like to be able to remap the assistant key to be the launcher key instead.  I have the launcher key on my pixelbook remapped to Caps Lock and am now missing a launcher key.  I use Caps Lock frequently when coding and asking me to switch to alt+launcher is a big ask considering my heavily ingrained muscle memory.

Comment 30 by arrowga...@gmail.com, Nov 28

I'd really like to be able to remap this as well. I'm not interested in using the assistant, and accidentally pressing the key brings up this full screen thing that I can't even escape from with ctrl+w. Being able to remap it would allow me to use the key for something useful. It's a shame to just have a key that's an annoyance for the people who don't use assistant.

Comment 31 by cbook...@gmail.com, Nov 29

Would love to see the ability to remap this to Super for Crostini.

Comment 32 by dutton@google.com, Nov 29

One thing I discovered: to disable the Assistant key, you first need to go through the initial Assistant setup process. 

Once you've done that, you can disable Assistant from Settings.

Comment 33 by tbegin@chromium.org, Dec 21

Cc: tbegin@chromium.org

Comment 34 by randallli@google.com, Jan 9

+1. I would like to map it to the "option" key as it on mac.

Comment 35 by tipp@google.com, Jan 19

Thanks for #32!

Still, remapping it to something useful would be great.

Comment 36 by cass...@google.com, Jan 19

++. My expected workflow of rebindings is:

* capslock (launcher) -> escape
* escape -> assistant
* assistant -> launcher

Without that last rebinding, either the search button or the escape button is awkward to hit, and I use them both much more frequently than I use the assistant key.

ChromeOS is the only OS in which a setup like this isn't possible still.

Comment 37 by abodenha@chromium.org, Jan 23

Cc: jhawkins@chromium.org
+jhawkins as FYI

Comment 38 by xiaohuic@google.com, Jan 24

Cc: xiaoh...@chromium.org meilinw@chromium.org omrilio@chromium.org
Owner: meilinw@chromium.org
Status: Assigned (was: Untriaged)

Sign in to add a comment