You are not logged in.

#1 2013-09-27 07:36:42

Mhyperbolic
Member
Registered: 2012-11-18
Posts: 30

dmenu not opening via shortcut, fine from commandline

Hello,

I can't get dmenu to open from my window manager.
First I had to problem with xmonad, now I have switched to bspwm,
and the problem is the same. For bspwm i used sxhkdr for keybindings.

The configs are :

bspwmrc
http://codepad.org/6EzOLELF

sxhkdrc
http://codepad.org/s1s35eay

Opening dmenu form commandline works fine.
All other keybindings work fine.

Any ideas?

Offline

#2 2013-09-27 10:36:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dmenu not opening via shortcut, fine from commandline

What is in the stderr output?

Where this would be found depends on how you start X and your WM ... how do you start X and your WM?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-09-27 15:57:15

Mhyperbolic
Member
Registered: 2012-11-18
Posts: 30

Re: dmenu not opening via shortcut, fine from commandline

Trilby wrote:

What is in the stderr output?

Where this would be found depends on how you start X and your WM ... how do you start X and your WM?


I use .xinit, and exec bspwm. Where would stderr be?

Offline

#4 2013-09-27 16:57:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dmenu not opening via shortcut, fine from commandline

It would go to the tty - but unless you specify to start X on another tty the new xinit configurations start X on the same tty that launched it, so it masks/covers any output.

I don't know if there is a way to retreive this output - I don't think it is logged.  I start x with "xinit 2>~/.xorg.log", then from within X I can just "cat ~/.xorg.log".

Last edited by Trilby (2013-09-27 16:57:37)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-09-27 17:28:43

NethR
Member
Registered: 2013-08-23
Posts: 7

Re: dmenu not opening via shortcut, fine from commandline

You can start sxhkd with -r option to redirect output from commands:

sxhkd -r ~/sxhkd.log &

Then try to use your hotkey. If dmenu gives any error it will be in ~/sxhkd.log.

Offline

#6 2013-09-27 18:05:20

Mhyperbolic
Member
Registered: 2012-11-18
Posts: 30

Re: dmenu not opening via shortcut, fine from commandline

NethR wrote:

You can start sxhkd with -r option to redirect output from commands:

sxhkd -r ~/sxhkd.log &

Then try to use your hotkey. If dmenu gives any error it will be in ~/sxhkd.log.

That worked. I get an error:

"no locale support
/usr/bin/dmenu_run: line 15:   983 Segmentation fault      (core dumped) dmenu "$@" < "$cache"

From this thread -> https://bbs.archlinux.org/viewtopic.php … 1#p1172671 I've tried changing
my locale to "LANG=dk_DK.utf_8", and now dmenu can open fine, but my "danish" keys "øæå" doesn't work in
my terminal. I get "?ae?". This seems weird.

EDIT
Also my terminal in general seems weird now. Alsamixer for instance is all messed up.
See -> http://i.imgur.com/vGRPfrv.png

Last edited by Mhyperbolic (2013-09-27 18:09:57)

Offline

Board footer

Powered by FluxBB