Archive for September 3rd, 2009

Debian Squeeze/Sid Unstable Compiz fix Gnome Run Application Alt+F2 problem

Thursday, September 3rd, 2009

I’ve happily installed and use compiz-gnome. In order to succesfully run compiz I was required to execute itvia the command
1. # compiz –replace &
Compiz broke the default behaviour of some of my assigned keys like for example the nice handy Alt+F2 Run Application dialog box.That made me irritated and therefore I wanted to have the handy feature working as before. The suggested solution to the situation was proposedby user kiprit on the following post in ubuntuforums . I will quote here what the valueable post reads:
Start Compiz Config Settings ManagerGo to General Options, under Commands tabunder the commands fold, command line 0, type: gnome-rungo to “key bindings” fold, Run command 0, assign Alt+F2
It seems gnome for some reasons does not include application that invokes the Gnome Application Run menu. To fix that somebody out there has written a small program in C language that refers to the Run Application dialog.
Download the program gnome-run.c here . To properly compile the program use:
2. gcc -o gnome-run gnome-run.c -L/usr/lib/X11 -lX11
If you’re lucky gnome-run should be now poping up the Run Application dialog.
Afterwards please follow the instructions inabove’s forum post . I wasn’t completely happy with the solution because gnome-run doesn’t execute the Run Application dialog front focused. I’ve googled for other swift way to execute commands through a command and I came upon gmrun . Happily for me gmrun was already included in a packaged deb binary so all I had to do is install it via apt-get install gmrun and set it for execution on alt+f2 key press again as explained above.END—–