Disable Top Left Hot Corner

Home » CentOS » Disable Top Left Hot Corner
CentOS 23 Comments

Hello everybody.

I have CentOS Linux release 7.3.1611 (Core ) instaled in mi PC. I want to disable *Top Left Hot Corner* function from my OS, but i don´t want to install the gnome-shell extension nohotcorners. I want to disable permanently, i want to diseable from the OS with a sentences from the command line. It is Possible?, i hope so. Thanks :D

23 thoughts on - Disable Top Left Hot Corner

  • Unfortunately that doesn’t work as the requisite file
    (/usr/share/gnome-shell/js/ui/layout.js) doesn’t actually exist in CentOS 7 – it’s for an older version of gnome-shell.

    The way to do it is to use the shell extension “nohotcorners” – but the OP doesn’t want to use that and has various other criteria that need to be satisfied.

    P.

  • Thanks For the Answer Mike and Pete. But Mike, In CentOS 7 this directory (/usr/share/gnome-shell/js/ui/layout.js)
    doesn’t exist. Another Solution?. :)

    2017-05-27 17:25 GMT-05:00 Pete Biggs :

    Atentamente:
    * Raymundo Nuñez Franco*
    * Lic. Informática *

  • Yes Andrea,

    I’ve already used this extension. But I need to disable the active hot left top corner from the command line.

    Because I work with a computer that does not have a mouse. I have already installed the application and after a while it is deactivated and I have to reactivate it with the mouse. So I need to do it with another way to be permanent and from the command line. Thanks :P

    Thiss one ?

    https://extensions.gnome.org/extension/118/no-topleft-hot-corner/

    Running here, on gnome 3.22 /3.24

    Am Montag, den 29.05.2017, 11:08 -0500 schrieb Raymundo N.F.:

  • Raymundo has said multiple times that he doesn’t want/can’t use Gnome Shell extensions and that he needs a command line method for doing it –
    so it’s not much use to keep throwing different shell extensions at him!

    I think though that he needs to explain why he can’t use a shell extension as there might be another way of doing what he needs.

    P.

  • Usage: gnome-shell-extension-tool [options]

    Options:
    -h, –help show this help message and exit
    -d DISABLE, –disable-extension=DISABLE
    Disable a GNOME Shell extension
    -e ENABLE, –enable-extension=ENABLE
    Enable a GNOME Shell extension
    -c, –create-extension

    Am Montag, den 29.05.2017, 11:26 -0500 schrieb Raymundo N.F.:

  • I already used this option before and it did not work. The corner is still active. :(

    2017-05-29 11:33 GMT-05:00 Andreas Benzler :

    Atentamente:
    * Raymundo Nuñez Franco*
    * Lic. Informática *

  • Ok, I wonder …. will try it my self …

    Am Montag, den 29.05.2017, 11:38 -0500 schrieb Raymundo N.F.:

  • It works here

    ]$ gnome-shell-extension-tool -e nohotcorner@azuri.free.fr
    ‘nohotcorner@azuri.free.fr’ is now enabled.
    [andy@randy extensions]$ gnome-shell-extension-tool -d nohotcorner@azuri.free.fr
    ‘nohotcorner@azuri.free.fr’ is now disabled.

    I works right of the box copy got zip from git

    https://github.com/Edenhofer/Minimalism-Gnome-Shell

    cp -r nohotcorner@azuri.free.fr
    $HOME/.local/share/gnome-shell/extensions

    F2 + r to restart shell

    and then i was on the way …..

    Try it out my self now.

    Am Montag, den 29.05.2017, 11:38 -0500 schrieb Raymundo N.F.:

  • Forgotten to say: Booted into CentOS 7 for the test.

    Am Montag, den 29.05.2017, 11:38 -0500 schrieb Raymundo N.F.:

  • Hello Andy. Yes it work. But if i pass the mouse many times insistently in the left corner this function is activated again. I make this, because the computer is for others final users and i need to make sure that it works. You know how are the final user. Thanks!

    2017-05-31 7:43 GMT-05:00 Andreas Benzler :

    Atentamente:
    * Raymundo Nuñez Franco*
    * Lic. Informática *

  • Ok, then it is little bit more complecated.

    css code moved into library.

    This are the final steps (incomplete because of time)

    1. enable gnome user theme (gnome-shell themes !)
    2. clone css resources over web or source cocde 3.14 into
    .$HOME/.theme/gnome-shell
    3. follow this post https://unix.stackexchange.com/questions/196541/rem ove-disable-hot-corner -> third answer. For normal css and dark.

    Hm should work ….I will put my laptop on the table…

    Andy

    Am Mittwoch, den 31.05.2017, 11:07 -0500 schrieb Raymundo N.F.:

  • hm …

    never happens here. works all the time

    https://github.com/HROMANO/nohotcorner

    this seams to be the originial one…

    downloaded it and unpack rename the folder to nohotcorner@azuri.free.fr]

    and move it again into

    .local/share/gnome-shell/extensions/nohotcorner@azuri.free.fr

    restart again F2 + r

    done … login, logout … very wired.

    Am Mittwoch, den 31.05.2017, 11:07 -0500 schrieb Raymundo N.F.:

  • On our master node from CentOS cluster we use mate from epel. Works good as the gnome-shell.

    Sincerely

    Andy

    Am Mittwoch, den 31.05.2017, 11:07 -0500 schrieb Raymundo N.F.:

  • :D Thanks for your help Andy. I will try and let you know

    2017-05-31 13:30 GMT-05:00 Andreas Benzler :

    Atentamente:
    * Raymundo Nuñez Franco*
    * Lic. Informática *

  • Ok up for over one our with it an works and works and works. hm

    This one of the situation “You must have it in by hand”.

    Hopefully mate works for you.

    Andy

    Am Mittwoch, den 31.05.2017, 13:43 -0500 schrieb Raymundo N.F.:

  • Hello Andy, about your css answer i read the post:
    https://unix.stackexchange.com/questions/196541/remove-disable-hot-corner and the third answer is about an old gnome-shell:

    awk ‘/this._corner = new Clutter.Rectangle/,/ });/ { sub(/reactive: true/,
    “reactive: false”);} { print }’ /usr/share/gnome-shell/js/ui/layout.js >
    /usr/share/gnome-shell/js/ui/layout.js.tmp; mv
    /usr/share/gnome-shell/js/ui/layout.js
    /usr/share/gnome-shell/js/ui/layout.js.orig; mv
    /usr/share/gnome-shell/js/ui/layout.js.tmp
    /usr/share/gnome-shell/js/ui/layout.js

    This won’t work for newer versions of gnome-shell because the directory /usr/share/gnome-shell/js/ui/layout.js doesn’t exist. Thanks Andy.

    2017-05-31 13:49 GMT-05:00 Andreas Benzler :

    Atentamente:
    * Raymundo Nuñez Franco*
    * Lic. Informática *