You are not logged in.
I installed Rat Poison and it "works", as in it launches without apparent error, and I can sorta make windows/programs (or do you call them frames in RP?) open (if I add them to the .xinitrc) or I can do "Ctrl+t+c" (which opens XTerm).
However, the (keyboard) commands "Ctrl+t+:" (I hit Control Key + t key + colon key) and "Ctrl+t+!" (I hit Control Key + t key + non-numpad 1/one key) seem to have no affect as I believe it gives an error something like "C-t-! is not defined.".
Is there any way to fix this?
My other problem is with the .ratpoisonrc.
First off, it didn't exist, so I created one.
Contents of my .ratpoisonrc:
escape Super-x
bind c exec terminatorWhat I had wanted that to achieve would be to change the default begin keys "Ctrl+t" to "Super+x" instead, and make "Ctrl+t+c" (or "Super+x+c", as I had hoped) open Terminator instead of XTerm.
It did not.
My .xinitrc (when launching RP):
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#exec mate-session
exec ratpoisonAny suggestions/help to conquer the difficulties stated would be very appreciated! ![]()
Last edited by Nobabs27 (2015-04-05 22:11:05)
Facepalm.
Offline
... I can do "Ctrl+t+c" (which opens XTerm).
I doubt that - I suspect it opens terminator
My other problem is with the .ratpoisonrc.
First off, it didn't exist, so I created one.
That is not a problem. That is expected.
However, the (keyboard) commands "Ctrl+t+:" (I hit Control Key + t key + colon key) and "Ctrl+t+!" (I hit Control Key + t key + non-numpad 1/one key) seem to have no affect
Why would they, you haven't defined them? There are defaults, it seems, that you are likely confused with Ctrl+t+: is different from Ctrl+t then :
Is this archlinux, or are you still using Manjaro?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I doubt that - I suspect it opens terminator
It does not.
It opens XTerm despite my .ratpoisonrc.
That is not a problem. That is expected.
Ok, thank you.
The man page says that there is supposed to be a fallback/other config file in /usr/etc/ratpoisonrc, but, there is not.
Actually, there is no etc/ directory in /usr/.
Why would they, you haven't defined them? There are defaults, it seems, that you are likely confused with Ctrl+t+: is different from Ctrl+t then :
How do I define them?
The RP man page (man ratpoison) lists "C-t :" as "Execute a ratpoison command".
Also, the default key bindings page says that "C-t !" is "Run a shell command.".
Source: http://www.nongnu.org/ratpoison/doc/Def … dings.html
Perhaps I am doing the key commands wrong, if I am, how do I do them correctly?
Is this archlinux, or are you still using Manjaro?
Arch Linux, not Manjaro.
Help appreciated! ![]()
Facepalm.
Offline
Are C-t : and C-t ! working? The first post, you just indicated that C-t-: and C-t-! didn't. The difference is subtle but relevant:
1) Press and hold control
2) Press t
3) Release both control and t
4) Now press colon or esclamation
There is no /usr/etc, that is either an error in the man page, or it is written for a very different distro. That default config file should be distributed in /etc, or perhaps /usr/doc/ratpoison, but the archlinux package does not seem to have it at all.
While it is good to read man pages, always check our wiki to for information specific to using a piece of software on archlinux.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The difference is subtle but relevant
Indeed.
Thank you, the key commands are working now, and "Ctrl+t+c" now opens Terminator.
However I still wish to change the escape/starting/("other" as the RP help page calls it) key command from "Ctrl+t" to "Super+x".
How would I do this?
Here is my .ratpoisonrc at the moment:
escape Super-x
bind C-c exec terminatorHelp is appreciated!
Facepalm.
Offline
Try this
escape s-xIt works for me when I test it (I personally use C-z for escape and use the super key for top-mapped keybinds, but I tested "escape s-x" and it works on my machine).
(edit) note that this is s-x, not S-x.
Last edited by 2ManyDogs (2015-04-05 02:15:09)
Offline
Try this
escape s-xIt works for me when I test it (I personally use C-z for escape and use the super key for top-mapped keybinds, but I tested "escape s-x" and it works on my machine).
(edit) note that this is s-x, not S-x.
Thanks!
That did the trick.
My final (for now) .ratpoisonrc:
exec xcompmgr -c -f -D 5 &
escape s-x
unbind c
bind C-c exec terminator
bind c exec terminatorFacepalm.
Offline