You are not logged in.

#1 2008-10-17 14:25:53

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

[SOLVED] quake-like terminal in openbox?

just trying out openbox (the screenshot section convinced me wink ) and i like it so far.
i try to keep it fast and simple, otherwise i'd install guake or something similar.

is there any way to popup urxvt by pressing a button? i don't want to start a new instance of it, just bring it to the foreground and maybe hide it again.

Last edited by konni (2008-10-19 15:04:07)

Offline

#2 2008-10-17 14:49:24

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED] quake-like terminal in openbox?

I use tilda ... I liked yakuake a lot more, but want to use as many GTK-apps as possible. Try it out, maybe you like it. An alternative is always welcome, because I really don't like tilda very much.

Offline

#3 2008-10-17 14:59:24

atomkarinca
Member
From: Somewhere but Not Here
Registered: 2008-07-03
Posts: 95
Website

Re: [SOLVED] quake-like terminal in openbox?

To assign (for instance) F12 to urxvt, add this line to your ~/.fluxbox/keys file:

F12 :ExecCommand urxvt

Offline

#4 2008-10-17 15:03:19

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: [SOLVED] quake-like terminal in openbox?

urxvt -pe kuake

Then press F10.

Last edited by andre.ramaciotti (2008-10-17 15:03:35)


(lambda ())

Offline

#5 2008-10-17 15:40:34

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: [SOLVED] quake-like terminal in openbox?

the -pe kuake is nice... tried that in gnome some time ago and it didnt work...
now i just have to rebind the key wink

thanks!

edit: mhhm... starting it in autostart.sh works, starting via menu doesnt, x-keybinding error... well i wanted to autostart it anyway
and after editing the key in /usr/lib/urxvt/perl/kuake i'm totally happy ;D

Last edited by konni (2008-10-17 15:56:13)

Offline

#6 2008-10-17 16:56:03

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: [SOLVED] quake-like terminal in openbox?

uhm, almost... it grabs all modifiers as well... so guess i have to put it to f1 instead of grave, i somehow need it on the left side ^^

tilda is not really an option, and its openbox - not fluxbox wink

Offline

#7 2008-10-17 17:34:32

frip
Member
Registered: 2008-08-10
Posts: 10

Re: [SOLVED] quake-like terminal in openbox?

I modified wmctrl to display the title of the active window.
I use this to show and hide mrxvt with this bash code:

#! /bin/bash
#title of the window you want to show/hide
TITLE="mrxvt"
#application name
APP=mrxvt

#List all applications
if [ "`wmctrl -l | grep -c "$TITLE"`" = "0" ]
then
#start the application if it is not already running
    $APP &
else
#if the application is running, determine if we should show or hide the window
# -z is the option to print the active window title
    if [ "`wmctrl -z | grep -c "$TITLE"`" = "0" ]
    then
# show the window
        wmctrl -R "$TITLE"
    else
# hide the window
        wmctrl -r "$TITLE" -b add,hidden
    fi
fi

You can bind this code to a shortcut by editing the openbox configuration file.

I use it for other applications, too. E.g. firefox with title Gran Paradiso.
If you are interested I can give you the modified wmctrl sources.

Offline

#8 2008-10-17 18:13:49

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: [SOLVED] quake-like terminal in openbox?

that would be awesome... wink

Offline

#9 2008-10-17 19:19:26

frip
Member
Registered: 2008-08-10
Posts: 10

Re: [SOLVED] quake-like terminal in openbox?

Offline

#10 2008-10-17 19:24:19

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: [SOLVED] quake-like terminal in openbox?

konni wrote:

the -pe kuake is nice... tried that in gnome some time ago and it didnt work...
now i just have to rebind the key wink

thanks!

edit: mhhm... starting it in autostart.sh works, starting via menu doesnt, x-keybinding error... well i wanted to autostart it anyway
and after editing the key in /usr/lib/urxvt/perl/kuake i'm totally happy ;D

How exactly did you get it to work?  When I run (even after changing the the /usr/lib/urxvt/perl/kuake to F1) it I get the error:

tony@arch_linux ~ $ urxvt -pe kuake
urxvt: An X Error occured, trying to continue after report.
urxvt: X Error of failed request:  BadAccess (attempt to access private resource denied)
urxvt: Major opcode of failed request:  33
urxvt: (which is X_GrabKey)
urxvt: Serial number of failed request:  147

I'm currently using tilda for now, too, and while I like it, there are a few things that are less than ideal.

Last edited by tonyisnt (2008-10-17 19:27:15)

Offline

#11 2008-10-17 19:38:45

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: [SOLVED] quake-like terminal in openbox?

Offline

#12 2008-10-18 10:27:42

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: [SOLVED] quake-like terminal in openbox?

frip
thansk a lot! using -a instead of -R because i got urxvt on all desktops but works like a charm wink

tonyisnt
guess your wm has some key mapped to f1 as well,
in gnome this would probably be caused by gnome-terminal.

donvla
tried yeahconsole but somehow it freezes after some time.

Last edited by konni (2008-10-18 10:33:13)

Offline

Board footer

Powered by FluxBB