You are not logged in.

#1 2010-10-14 02:53:33

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

[SOLVED] Can't Close MuPDF With Ratpoison

I can't close MuPDF hitting the escape key (F10 for me) followed by the k key in ratpoison. I have tried using the default escape key sequence (Ctrl-t), with the same result. MuPDF is recognized by ratpoison as a window (shows up with F10-w) so I can't imagine what's up. The only interesting thing to note is that when MuPDF opens, it takes up only a portion of the screen, but then expands to the full screen when I hit F10 twice.

See the following screenshot:
201010132249171280x800s.th.png

My ratpoisonrc:

# Settings
set font "kroeger 05_55 caps-6"
set padding 0 0 0 0
set border 0
set waitcursor 0
startup_message off

# Keybindings
unbind exclam
bind exclam exec $(dmenu_path | dmenu)
bind quotedbl exec ratpoison -c "select `ratpoison -c "windows" | dmenu -l 5 -i | awk -F ' *[+|*|-] *' '{print $1}'`"
unbind x
bind x exec ~/.scripts/swap_wrapper.sh
unbind c
bind c exec urxvt
bind t time
unbind F10
bind F10 other
definekey top F10 readkey root
definekey top XF86ScrollUp exec xte 'mouseclick 4'
definekey top XF86ScrollDown exec xte 'mouseclick 5'
definekey top XF86Launch3 exec rotate.sh
definekey top XF86AudioRaiseVolume exec amixer -q set Master 5+
definekey top XF86AudioLowerVolume exec amixer -q set Master 5-
definekey top XF86AudioMute exec amixer -q sset Master playback toggle
definekey top Print exec scrot
definekey top M-XF86ScrollDown exec xournal
definekey top M-XF86ScrollUp exec zathura
definekey top M-XF86Launch3 exec sr -g google

The q shortcut to close MuPDF works fine (it's native to MuPDF), but I would like to know why ratpoison's keybinding doesn't work on MuPDF. Thanks!

Last edited by Sara (2010-10-15 07:59:26)


Registed Linux User 483618

Offline

#2 2010-10-14 10:12:44

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

Re: [SOLVED] Can't Close MuPDF With Ratpoison

Yes mupdf behaves a little bit strangely. The window manager doesn't really have complete control over this little program. I can't tell you why, but I can tell you that it's not your fault, that's just how mupdf is. Maybe it would be the best to contact the author and ask him why he doesn't want window managers to be in control wink

Offline

#3 2010-10-15 07:58:44

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: [SOLVED] Can't Close MuPDF With Ratpoison

Thanks for letting me know. Will mark this as SOLVED then, for while a solution to the problem has not been presented, my question has been answered.

Last edited by Sara (2010-10-15 07:59:59)


Registed Linux User 483618

Offline

Board footer

Powered by FluxBB