An app for adding hot corners?

Everything about X, Gnome, KDE, ... and everything running on it

An app for adding hot corners?

Postby bedtime » 2018-02-01 12:17

Somewhere on the web I read that a person had added hotcorners to their dwm setup (like in Gnome 3). I would like to do that, but I have lost the link.

Basically, I would like a minimal app that allows me to execute a command upon hitting a corner or the top/bottom of the screen to hide/show stuff. I've searched and searched, but I just keep bumping into Gnome/Kde... results.

Any ideas?
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: An app for adding hot corners?

Postby oswaldkelso » 2018-02-01 22:44

fittstool https://github.com/jeanCarloMachado/fittstool

Very light
172.0 KiB + 36.5 KiB = 208.5 KiB fittstool

DE/WM independent

my fittstoolrc

Code: Select all
############ fittstoolrc ################
[TopCenter]

LeftButton=lilyterm
MiddleButton=openbox --exit
RightButton=btrxtrlock-wrapper
WheelUp=searchmonkey
WheelDown=/usr/lib/Thunar/ThunarBulkRename
Enter=xmessage -buttons , -nearmouse "LMB=Term MMB=Exit RMB=Lock Wheelup=Search Wheeldown=Rename"
Leave=killall xmessage

##############################
[TopRight]
LeftButton=killall xmessage; xdotool key Ctrl+F10           
MiddleButton=killall xmessage; xdotool key Ctrl+F6           
RightButton=killall xmessage; xdotool key Ctrl+F9           
WheelUp=maxall                             
WheelDown=minall                           
Enter=xmessage -buttons , -nearmouse "LMB=Split-V MMB=Lower RMB=Split-H Wheel=Maxall/Minall"
Leave=killall xmessage

#########################
[Right]
LeftButton=mpv                           
MiddleButton=asunder                     
RightButton=xfburn
Enter=xmessage -buttons , -nearmouse "LMB=Mpv MMB=Asunder RMB=Burn"
Leave=killall xmessage 


###########################
[BottomRight]
LeftButton=mumble                           
MiddleButton=wicd-gtk                     
RightButton=utox 
Enter=xmessage -buttons , -nearmouse "LMB=Mumble MMB=Wicd RMB=Utox"
Leave=killall xmessage           

############################
[BottomCenter]

LeftButton=seamonkey
MiddleButton=transmission-gtk
RightButton=claws-mail
WheelUp=
WheelDown=
Enter=xmessage -buttons , -nearmouse "LMB=Browser MMB=Torrents RMB=Mail"
Leave=killall xmessage
#########################
[BottomLeft]

LeftButton=leafpad
MiddleButton=geany
RightButton=lowriter
Enter=xmessage -buttons , -nearmouse "LMB=Leafpad MMB=Geany RMB=Office"
Leave=killall xmessage

##########################
[Left]

LeftButton=xterm -C alsamixer
MiddleButton=amixer -q sset Master toggle
RightButton=lilyterm -e cplay ~/audio/music/*
WheelUp=amixer -q sset Master 2+
WheelDown=amixer -q sset Master 2-
Enter=xmessage -buttons , -nearmouse "LMB=Mixer MMB=Toggle sound RMB=Cplay Wheel=Volume"
Leave=killall xmessage
###########################
[TopLeft]

LeftButton=rox
MiddleButton=killall fittstool;fittstool
RightButton=spacefm
WheelUp=skippy-xd
WheelDown=skippy-xd
Enter=xmessage -buttons , -nearmouse "LMB=Rox MMB=Fittstool RMB=Spacefm Wheel=Skippy-xd"
Leave=killall xmessage

#Available positions: TopLeft, TopCenter, TopRight,  Right, BottomRight,  BottomCenter, BottomLeft, Left,
#Available events: LeftButton, RightButton, MiddleButton, WheelUp, WheelDown, WheelUpOnce, WheelDownOnce, Enter, Leave


viewtopic.php?f=3&t=59034&start=1200#p662287
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1137
Joined: 2005-07-26 23:20
Location: UK

Re: An app for adding hot corners?

Postby bedtime » 2018-02-02 01:07

oswaldkelso wrote:fittstool https://github.com/jeanCarloMachado/fittstool

Very light
172.0 KiB + 36.5 KiB = 208.5 KiB fittstool

DE/WM independent

my fittstoolrc

Code: Select all
############ fittstoolrc ################
[TopCenter]

LeftButton=lilyterm
MiddleButton=openbox --exit
RightButton=btrxtrlock-wrapper
WheelUp=searchmonkey
WheelDown=/usr/lib/Thunar/ThunarBulkRename
Enter=xmessage -buttons , -nearmouse "LMB=Term MMB=Exit RMB=Lock Wheelup=Search Wheeldown=Rename"
Leave=killall xmessage

##############################
[TopRight]
LeftButton=killall xmessage; xdotool key Ctrl+F10           
MiddleButton=killall xmessage; xdotool key Ctrl+F6           
RightButton=killall xmessage; xdotool key Ctrl+F9           
WheelUp=maxall                             
WheelDown=minall                           
Enter=xmessage -buttons , -nearmouse "LMB=Split-V MMB=Lower RMB=Split-H Wheel=Maxall/Minall"
Leave=killall xmessage

#########################
[Right]
LeftButton=mpv                           
MiddleButton=asunder                     
RightButton=xfburn
Enter=xmessage -buttons , -nearmouse "LMB=Mpv MMB=Asunder RMB=Burn"
Leave=killall xmessage 


###########################
[BottomRight]
LeftButton=mumble                           
MiddleButton=wicd-gtk                     
RightButton=utox 
Enter=xmessage -buttons , -nearmouse "LMB=Mumble MMB=Wicd RMB=Utox"
Leave=killall xmessage           

############################
[BottomCenter]

LeftButton=seamonkey
MiddleButton=transmission-gtk
RightButton=claws-mail
WheelUp=
WheelDown=
Enter=xmessage -buttons , -nearmouse "LMB=Browser MMB=Torrents RMB=Mail"
Leave=killall xmessage
#########################
[BottomLeft]

LeftButton=leafpad
MiddleButton=geany
RightButton=lowriter
Enter=xmessage -buttons , -nearmouse "LMB=Leafpad MMB=Geany RMB=Office"
Leave=killall xmessage

##########################
[Left]

LeftButton=xterm -C alsamixer
MiddleButton=amixer -q sset Master toggle
RightButton=lilyterm -e cplay ~/audio/music/*
WheelUp=amixer -q sset Master 2+
WheelDown=amixer -q sset Master 2-
Enter=xmessage -buttons , -nearmouse "LMB=Mixer MMB=Toggle sound RMB=Cplay Wheel=Volume"
Leave=killall xmessage
###########################
[TopLeft]

LeftButton=rox
MiddleButton=killall fittstool;fittstool
RightButton=spacefm
WheelUp=skippy-xd
WheelDown=skippy-xd
Enter=xmessage -buttons , -nearmouse "LMB=Rox MMB=Fittstool RMB=Spacefm Wheel=Skippy-xd"
Leave=killall xmessage

#Available positions: TopLeft, TopCenter, TopRight,  Right, BottomRight,  BottomCenter, BottomLeft, Left,
#Available events: LeftButton, RightButton, MiddleButton, WheelUp, WheelDown, WheelUpOnce, WheelDownOnce, Enter, Leave


viewtopic.php?f=3&t=59034&start=1200#p662287

I added a volume control and hot corners for dmenu and monocle mode; works great! Amazing the work you can get done with the mouse!
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: An app for adding hot corners?

Postby oswaldkelso » 2018-02-02 10:47

I added a volume control and hot corners for dmenu and monocle mode; works great! Amazing the work you can get done with the mouse!


Glad it worked for you. I think it's worth it just for volume control alone. Having a fittstool setup is ace if you like to try many WM's. It gives all your already learnt actions a common base in the unfamiliar setups.

Mouse and touchpad. I'll be adding touchpad support with better synaptic actions. I'm thinking scroll in particular as I've been lazy and not bothered to tweak it in my setup because 95% of the time I'm at my desktop.

I have multiple ways of launching the same action and tend to have less used actions on scroll. I notice it more on my netbooks with out keyboard mouse buttons. The touchpads are very small so I'll probably just test it with a minimal setup to avoid false actions and leave other setting for when I have a libre tablet. :wink: I don't think I'll have long to wait :mrgreen:

https://wiki.debian.org/SynapticsTouchpad
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1137
Joined: 2005-07-26 23:20
Location: UK

Re: An app for adding hot corners?

Postby bedtime » 2018-02-03 12:22

oswaldkelso wrote:
I added a volume control and hot corners for dmenu and monocle mode; works great! Amazing the work you can get done with the mouse!
Mouse and touchpad. I'll be adding touchpad support with better synaptic actions. I'm thinking scroll in particular as I've been lazy and not bothered to tweak it in my setup because 95% of the time I'm at my desktop.

I have multiple ways of launching the same action and tend to have less used actions on scroll. I notice it more on my netbooks with out keyboard mouse buttons. The touchpads are very small so I'll probably just test it with a minimal setup to avoid false actions and leave other setting for when I have a libre tablet. :wink: I don't think I'll have long to wait :mrgreen:

https://wiki.debian.org/SynapticsTouchpad

I deactived my touchpad via the kernel; it just gets in my way...

You are right, the resource usage is extremely small for that app! Dmenu (/w mouse patch!) + fittstool might be a good combo for anyone wanting an easy way to select apps.

What window manager are you using? I'm curious now.
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: An app for adding hot corners?

Postby oswaldkelso » 2018-02-04 21:05

Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1137
Joined: 2005-07-26 23:20
Location: UK


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable