You are not logged in.

#1 2020-02-08 23:10:18

damo
....moderator....
Registered: 2015-08-20
Posts: 6,572

lwa-hot-corners: possible alternative to bl-hotcorners

From a suggestion in this thread...

misko_2083 wrote:

This looks promising
https://github.com/Leinnan/lwa-hot-corners
4x less memory consumption than bl-hotcorners

"Pretty simple hot corners implementation for X server written in modern C++"

Not sure about the mem use, but the cpu usage is about the same as bl-hotcorners, and a C++ program is likely to be more efficient than a python script.

It polls the mouse position every 60ms, which is a bit wasteful to my taste, but this can be changed before compiling, by editing src/Manager.h (line#22), in the extracted directory (I used 300):

const int UPDATE_INTERVAL_IN_MS = 60;

cd to lwa-hot-corners-master/, and if you want to install in $HOME/bin, do

export DESTDIR=''
PREFIX="$HOME" make
PREFIX="$HOME" make install

Create a config file, such as .config/lwa-hotcornersrc, like this:

top_left_command=gmrun
top_right_command=
bottom_left_command=
bottom_right_command=
hold_duration=500
disable_on_fullscreen=false

To run it at login, add this command to your autostart

lwa-hot-corners ~/.config/lwa-hotcornersrc &

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#2 2020-09-25 16:22:57

MevLyshkin
New Member
Registered: 2020-09-25
Posts: 1

Re: lwa-hot-corners: possible alternative to bl-hotcorners

Hi! I am author of the program.

I've updated repository.

Changes:
- by default logs are disabled
- disable calls with empty command
- change default update interval in order to make update less often
- allow to change interval via config(update_interval=value in ms)

Please feel free to provide more feedback!

Offline

#3 2020-09-25 18:26:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,572

Re: lwa-hot-corners: possible alternative to bl-hotcorners

Thank you for your contribution to the Linux desktop experience smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2021-03-03 13:53:44

sleekmason
zoom
From: Ozarks
Registered: 2018-05-22
Posts: 570
Website

Re: lwa-hot-corners: possible alternative to bl-hotcorners

MevLyshkin wrote:

Hi! I am author of the program.

I've updated repository.

Changes:
- by default logs are disabled
- disable calls with empty command
- change default update interval in order to make update less often
- allow to change interval via config(update_interval=value in ms)

Please feel free to provide more feedback!

Hello and good day!

I am wanting to use your script in a few different wm's, but am having trouble with the hotcorners not working unless another window is opened.  Openbox works as expected.

The others I am using are fluxbox, pekwm, and jwm.  Hotcorners works fine in these so long as another window is open as well. ( I should note that I just grabbed the script, and did not "install" as such.  Unsure if this could have an impact.)

The fullscreen option in the rc makes no difference to this behavior.

Anyway, really digging you work!  On Openbox, lwa-hot-corners is flawless so far.)

Offline

Board footer

Powered by FluxBB