You are not logged in.
I have been working on a script to add configurable hot corners and aero'esque style left/right window snapping. The script seems to be working quite well on my systems, but it could do with some more testing. If you are interested, it is installable via the repository and usage information is on GitHub: https://github.com/corenominal/cb-wmhacks
sudo apt-get update && sudo apt-get install cb-wmhacksLast edited by corenominal (2012-04-25 12:33:44)
Offline
I can't wait to get back home to #! to try this out.
Offline
I can't wait to get back home to #! to try this out.
Good stuff, thank you 
Offline
hey corenominal! so that's where you have been! 
well, i think there's gonna be lots of people happy with such a script. seen a request for stuff like this a couple of times these past weeks i think. so it's good to have something native in #!
won't be using it myself, as i'm quite happy with how i have everything set up. still, much appreciate the effort (and good to see your face around here again
)
Offline
hey corenominal! so that's where you have been!
Yes, sorry, Waldorf has been keeping me pretty busy of late, so not a whole lot of time to spare.
Offline
^ no problem man! we're just concerned for your well-being and like having you around, that's all. but we know you're not sulking off somewhere drinking beer from our donations ;D
come to think of it, i'll give you some more drinking-money soon 
Offline
Yay, beer! 
Offline
I misread that as cb-whacks!! 
Point & Squirt
Offline
I misread that as cb-whacks!!

Offline
So... actually installed the script, and the aero-snapping seems to work OK. (Any chance of a command to undo it?) Kupfer, however, was not a great success, at least the version that comes with Squeeze. When launched from a terminal it threw out a slew of error messages, and the window seemed to be unresponsive to anything... I'm probably missing something though...
Anyway, Phillip, good to see you around. How's the sciatica these days?
John
--------------------
( a boring Japan blog , and idle twitterings )
Offline
So... actually installed the script, and the aero-snapping seems to work OK. (Any chance of a command to undo it?) Kupfer, however, was not a great success, at least the version that comes with Squeeze. When launched from a terminal it threw out a slew of error messages, and the window seemed to be unresponsive to anything... I'm probably missing something though...
Undo could be tricky. I guess I would need to look at storing window ids and associated geometries. Hmm.
Kupfer is much improved in Wheezy, although the output persists, much of which seems to harmless event logging.
Anyway, Phillip, good to see you around. How's the sciatica these days?
Touch wood, it has been fine, thanks for asking 
Offline
Hey Corenominal would this work on terminator if i had the window borders disabled?
Offline
Hey Corenominal would this work on terminator if i had the window borders disabled?
Yes 
Offline
TitanMech wrote:Hey Corenominal would this work on terminator if i had the window borders disabled?
Yes
Great, im gonna test it on my netbook and see if there is any noticeable difference in performance.
Offline
Great, im gonna test it on my netbook and see if there is any noticeable difference in performance.
Good stuff. Performance is something that concerns me, I have not noticed any hits myself, but again, it really needs more people testing it. Thanks.
Offline
Probably I'm doing something wrong. What's supposed to happen exactly? How do I activate the hot corners? 
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Probably I'm doing something wrong. What's supposed to happen exactly? How do I activate the hot corners?
If you run the script with the '--daemon' argument, it should detect when your cursor hits the corner of your screen, and if the corner has an associated command, it will run it.
By default, the top left corner has the command 'kupfer' associated to it, either install kupfer or change the command. HTH 
Offline
johnraff wrote:So... actually installed the script, and the aero-snapping seems to work OK. (Any chance of a command to undo it?) Kupfer, however, was not a great success, at least the version that comes with Squeeze. When launched from a terminal it threw out a slew of error messages, and the window seemed to be unresponsive to anything... I'm probably missing something though...
Undo could be tricky. I guess I would need to look at storing window ids and associated geometries.
Okay, it now has some basic session management and so undoing aero snapping should work, at least it does on my systems 
The script now requires a fairly recent version of xdotools, which I have backported to Statler. I have also put the package 'cb-wmhacks' in the Statler repo, so it is should now be possible to install the script:
sudo apt-get update && sudo apt-get install cb-wmhacksOffline
Working fine for me at the moment.
Not sure I'll stick with it but I'll definitely 'keep an eye on it'.
Offline
I feel stupid... but no corner action, no snapping here. wmhacks --daemon is running (according to htop).
Kupfer is installed (and works).
This is the output in terminal when I run wmhacks --daemon
$ cb-wmhacks --daemon
Xlib.protocol.request.QueryExtension
Xlib.protocol.request.QueryExtensionsed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
I feel stupid... but no corner action, no snapping here. wmhacks --daemon is running (according to htop).
Kupfer is installed (and works).This is the output in terminal when I run wmhacks --daemon
$ cb-wmhacks --daemon Xlib.protocol.request.QueryExtension Xlib.protocol.request.QueryExtension
No need to feel stupid, it is most probably a problem with the script. As mentioned, it has not received any widespread testing, so there is bound to be some issues 
How did you get the script?
Offline
Tunafish wrote:I feel stupid... but no corner action, no snapping here. wmhacks --daemon is running (according to htop).
Kupfer is installed (and works).This is the output in terminal when I run wmhacks --daemon
$ cb-wmhacks --daemon Xlib.protocol.request.QueryExtension Xlib.protocol.request.QueryExtensionNo need to feel stupid, it is most probably a problem with the script. As mentioned, it has not received any widespread testing, so there is bound to be some issues
How did you get the script?
At first I used the version from github.
Now I installed with apt-get from statler repo.
I'm using 64-bit testing (so i had to install xdotool from statler repo as well)
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
Hmm, do you get any output from 'cb-wmhacks --aero-left'?
Offline
Hmm, do you get any output from 'cb-wmhacks --aero-left'?
No text output, but it does move the window.
sed 's/stress/relaxation/g'
Privacy & Security on #!
Offline
corenominal wrote:Hmm, do you get any output from 'cb-wmhacks --aero-left'?
No text output, but it does move the window.
Okay, sounds like an issue with xlib and cursor detection. Could you describe your set-up, screen and input device, etc?
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.