You are not logged in.

#1 2011-03-28 16:57:24

mencargo
Member
Registered: 2009-05-05
Posts: 58

yeahconsole + urxvt + openbox

Hi there, I'm using OpenBox and would like to have yeahconsole ready at boot, I have the following config:

[mencargo@flexbook ~]$ cat .config/openbox/autostart.sh
#!/bin/bash
feh --bg-center /home/mencargo/Desktop/arch.png
urxvtd -q -o -f &
xfce4-panel &
(sleep 3 && yeahconsole) &
(sleep 3 && /usr/bin/nm-applet) &

[mencargo@flexbook ~]$ cat .Xdefaults
URxvt.foreground:white
URxvt.background:#0c0c0c
URxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=16
URxvt.scrollBar: False
URxvt.saveLines: 10000
URxvt.internalBorder: 5
URxvt.urlLauncher: chromium
URxvt.perl-ext-common: default,matcher
URxvt.matcher.button: 1
URxvt.geometry: 80x24

yeahconsole*term: urxvtc
yeahconsole*consoleHeight: 20
yeahconsole*toggleKey: Win+masculine
yeahconsole*keyFull: Win+F11
yeahconsole*aniDelay: 1
yeahconsole*stepSize: 2
yeahconsole*restart: 1

Now, there's a yeahconsole process running when my session starts, but the HotKey doesn't work.
But, if I kill that process and start a new one, it works.
I thought it needed a delay after the urxvt daemon, so I placed a sleep, but it didn't fix it.

Any thoughts?

Offline

#2 2011-03-28 17:42:42

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: yeahconsole + urxvt + openbox

Weird stuf... if I don't specify any delay, like so:

[mencargo@flexbook ~]$ cat .config/openbox/autostart.sh
#!/bin/bash
feh --bg-center /home/mencargo/Desktop/arch.png
urxvtd -q -o -f &
xfce4-panel &
yeahconsole &
nm-applet &

The yeahconsole HotKeys work fine since startup! But all my OpenBox HotKeys defined at .config/openbox/rc.xml don't work!
Surprisingly, if I go to the OB menu and hit restart, all hotkeys work...
Seems like yeahconsole is kidnapping the hotkeys!

Offline

#3 2011-03-29 17:52:55

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: yeahconsole + urxvt + openbox

Changed to gnome-panel, no luck, changed the xinitrc login command, no luck...

[mencargo@flexbook ~]$ cat .xinitrc
#exec dbus-launch openbox-session
exec openbox-session
set completition-ignore-case on

Still restarting openbox from the menu fixes the issue every time, but it's annoying.

Offline

#4 2011-03-29 20:33:02

Evanlec
Member
From: NH, USA
Registered: 2007-12-16
Posts: 141
Website

Re: yeahconsole + urxvt + openbox

You might have better luck putting such things in OpenBox's autostsart file (i forget the name of it), rather than your .xinitrc
That way openbox starts _before_, and thus yeahconsole starts afterwards overwriting its keybinds or w/e it does.

Offline

#5 2011-03-30 04:10:04

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: yeahconsole + urxvt + openbox

@Evanlec, that's exactly how it is.

Seems to be fixed placing the sleep in a different way:

[mencargo@flexbook ~]$ cat .config/openbox/autostart.sh
#!/bin/bash
#gnome-panel &

urxvtd -q -o -f &
nm-applet &
feh --bg-center /home/mencargo/Desktop/arch.png &
xfce4-panel &
sleep 3
yeahconsole &

I don't know why (sleeep 3 && yeahconsole) & works differently, but oh well...

Offline

#6 2011-03-31 18:10:44

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: yeahconsole + urxvt + openbox

Never mind, it randomly works, it may have to do with the delay, but it's not consistent.
I couldn't find any practical workaround for the separated clipboards so I switched to gnome-terminal + guake... but it gives me the same issue!
When guake starts from autostart.sh, it tells me that there was a problem setting up the hotkey, so it initially doesn't work.
Going to guake's settings, I can set up the same hoykey without problems, but this ruins the practicity of guake so I'm currently not using it.

Cheers

Offline

Board footer

Powered by FluxBB