Giter Club home page Giter Club logo

custom-hot-corners-extended's Introduction

Custom Hot Corners - Extended

A GNOME Shell Extension which allows you to control and navigate Gnome Shell environment through the corners and edges of your monitors. But not just that. It also adds many unique actions with custom keyboard shortcuts, so even if you don't like hot corners, this extension may improve your workflow.

This extension is based on the original Custom Hot Corners extension, but not much of the original code remains.

Features:

  • Gnome 3.36 - 46 compatibility
  • Hot corners with adjustable barrier sizes, both vertical and horizontal independently and usable as hot edges
  • Mouse buttons and a scroll wheel can be used as action triggers
  • Each trigger can be set to work only if Ctrl key is pressed
  • Each direction of a scroll wheel rotation is configurable independently
  • Each trigger can activate one of many actions including command execution, workspace and window navigation, window control, power manager actions, sound volume control, MPRIS player control, color filters (for windows and global), accessibility features and more.
  • Preferences window provides an app chooser dialog for Run Preset Command/Activate App ... action configuration. You can choose and modify exec command of chosen application, or app ID which will work the same as when you click an app icon in the Dash or App Grid.
  • Each corner's area reactive to mouse clicks and scrolls can be extended both horizontally and/or vertically to cover most length of the monitor's edges. If the adjacent corner is not set to expand in related direction, the corner can be expanded to 7/8 of the monitor's width/height. If two adjacent corners are set to expand to each other's direction, then it is 1/2 of the length for each. You can see the result of expansion settings using the Make active corners/edges visible option.
  • Fallback hot corner triggers as option - can be used on virtualized systems with mouse pointer integration where pressure barriers do not work.
  • Multi-monitor support. If you open preferences window, each monitor shows its index in the top left corner.
  • Monitor 1 settings are always applied on the primary monitor, the rest keep the order as set by GNOME.
  • You can set global keyboard shortcuts for any actions on the menu, except for those available natively in GNOME Settings.
  • You can create up to 4 Custom Menus with your own selection of actions and use them as a single action.

Video references:

CHC-E on Linux Tex channel

CHC-E on The Linux Experiment channel

Changelog

CHANGELOG.md

DND Window Thumbnails

Window thumbnails are scaled-down window clones that can be used to monitor windows not currently visible on the screen. Default position for the thumbnail is bottom right corner of the current monitor. You can create as many clones as you want and place them anywhere on the screen. Each thumbnail can be independently resized, you can adjust its opacity, even change its source window. When the thumbnail's source window close, thumbnail is removed too.

Control Action
Double click activate source window
Primary cLick toggle scroll wheel function (resize / source)
Scroll wheel resize or switch source window
Ctrl + Scroll wheel switch source window or resize
Secondary click show full-size window preview and toggle sowing preview on mouse hover
Shift + Scroll wheel change thumbnail opacity

Extension configuration window

Installation

You can install this extension in several ways.

Installation from extensions.gnome.org

The easiest way to install Custom Hot Corners - Extended: go to extensions.gnome.org and toggle the switch. This installation also gives you automatic updates in the future.

Installation from the latest Github release

Download the latest release archive using following command:

wget https://github.com/G-dH/custom-hot-corners-extended/releases/latest/download/[email protected]

Install the extension (--force switch needs to be used only if some version of the extension is already installed):

gnome-extensions install --force [email protected]

Installation from source

If you want to test the latest version from the Github repository (which is usually working well enough as it's the code I'm currently using on my own system), you can use following guide.

Make sure you have installed packages providing following commands: glib-compile-resources, glib-compile-schemas, git

GNOME 45 - 46
git clone https://github.com/G-dH/custom-hot-corners-extended.git
cd custom-hot-corners-extended
make install
GMONE 3.36 - 44
git clone https://github.com/G-dH/custom-hot-corners-extended.git
cd custom-hot-corners-extended
git checkout gnome-3.36-44
make install

Installation from AUR on Arch based distributions

Custom Hot Corners - Extended has also AUR repository maintainer (but I know nothing more about it): https://aur.archlinux.org/packages/gnome-shell-extension-custom-hot-corners-extended

Enable installed extension

After installation you need to enable the extension. Only direct installation from extension.gnome.org loads the code and enables the extension immediately.

  • First restart GNOME Shell (ALt + F2, r, Enter, or log out/log in if you use Wayland)

  • Now you should see the new extension in Extensions (or GNOME Tweak Tool on older systems) application (reopen the app if needed to load new data), where you can enable it and access its Preferences/Settings.

  • You can also enable the extension from the command line:

    gnome-extensions enable [email protected]

Contribution

Contributions are welcome and I will try my best to answer quickly to all suggestions.

Translations

You can contribute with translation to your language, source .pot file can be generated using

make pot

command within the cloned git repository, then you can use Poedit application for translation and export to .po file.

Buy me a coffee

If you like my work and want to keep me motivated, you can also buy me a coffee: buymeacoffee.com/georgdh

Credits

During development of this extension I was inspired by many extensions and other developers, I'll try to name the main contributors to my code:

  • Simon Shneegans - amazing developer with skill and style who provided me new Make files for my extensions and a lot of inspiration.
  • True Color Invert - useful extension with confusing name, which brought me to shader effects and whose modified code I use for 'Invert Lightness' action and other color filters.
  • GS Connect - CHC-E relies on the keybinding module copied from this great extension.
  • And, of course, the original 'Custom Hot Corners' extension, which I forked and upon which this extension was built.

custom-hot-corners-extended's People

Contributors

friimaind avatar g-dh avatar janxyz avatar peynman avatar quentiumyt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

custom-hot-corners-extended's Issues

When idle, extension kills Panel (pitch black) and upper half of screen

On Manjaro Gnome (on a HP x360 Spectre 14 laptop Intel i5-1035G4. No Nvidia so default is Wayland) with latest updates, I have this strange issue. I only installed your extension and https://github.com/harshadgavali/gnome-gesture-improvements and did not change the built in extensions, only disabled X11 gestures.

To reproduce:

  1. reboot and login. Open a window for example Firefox, fullscreen
  2. Wait about 15-30min
  3. Notice firefox suddenly only covers the bottom half of the screen, the wallpaper is visible on the upper half.
  4. Notice also Panel is now an empty black bar.

I cannot do much, I usually use CTRL+ALT+DEL to power off and reboot.

When I disable the extension, I get the same issue strangely.

I am not sure how to produce the right logs to see what is happening here (since I need to reboot to be able to do anything).

Show Application Grid shortcut conflicts with Dash-to-Dock

Having a weird conflict between 3 plugins. Going to probably post this to the others so wording this so I can easily copy-and-paste.

So the plugins are Dash-to-Dock, Custom Hot Corners - Extended, and Just Perfection.

So what happens is that when Dash-to-Dock is enabled, and I use the Show Applications Grid shortcut in Custom Hot Corners - Extended, the screen will flicker for a few frames, like it's trying to show the application grid, but then it fails to do so. From there, after that happens, if I open the Application Grid through other means, like using the Super+A keyboard shortcut, the Grid and the Overview will not recognize my mouse at all. The only way to fix this is to either reboot, or disable Just Perfection.

Unfortunately, there's nothing I can find in the logs about this. It just happens. What I do know is that Dash-to-Dock needs to be enabled for the initial shortcut to fail. I didn't test extensively, but it appears to only be with the Show Application Grid shortcut. The Grid/Overview mouse problem is only there if Just Perfection is enabled. I couldn't find any individual settings in Just Perfection that would disable it. The entire plugin has to be disabled.

Ext-v13 fails to build due to Non-ASCII issues.

case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
    /usr/bin/xgettext --default-domain=custom-hot-corners-extended --directory=.. \
      --add-comments=TRANSLATORS: --keyword=_ --keyword=N_  \
      --files-from=./POTFILES.in \
      --copyright-holder='Free Software Foundation, Inc.' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
  *) \
    /usr/bin/xgettext --default-domain=custom-hot-corners-extended --directory=.. \
      --add-comments=TRANSLATORS: --keyword=_ --keyword=N_  \
      --files-from=./POTFILES.in \
      --copyright-holder='Free Software Foundation, Inc.' \
      --package-name="${package_prefix}custom-hot-corners-extended" \
      --package-version='0.12' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
esac
/usr/bin/xgettext: Non-ASCII string at ../prefs.js:480.
                   Please specify the source encoding through --from-code
                   
make[2]: *** [Makefile:218: custom-hot-corners-extended.pot-update] Error 1
make[2]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v13/po'
make[1]: *** [Makefile:280: custom-hot-corners-extended.pot] Error 2
make[1]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v13/po'
make: *** [Makefile:459: install-recursive] Error 1

Recent version (25) stops working after some time

After the update to the recent version (25) the extensions stops working after some time. When going to https://extensions.gnome.org/local/, then "ERROR" appears besides the extension. Was using this extension for roughly 1 month and never experienced this issue. Only after updating it to v25, this issues appeared a second time today.

Restarting Gnome (Alt+f2, then r) solves this issue temporarily.

What's the best way to debug this?

I'm on Ubuntu 22.10 with Gnome 43.1.

Add hot edge option

I just found out about this extension and the possibilities it brings are amazing.

I have a suggestion, not sure if this is even possible, but having hot edges would allow for distinct "vertical" actions while keeping separate actions for the corner.
For example i would have the bottom corners as prev/next workspace and the bottom center edge as show applications.

I'm not sure if it is possible because i don't know if this behavior is coupled to the corner in particular or if it is something general that can be applied to any part of the screen. I thought i might ask anyway.

Thank you for your work.

Suggestion: duplicate settings from monitor 1 to monitor 2

I set up the extension to give me scrollable screen edges to scroll the workspaces.

It would be nice to be able to set up one monitor, and click a "duplicate other monitor" checkbox. So the same settings would apply on both monitors.

Just a small suggestion. It's not hard to do it manually, I've already done so.

Thanks!

Cursor sometimes gets stuck to secondary display

Hi,

I have a notebook as display 1, and an external monitor above it as display 2. The display layout on GNOME reflects this.

When this extension is active, for some unknown reason that I haven't figured out yet (might be related to coming back from lock screen), sometimes the cursor becomes stuck to the secondary display, meaning that it doesn't go beyond the lower boundary of display 2 (where it should enter display 1). Disabling the extension (and restarting GNOME session) fixes the problem.

I am open to ideas on how to help identify the root cause. Is there any log I where can look for some hints?

Grouped Apps in Overview

Hi,
Could it be possible to group several windows of the same Apps in the overview.
macOS does it by putting them on top of each other, app per app. Cycling through the windows could be done with TAB.

Nicolas

Let through click events that are not mapped in the extension

First of all: great extension! It really enhances the Gnome experience!

There is one problem, however, and I'd like to make one request:

The problem is that the extension intercepts mouse click events of all kinds if the relevant slider is set, which becomes an issue when extending the border of one of the right corners to the right side and using that side for, e.g., window switching via mouse scrolling, because now, even though I haven't mapped left click there (only middle mouse click and scrolling), moving the mouse to the right side and clicking on scroll bars to jump down in a page in a maximized window will often result in the click not having an effect, because it is intercepted.
So it would be nice if only those mouse events that are mapped in the extension could be intercepted and others let through.

The (unrelated) request is that the Gnome actions "View split on left" and "View split on right" (typically Super + Left Arrow / Right Arrow in Settings) be added under "Windows - Control" since that is the only thing I'm missing out of the many good choices there.

Thank you for your work!

GameMode integration

Hi

Is there a common/standard way of disabling the extension (and leaving default hot corner off) when GameMode starts?

Thanks.

Add media playback control

Thanks for this wonderful extension! ❤️
Would it be possible to add media playback control, in addition to existing sound control?

That would allow changing Spotify music, and switching to next track when current one doesn't correspond to the user mood :-)
Found this old extension that may help but development is above my understanding.

Custom hot edges

I hope you add a feature to make it possible to define actions for custom hot edges in addition to hot corners. Custom hot edges will allow us to easily switch between desktops by moving the mouse pointer to the middle of left / right edges, or we can use the middle of top / bottom edges. Also custom hot edges may have barrier size (edge to corner expansion).
Currently we have 4 hot corners, it would be amazing if you allow us to have another 4 hot edges, in total 8 hot zones for different actions with total control over the edges / corners of the screen.
Your extension is really helpful, thanks.

release event delay applied to hover gestures too?

The recent release event modification you just did is not just applying on clickable actions, but also to hover actions. Would you not mind giving us atleast the manual toggle of this behaviour? Caz this is driving me insane tbh. It's a complete workflow differentiating factor for me & it's quite a big deal for this changed action.

The problem I get with this, is this scenario:
Have Overview on top left (hover), & App menu on the same top left (click).
Imagine you need to get into appmenu. You click top left > appmenu appears, you move mouse away from corner > appmenu closes (obviously, caz overview gets triggered & closes appmenu).
Try it yourself.

Create a v17 tag & release on GitHub.

As the title suggests. Because when I use git describe --tags | sed 's/[^-]*-g/r&/;s/Ext.v*//;s/-/./g', I want to see the output of 17.r* instead of 15.fixed.r*. Thanks.

Disable icon in tray

The newest version adds an icon in the system tray. Can we have an option to disable this icon, since not all users need a quick access to those functions provided by the icon, which in this case would also take up precious space in the system tray.

After the last update, the hot corner began to work poorly. (overview actions) Violations were observed after resuming from standby

17 version works well. Version 15 works well. After updating to version 19, the "actions overview" after suspend "falls off". I've already reset GNOME settings, the problem persists. (Manjaro Linux x86_64; 5.15.50-1-MANJARO; GNOME 42.2; CPU: 11th Gen Intel i3-1115G4 (4) @ 4.100GHz;).

my observations: there are three computers at home. 2 have problems with manjaro, one with ubuntu 22.04 has no problems.

Application Grid opens another then the original in POP OS

Thank's for this tool, it's really good for me.
The problem i found using Pop OS 21.10 is selecting the action "Application Grid" opens another menu of apps different of the POP OS menu.
There's a way to open the original Pop OS menu through this extension?

Original Hot Corner still remains

A really small issue, so no problem if there's no fix:

The original hot corner (top left) with it's "Show Activities Overview" and the ripple animation still remains even if that corner is set to something else and the animation switched off. In order to prevent accidentally triggering that, the hot corner barrier on my monitor needs to be set to "2" for both edges, though I don't remember if that was the default in the extension settings. If set to "1" then there will occasionally be cases of accidentally triggering the wrong function on that corner.
So maybe if this cannot be fixed properly the default for the edge extension could simply be set to "2" if it isn't already.

Reverse mouse position after switching workspace

I use hot edge to switch workspace, the problem is it kept the mouse position of a previous workspace. It would be nice if we have a feature to reverse the mouse position after switching a workspace.
Btw, tks for this awesome tool, I was looking for this for a long time.

Inconsistent behavior between hot corners and clicks for expanded corners

When two corners are expanded to the same side, the barrier size is correctly applied for the hot corner feature, but not for the click area...it seems the click area is actually split in half on that edge, while the extended hot corner barrier is not.

IMO, the most important thing is consistency, whichever solution is applied to both cases, but personally I would prefer the hot corner behavior to be used for both, i.e. that I can choose the percentage of the edge barrier size for both clicks and hot corner behavior with the slider, instead of the edge being split in half.

RENAME the extension for use with RHEL9, Almalinux9...

RHEL 9 and clones like AlmaLinux 9 allow only the following 3 signs to be part of an extension`s name: . _ @

So the extension should be named: custom_hot_corners_extended@G_dH.github.com to work with RHEL 9...

see 11.1: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/gnome-shell-extensions

The uuid identifier is globally-unique. When choosing it, remember that the uuid must possess the following properties to prevent certain attacks:

Your uuid must not contain Unicode characters.
Your uuid must not contain the gnome.org ending as it must not appear to be affiliated with the GNOME Project.
Your uuid must contain only alphanumerical characters, the period (.), the at symbol (@), and the underscore (_). 

Move mouse cursor when switching workspaces

I currently have chc set up in a way that allows me to switch workspaces with my cursor. This way I can easily drag windows to a new workspace, so that it almost feels like a second monitor

2022-08-26.20-13-29.mp4

unfortunately in doing so the cursor maintains the same position on screen so that the window ends up on the right side of the screen rather than the left as can be seen in the video

so my request would be to add an option to move the cursor to the opposite edge when switching workspaces, ie.
Next Workspace - Moving Cursor left
Previous Workspace - Moving Cursor right

Slider for brightness/contrast

Bro, there are many options, which need Sliders. Like Brightness, etc.

Just like show menu, please add slider to change the brightness/contrast etc. values.

I'm using shortcuts currently to increase/decrease brightness, but it becomes easy if we could have slider.

Thank you.

"Open Panel Date Menu" doesn't close on second mouse action.

When I open application or overview I can hit the same corner again to close it but that doesn't happen when I choose "Open panel date menu" or "Open panel app menu". And when "Open panel system menu" is chosen it will open system menu on first action then date menu on the second. I'm not sure if this is by design.

I run gnome 3.38 on Debian 11.

Try this

Try this configuration:
Left up corner - Open ArcMenu
Right up corner - Close active window
Left down - run nautilus
Right down - switch window

Снимок экрана от 2022-09-03 18-00-00
Снимок экрана от 2022-09-03 18-01-04
Снимок экрана от 2022-09-03 18-01-06
Снимок экрана от 2022-09-03 18-01-09
Снимок экрана от 2022-09-03 18-01-12
Peek 2022-09-03 18-05

How to trigger Arc Menu (default app menu in Manjaro Gnome)?

Since I use a vertical panel on the left side, I have the application menu (Arc Menu) in the top left.
I would like to set Top Left hot corner to open the menu, so that I don't have to click it anymore.

I went through all options, also custom command preset (choosing an application) but I cannot find it anywhere.

How can I trigger this action?

In Arc Menu settings, I already set the (left) Super key (Win) to open this menu as well.

Make error, `No rule to make target 'stylesheet.css', needed by 'all-am'` happens in latest Ext-v15(not make)

make[1]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15/po'
Making install in icons
make[1]: Entering directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15/icons'
make[2]: Entering directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15/icons'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/pkg/gnome-shell-extension-custom-hot-corners-extended/usr/share/gnome-shell/extensions/[email protected]/icons'
 /usr/bin/install -c -m 644 TopLeft.svg TopRight.svg BottomLeft.svg BottomRight.svg TopLeftHE.svg TopRightHE.svg BottomLeftHE.svg BottomRightHE.svg TopLeftVE.svg TopRightVE.svg BottomLeftVE.svg BottomRightVE.svg Mouse-1.svg Mouse-2.svg Mouse-3.svg Mouse-4.svg Mouse-5.svg '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/pkg/gnome-shell-extension-custom-hot-corners-extended/usr/share/gnome-shell/extensions/[email protected]/icons'
make[2]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15/icons'
make[1]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15/icons'
make[1]: Entering directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15'
make[1]: *** No rule to make target 'stylesheet.css', needed by 'all-am'.  Stop.
make[1]: Leaving directory '/tmp/makepkg/gnome-shell-extension-custom-hot-corners-extended/src/custom-hot-corners-extended-Ext-v15'
make: *** [Makefile:459: install-recursive] Error 1

Window flickers when using any window !

Basically when there is some application opening behind the scene and we have opened the another application in the top which is previewing via full screen. when we try to minimize via the corner it shows the flickering for a while and feels so ugly and embarrassing to watch !

Workspace indicator not displaying consistently in the same place

Found another issue: when the workspace indicator is set to "Overlay Index" and I map mouse scrolling on some corner to workspace switching then the workspace indicator will display at the left side of the monitor for the first switch, but at the center of the monitor for subsequent switches if they occur in quick succession...if there is a pause then the first switch will again have the indicator on the left.

When switching workplaces from within the AATWS the indicator is always in the center, even on the first switch.

Cannot use gsettings or dconf to configure extension

Tried:

dconf write /org/gnome/shell/extensions/custom-hot-corners-extended/monitor-0-bottom-left-0/action 'toggle-arcmenu'

error: 0-5:unknown keyword

Usage:
  dconf write KEY VALUE 

Write a new value to a key

Arguments:
  KEY         A key path (starting, but not ending with '/')
  VALUE       The value to write (in GVariant format)

It can read:

dconf read /org/gnome/shell/extensions/custom-hot-corners-extended/monitor-0-bottom-left-0/action                                                                                                                                                       
'disabled'

The recommended way for Gnome extensions is to use --schemadir to get or set a value, for example:

gsettings --schemadir /usr/share/gnome-shell/extensions/[email protected]/schemas/ get org.gnome.shell.extensions.custom-hot-corners-extended.monitor-0-top-left-0 action  

Could not load schemas from /usr/share/gnome-shell/extensions/[email protected]/schemas/: Failed to open file “/usr/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled”: open() failed: No such file or directory

Other extensions do have a folder schema with a file gschemas.compiled. Would it be possible for you to include this in the next version?

By being able to configure this extension through command line, I can easily include it in my post-install script I use whenever I install a laptop or computer :)

Hot corners still work in full screen and games

When I open a game, my mouse disappears and I can move the game view with the mouse, but apparently my mouse is just hidden and sometimes it reaches corners. If I don't have the extension disabled, the hot corners still work and I get kicked out of the game!!!!
I also had this problem with the Ubuntu dock. When my mouse reaches the bottom of the screen, the dock appears, but this doesn't happen in full screen mode, so I think this problem can be fixed at least in full screen mode.

One App Overview

Could It be possible to add an option for an overview of a single app, running several windows.

For exemple, when the Files App has several windows opened, and active, the One App Overview would show only these windows, leaving the other running apps blurred in the background.
macOS does it, and it's really convinient.

cheers

Translation support availible?

Hello,

I did some work on German translation based on cs-po file (because there is no pot file).
I would like to test that translation on my system but there seems to be no structure for translations in this app, right?

Kind regards

separate Ctrl bindings

Hi, awesome extension bro. I'd like to be able to bind modkeys separately, so we could have many variants of bindings and have many actions to perform.

e.g. just point to a corner/edge does X, but doing the same with Ctrl pressed does Y. Also you can add more modifiers like Shift and Alt, that would be really awesome!

Suggestion: Top Middle "Hot Corner" and Top Right "Hot Corner" for elements of the gnome shell UI

Saw your post on Reddit, fantastic extension, thank you so much for this gift to the community.

Since GNOME 3.0 that I find the Top Left Hot Corner brilliant, as a heavy high DPI mouse user this as become my preferred way of opening the Activities Overview.

But I always wondered why didn't GNOME extend the Hot Corner functionality to other highly frequented UI Elements: The Top Middle Notification/Calendar and the Top Right System Menu.

My suggestion or question is would it be possible to add this functionality to this extension?

  • A top middle "hot corner" that opens the notification center
  • An option for the top right "hot corner" to open the system menu

Maybe you can make a dream come true?
Many thanks for all your hard work so far!

First scroll tick of the mouse wheel is always ignored

I try to configure mouse wheel up/down in the extended top right corner to switch workspace. The particular action and screen corner are actually irrelevant.

Problem:
When I move the mouse to the configured corner and start scrolling, the first scroll "tick" of the mouse always gets ignored. All mouse wheel inputs afterwards work as expected, until I remove the mouse from corner. It doesn't matter what direction the first scroll is, it doesn't get queued or anything and only the subsequent scroll inputs are registered.

Click events work as expected. With "Ctrl" enabled for the actions, the first scroll is still ignored.

The problem only exists with a mouse. With touchpad I can't replicate it, but I suspect that the touchpad simply send multiple scroll inputs.
I'm trying to replace the extension "Top Panel Workspace Scroll", which itself doesn't have this problem.

System & Software:
Ubuntu 22.04.1 LTS
Gnome 42.5, running on X11
Tested with extension version 23 and no other extensions enabled, fresh after login.
All settings in the "Options" page are turned off, minimum delay is set to 100ms. Only mouse wheel up/down configured for the specific corner.
Toggling the multitasking settings in Ubuntu's Settings has no effect.

Translation not shown complete

I finished German translation 51% using the latest pot file from source (make pot)
So I did a quick test and installed CHC from source. After that I added the German translation.
Only some strings are shown as translated in settings window of CHC.

For example this strings are shown as translated:

Expand horizonatally
Expand vertically
Tint Color

These strings were translated but not shown as translated in UI:

Monitor
Keyboard
Custom Menus

Can you help me please?

Opening Firefox disables all my gnome-extensions

Linux distribution and version
Fedora 34

GNOME Shell version
GNOME Shell 40.2

When I install custom-hot-corners-extended (this is in the last 2 or so days, worked find before) and open firefox all my gnome-extensions get disabled. I just enabled it while firefox was running and had no issue. Closed firefox and reopened it and still no issue. Seems to only happen when firefox first opens on my system.

journalctl /usr/bin/gnome-shell --since "2 days ago" |grep corners-extended gives me this

gnome-shell[63140]: JS ERROR: Extension [email protected]: TypeError: this._getWindowSurface(...) is null
_removeEffects@/home/jkyrus/.local/share/gnome-shell/extensions/[email protected]/actions.js:113:18
removeAllEffects@/home/jkyrus/.local/share/gnome-shell/extensions/[email protected]/actions.js:92:22
clean@/home/jkyrus/.local/share/gnome-shell/extensions/[email protected]/actions.js:68:14
disable@/home/jkyrus/.local/share/gnome-shell/extensions/[email protected]/extension.js:104:13

hc[i] is null

I have just installed this extension via the shell extension website, unfortunately I get this error:

image

May 07 09:20:21 ranger gnome-shell[2848]: JS ERROR: Extension [email protected]: TypeError: hc[i] is null
                                          _removeHotCorners@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:114:13
                                          _updateHotCorners@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:146:5
                                          _replaceLayoutManager@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:85:24
                                          enable@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:79:5
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:167:32
                                          _onEnabledExtensionsChanged/<@resource:///org/gnome/shell/ui/extensionSystem.js:493:35
                                          _onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:493:14
                                          createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:516:46
                                          enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:194:29
                                          callback@resource:///org/gnome/shell/ui/extensionDownloader.js:230:44
                                          gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:106:13
May 07 09:20:24 ranger gnome-shell[2848]: JS ERROR: TypeError: hc[i] is null
                                          _removeHotCorners@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:114:13
                                          _updateHotCorners@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:146:5
                                          _updateWatch/_watch.timeout<@/home/user/.local/share/gnome-shell/extensions/[email protected]/extension.js:247:29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.