derick rethans

› XFCE and moving windows around with the keyboard

XFCE and moving windows around with the keyboard

During a recent apt-get update && apt-get dist-upgrade I suddenly found myself with the horrors that are Gnome 3 and the Gnome shell, and of course, at the least opportune moment when I was actually planning on heading into an office (more about that later). I've always been a big Sawfish fan, and was annoyed when Gnome replaced that with Metacity, but I always managed to get Sawfish back up again. No more luck now, and without a Debian package maintainer I decided to try out XFCE.

I found XFCE to be as easy to use with the keyboard as Sawfish but with one big missing issue: I couldn't change the size and position of windows at the keyboard anymore. I hardly use a mouse as it hurts too much, and always relied on those keyboard shortcuts to position my windows so I was quite a bit at a loss. After some searching I ran into a post on nabble that contained a script that almost did what I want. It uses a bunch of standard X tools (xprop and xwininfo) to find some information about the active window and its properties. Then depending on some parameters it would use wmctrl to move and/or resize the window. For example: ./bin/window-geometry-control.sh -m left would move the window 1 pixel to the left.

That's all good, but way too slow. I basically just want to bump my windows to the top, right, bottom and left sides of my screen. So besides the simple move and resize, I added what Sawfish originally also had: move left/right/top and bottom; and well as resize-to left/right/top and bottom. Now with the command ./bin/window-geometry-control -b left I can move the active window all the way to the left, and with ./bin/window-geometry-control -s bottom I can resize my window from its current position all the way to the bottom of the screen. To each of the four directions and two methods I assigned keyboard shortcuts in xfce4-settings-manager, Keyboard, Application Shortcuts.

xfce-keyboard.png

The screenshot above shows those assigned keyboard shortcuts. I've put the modified script on github. As you can see I hardcoded the width and height of my own screen in it. Feel free to make this dynamic and send a pull request.

17/11/2011 10:31 am (UTC)   Derick Rethans   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez projects

› We all love completion right ?

Using the amazing command line git client, I came to feel frustrated when I had to use scripts that don't provide arguments completion. It just feels wrong, now. And eZ Publish bin scripts are among those. And man, they do have arguments. Right ?

16/11/2011 6:44 pm (UTC)   eZ Projects   View entry   Digg!  digg it!   del.icio.us  del.icio.us

granite horizon

› Four Things Successful Marketers Know About Cloud And Open Source Tools

It’s no secret that digital marketing has become much more of a “social conversation” that we’re having and online content management tools are really becoming “online conversation” tools. Content coming into the organization is sometimes as (or more) important than content going out. Couple that with the struggling economics of most of our marketing budgets (doesn’t it seem like we’re always struggling) and the fact that we have to measure so much more – and you’ve got the recipe for a daunting challenge.
15/11/2011 11:42 pm (UTC)   http://granitehorizon.com/blog   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Last Call! Participate in the 2011 Open Source CMS Market Survey

Last call for Open Source CMS Market Survey!

15/11/2011 4:15 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› More Twitter accounts for eZ Community : more relevancy, more choice.

So far the main, semi-automated Twitter account was @ezcommunity. It channeled manual messages, commit messages, notifications for new forums posts, new blog posts and new tutorials. This has changed now, for the better.

14/11/2011 4:07 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› eZ publish Oriented Designer: Why programmers don’t need Windows at work

It has been almost one month that I'm in Norway and the interesting part is that I'm using Ubuntu all the time at work, and only using Windows at home, how it is possible here and wasn't in Brazil? The key is the designer role here. In this blog post I'll talk about that.

11/11/2011 12:40 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Discover and Using CMIS with eZPublish.

CMIS (Content Management Interoperability Services) is a specification for improving interoperability between Enterprise Content Management (ECM) systems. 

10/11/2011 10:50 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Discovering and Using CMIS with eZPublish.

CMIS (Content Management Interoperability Services) is a specification for improving interoperability between Enterprise Content Management (ECM) systems. 

10/11/2011 10:50 am (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› Report on the flash, mass translation session : WOW

It was short. Yes. I confess. 2.5 weeks to address translation of eZ Publish & its extensions was little. But the quality and volume of your contributions awed me, truly. It set me thinking : the next translation session (with the usual month of translation duration this time) should lead to the "fully translated" status in many languages :)

 
09/11/2011 6:27 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

ez publish community gateway

› 2011 November 7th - Meeting minutes

The Share Team has delivered the Event Planner for the share.ez.no portal. The Team's focus is now on the Job Board, another exciting feature to be implemented on our Community portal very soon. More details to be found in the minutes below. 

08/11/2011 3:03 pm (UTC)   http://share.ez.no   View entry   Digg!  digg it!   del.icio.us  del.icio.us

eZ publish™ copyright © 1999-2005 eZ systems as