Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

An app for adding hot corners?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

An app for adding hot corners?

#1 Post by bedtime »

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?

User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1490
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 58 times

Re: An app for adding hot corners?

#2 Post by oswaldkelso »

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 
http://forums.debian.net/viewtopic.php? ... 00#p662287
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Re: An app for adding hot corners?

#3 Post by bedtime »

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 
http://forums.debian.net/viewtopic.php? ... 00#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!

User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1490
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 58 times

Re: An app for adding hot corners?

#4 Post by oswaldkelso »

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
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Re: An app for adding hot corners?

#5 Post by bedtime »

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.

User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1490
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 58 times

Re: An app for adding hot corners?

#6 Post by oswaldkelso »

Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

Post Reply