You are not logged in.
nextscreen
unmanage panel
escape C-t
#layouts [ ] [|] [|= [-] [+]
definekey top M-F1 exec ratpoison -c "select -" -c "only" -c "next" -c "set border 0"
definekey top M-F2 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "set border 10"
definekey top M-F3 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "focusright" -c "next" -c "vsplit" -c "next" -c "set border 10"
definekey top M-F4 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next" -c "set border 10"
definekey top M-F5 exec ratpoison -c "select -" -c "only " -c "hsplit" -c next -c "vsplit" -c next -c "focusright" -c next -c "vsplit" -c "next" -c "set border 10"
msgwait 2
rudeness 12
set winname title
set winfmt %n %s %t
set fgcolor #B8DDEA
set bgcolor #343434
set font "Terminus-8"
set winliststyle column
set inputwidth 400
set waitcursor 1
set padding 0 16 0 0
set fwcolor #555555
set bwcolor #444444
set barpadding 2 0
set wingravity nw
set transgravity center
set bargravity ne
set border 0
set barborder 1
set inputwidth 800
definekey top M-S-Return exec urxvt
definekey top M-m exec $(dmenu_path | dmenu -nb "#3f3f3f" -nf "#dcdccc" -sb "#1e2320" -sf "#f0dfaf" -fn '-*-dina-medium-r-*-*-13-*-*-*-*-*-iso8859-1')
bind k kill
bind R remove
bind u undo
bind d dedicate
definekey top M-Tab focusprev
definekey top M-C-Left exchangeleft
definekey top M-C-Right exchangeright
definekey top M-C-Up exchangeup
definekey top M-C-Down exchangedown
definekey top M-Left resize -20 0
definekey top M-Right resize 20 0
definekey top M-Up resize 0 20
definekey top M-Down resize 0 -20
definekey top M-d exec "ratinfo.sh"
definekey top M-w windows
bind o exec ratpoison -c "only" -c "set border 0"
bind v exec ratpoison -c "hsplit" -c "set border 10"
bind h exec ratpoison -c "vsplit" -c "set border 10"
bind s swap
bind n nextscreen
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
^ can i get the stylesheet you're using for the forum?
Offline
^ can i get the stylesheet you're using for the forum?
It's a style for uzbl, not firefox..just so you know.
.uzbl_highlight { background-color: yellow !important;}
.uzbl_h_first { background-color: lightgreen !important;}
.uzbl_follow { border-style: dotted;
border-width: thin;
}
uzbl_hint > div {
display: inline;
border: 2px solid #4a6600;
background-color: #b9ff00 !important;
color: black;
font-size: 9px;
font-weight: bold;
line-height: 9px;
margin: 0px;
padding: 0px;
position: absolute;
z-index: 1000;
-webkit-border-radius: 6px;
text-decoration: none;
-wekit-transform: scale(1) rotate(0deg) translate(-6px,-5px);
}
body {
background-color: #3f3f3f !important;
bgcolor: #3f3f3f !important;
background: #3f3f3f !important;
border: solid #3f3f3f !important;
color: #bbbbbb !important;
}
p {
color: #bbbbbb !important;
background-color: #3f3f3f !important;
border: 0px;
}
h1,h2,h3,h4,h5,h6 {
color: #C4DF90 !important;
background-color: #3f3f3f !important;
}
a:link {
color: #C4DF90 !important;
background-color: #3f3f3f !important;
text-decoration: none !important;
outline: none;
}
a:active {
color: #CC896D !important;
background-color: #3f3f3f !important;
text-decoration: none !important;
outline: none;
}
a:hover {
color: #CC896D !important;
background-color: #3f3f3f !important;
text-decoration: none !important;
outline: none;
}
a:visited {
color: #CC896D !important;
background-color: #3f3f3f !important;
text-decoration: none !important;
outline: none;
}
input {
background-color: #3f3f3f !important;
border: 1px solid #bbbbbb !important;
outline: none !important;
color: #bbbbbb !important;
}
input:hover {
background-color: #353535 !important;
border: 1px solid #bbbbbb !important;
outline: none;
color: #bbbbbb;
}
img {
border-color: 0px solid #3f3f3f !important;
}
textarea {
background-color: #3f3f3f;
border: 1px solid #bbbbbb;
outline: none;
color: #bbbbbb;
}
td {
background-color: #3f3f3f !important;
border: 0px solid #bbbbbb !important;
color: #bbbbbb !important;
}
tr {
background-color: #3f3f3f !important;
border: 0px solid #bbbbbb !important;
color: #bbbbbb !important;
}
dl {
background-color: #3f3f3f !important;
border: 0px;
color: #bbbbbb !important;
}
dd {
background-color: #3f3f3f !important;
border: 0px #bbbbbb !important;
color: #bbbbbb !important;
}
th {
background-color: #3f3f3f !important;
border: 0px solid #bbbbbb !important;
color: #bbbbbb !important;
}
li {
background-color: #3f3f3f !important;
border: 0px;
color: #bbbbbb !important;
}
ul {
background-color: #3f3f3f !important;
border: 0px;
color: #bbbbbb !important;
}
ol {
background-color: #3f3f3f !important;
border: 0px;
color: #bbbbbb !important;
}
blockquote {
background-color: #3f3f3f !important;
color: #bbbbbb;
}
div.postright, div.postfootright,div.box{
border-left-color: #3f3f3f !important;
#margin: 0px !important;
}
div {
background-color: #3f3f3f !important;
color: #bbbbbb !important;
border: 0px solid #3f3f3f;
}
div.incqbox, div.codebox,div.scrollbox {
background-color: #404040 !important;
border: 0px !important;
}
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
hullap wrote:^ can i get the stylesheet you're using for the forum?
It's a style for uzbl, not firefox..just so you know.
thanks for the stylesheet
Offline
It's really sad to see so few Ratpoison users.
Here's my updated config. I decided I (finally) want workspaces in Ratpoison, but I could never get around the idea of using rpws. I simply don't like it, not as long as Ratpoison has it's own workspace-like system built in. So I did something a wee hackish, but it provides me with all that I need, and once more proves how awesome this wm is. The real awesome, not THAT one *wink*
# Lich layouts [ ] [|] [|= [-] [+]
bind F1 exec ratpoison -c "select -" -c "only" -c "next"
bind F2 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next"
bind F3 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "focusright" -c "next" -c "vsplit" -c "next"
bind F4 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next"
bind F5 exec ratpoison -c "select -" -c "only " -c "hsplit" -c next -c "vsplit" -c next -c "focusright" -c next -c "vsplit" -c "next"
banish
#uncomment this in case you want to use Caps Lock as escape. I just have it here for reference, I despise the idea
#exec xmodmap -e 'clear Lock' -e 'keycode 66 = F13'
#escape F13
#Set up the workspace stuff
gnew one
gnewbg two
gnewbg three
gnewbg four
gnewbg five
gnewbg six
gnewbg seven
gnewbg eight
gnewbg nine
gmerge default
gdelete default
#ALT + F* for workspace switching
definekey top M-F1 exec ratpoison -c "gselect 1" -c "select -" -c "only" -c "next" -c "echo one"
definekey top M-F2 exec ratpoison -c "gselect 2" -c "select -" -c "only" -c "next" -c "echo two"
definekey top M-F3 exec ratpoison -c "gselect 3" -c "select -" -c "only" -c "next" -c "echo three"
definekey top M-F4 exec ratpoison -c "gselect 4" -c "select -" -c "only" -c "next" -c "echo four"
definekey top M-F5 exec ratpoison -c "gselect 5" -c "select -" -c "only" -c "next" -c "echo five"
definekey top M-F6 exec ratpoison -c "gselect 6" -c "select -" -c "only" -c "next" -c "echo six"
definekey top M-F7 exec ratpoison -c "gselect 7" -c "select -" -c "only" -c "next" -c "echo seven"
definekey top M-F8 exec ratpoison -c "gselect 8" -c "select -" -c "only" -c "next" -c "echo eight"
definekey top M-F9 exec ratpoison -c "gselect 9" -c "select -" -c "only" -c "next" -c "echo nine"
startup_message off
msgwait 5
rudeness 12
set winname title
set winfmt %n %s %t
set framefmt %t
set bgcolor #000000
set fgcolor DarkOliveGreen2
set fwcolor #343434
set bwcolor #272727
set font "Monospace-10"
set winliststyle column
set waitcursor 1
set padding 0 0 0 0
set barpadding 4 0
set wingravity ne
set transgravity center
set bargravity ne
set border 8
set barborder 1
set inputwidth 500
set historysize 0
bind k kill
bind R remove
bind u undo
bind d dedicate
bind c exec urxvt
bind L exec slock
bind b exec ratpoison -c "banishrel" -c "ratrelwarp -15 -15"
bind o only
bind v hsplit
bind h vsplit
bind s swap
bind n nextscreen
definekey top M-h ratrelwarp -20 0
definekey top M-j ratrelwarp 0 20
definekey top M-k ratrelwarp 0 -20
definekey top M-l ratrelwarp 20 0
definekey top M-F10 exec amixer -q set PCM 0%
definekey top M-F11 exec amixer -q set PCM 3dB-
definekey top M-F12 exec amixer -q set PCM 3dB+
definekey top M-w windows
definekey top M-g groups
definekey top M-numbersign fselect
definekey top M-S-Return exec urxvt
definekey top M-m exec $(dmenu_path | dmenu -nb "#000000" -nf "#f44c31" -sb "#f44c31" -sf "#000000" -fn "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*")
definekey top M-Tab next
definekey top M-C-Left exchangeleft
definekey top M-C-Right exchangeright
definekey top M-C-Up exchangeup
definekey top M-C-Down exchangedown
definekey top M-Left resize -10 0
definekey top M-Right resize 10 0
definekey top M-Up resize 0 10
definekey top M-Down resize 0 -10
definekey top M-d exec "ratinfo.sh"
The only serious problem that this setup has is that it destroys the frame setup when switching groups. More hacking would be possible, make it dump the frame layout and restore when switching back to the group, but I rarely use it in a non-fullscreen manner, so this is just fine for me.
I'll be answering any question that you got regarding any of the settings/bindings (new users of course, veterans will have 0 problems with understanding every bit of it)
As an extra, for whoever does not know this already (I have received 2-3 emails concerning this subject), the built-in messaging system CAN output multi-line text!
As a brief example, here's my ratinfo.sh
#!/bin/sh
TEMP=$(cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print $2"C"}')
FREQ=$(cpufreq-info | awk '/current CPU frequency/ {print $5"MHz"}')
DATE=$(echo -n $(date +%B,\ %d\ -\ %I:%M\ %p))
SDA2=$(df -h | awk '/sda2/ {print $4"/"$2}')
ratpoison -c "echo `echo -e "Storage: $SDA2\nCPUFreq: $FREQ\nTemperature: $TEMP\n$DATE"`"
Last edited by Lich (2010-01-29 21:04:07)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Anyone knows if it'd be possible to use a single escape key rather than a key sequence ?
Super/Mod4/Win-key doesn't clobber any of my applications keybindings, and I usually use it for WM mappings.
What I'm really trying to achieve here, is get rid of key sequences for rp commands, so i could just type mod4-c to launch a term...
Offline
Have a look at my config.
For example:
definekey top M-m exec $(dmenu_path | dmenu -nb "#000000" -nf "#f44c31" -sb "#f44c31" -sf "#000000" -fn "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*")
Spawns dmenu on ALT + m (M being META). You need to define top level keys to avoid using the escape mechanism
Last edited by Lich (2010-02-05 21:07:52)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Have a look at my config.
For example:definekey top M-m exec $(dmenu_path | dmenu -nb "#000000" -nf "#f44c31" -sb "#f44c31" -sf "#000000" -fn "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*")
Spawns dmenu on ALT + m (M being META). You need to define top level keys to avoid using the escape mechanism
yup that works fine, but I'd like to avoid redefining all the default keybindings with s-... in the config file.
It seems I could use "escape less" and some xmodmap trickery, as described here, but for now my arch setup is in virtualbox (lame, I know...) and I can't get any keycodes out of xev...
Offline
So you don't want top level keys, you just want the escape to be one single key?
If so, again, read my last config. It uses Caps Lock (useless key) as escape. Just uncomment
#exec xmodmap -e 'clear Lock' -e 'keycode 66 = F13'
#escape F13
Last edited by Lich (2010-02-06 09:23:10)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
I've been using ratpoison for a few months. I'm not really using it for any advanced stuff, but here comes my .ratpoisonrc:
.ratpoisonrc
#options
startup_message off
exec xsetroot -cursor_name left_ptr > /dev/null
exec ratpoison -c "source .config/.ratunbind > /dev/null"
##binds
#direction
bind k focusup
bind j focusdown
bind h focusleft
bind l focusright
bind K exchangeup
bind J exchangedown
bind H exchangeleft
bind L exchangeright
#other
bind o delete
bind e kill
bind t banish
bind a exec xterm
bind n split
bind s hsplit
bind d remove
bind minus next
bind colon colon
bind question help root
#exec
bind y exec $(dmenu_path | dmenu)
bind i exec $(uzbl-browser)
bind p exec $(wine /home/hatten/diablo/Diablo\ II.exe)
bind P exec $(ratpoison -c hsplit -c split ; sleep 1s ; ~/Var/progressquest/hatten ; sleep 30s ; ratpoison -c focusdown ; sleep 1s ; ~/Var/progressquest/weak ; sleep 3s ; ratpoison -c focusright ; sleep 1s ;~/Var/progressquest/strength)
.ratunbind
#unbind small
unbind a
unbind b
unbind c
unbind f
unbind i
unbind k
unbind l
unbind m
unbind n
unbind p
unbind r
unbind s
unbind t
unbind u
unbind v
unbind w
unbind x
#unbind CAPS
unbind A
unbind F
unbind K
unbind N
unbind P
unbind Q
unbind R
unbind S
unbind U
unbind V
#unbind numerals
unbind 0
unbind 1
unbind 2
unbind 3
unbind 4
unbind 5
unbind 6
unbind 7
unbind 8
unbind 9
#unbind specials
unbind minus
unbind exclam
unbind apostrophe
unbind space
unbind Tab
unbind Return
unbind Left
unbind Right
unbind Up
unbind Down
unbind colon
unbind question
#unbind M-
unbind M-Tab
#unbind C-*
unbind C-K
unbind C-a
unbind C-b
unbind C-c
unbind C-f
unbind C-g
unbind C-i
unbind C-k
unbind C-l
unbind C-m
unbind C-n
unbind C-p
unbind C-r
unbind C-s
unbind C-t
unbind C-u
unbind C-v
unbind C-w
unbind C-x
unbind C-A
unbind C-S
unbind C-V
unbind C-Left
unbind C-Right
unbind C-Up
unbind C-Down
unbind C-exclam
unbind C-apostrophe
unbind C-space
unbind C-Return
unbind C-underscore
I use the .ratunbind to not clutter the 'help root'.
Offline
Lol, binding for Diablo 2. As much as I love the game, don't make bindings like that, you may start it accidentaly...
Also sourcing command files instead of adding the commands to the main rc doesn't help at all, just leaves you with two files instead of one. This is one main aspect of RP, the fact that you configure everything with one single text file.
My 2 cents
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
Well, the .ratunbind doesn't clutter my main rc, I hated that before I got the .ratunbind, every time I had to change something in the rc I had to scroll through all the unbinds.
I should actually remove the diablo bind, I'm not playing it anymore. I've actually never pressed it faulty in a few months time
Maybe I should say that the binds are in dvorak, it makes more sense that way =p
Last edited by hatten (2010-02-06 21:17:39)
Offline
exec ratpoison -c "source .config/.ratunbind > /dev/null"
Is that really necessary? I don't know much about ratpoison, but I'd think you could strip out the exec ratpoison -c and just put source .config/.ratunbind, since ratpoison actually executes the commands in the rc file..
Last edited by JohannesSM64 (2010-02-06 22:11:37)
Offline
Well, the .ratunbind doesn't clutter my main rc, I hated that before I got the .ratunbind, every time I had to change something in the rc I had to scroll through all the unbinds.
Then have the unbinds at the end of the rc? =P .. even though I find them rather redundant, binds always act when in command mode so just...don't use them, no need for unbinds.
Last edited by Lich (2010-02-06 23:24:45)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
exec ratpoison -c "source .config/.ratunbind > /dev/null"
Is that really necessary? I don't know much about ratpoison, but I'd think you could strip out the exec ratpoison -c and just put source .config/.ratunbind, since ratpoison actually executes the commands in the rc file..
No clue, it works, so I'm happy =p. I might try it your way just to see if it works.
@lich: If I have the unbinds at the end it would unbind everything that I bind before it, I could ofcourse filter out those unbinds, but that's more unnecessary work. I seem to have something against having things that I don't use, when binding in tremulous I abuse the 'unbindall' command, and I do the same with ratpoison. For some reason I hate having useless binds.
Offline
I do the same thing. No sense in having bindings to actions I don't want to use purposefully or accidentally. I don't see the loss in having a 1000byte file, hidden and out of the way, to unbind them and clean up both the rc file and ratpoison's command list. Personal preference I guess!
@JohannesSM64: You're right. There's no need in having exec ratpoison -c "source.. ". I didn't even think about that even though I have plain ole' commands sitting in the file right next to it
Offline
I'm thinking of trying out ratpoison sometime. It looks like a really cool window manager. I also would like to try out dwm sometime, but I'll have to wait until I have some time off school.
I do really like the keyboard gallery that they have on the ratpoison page: http://ratpoison.antidesktop.net/wiki/Keyboard_Gallery
Offline
I'm thinking of trying out ratpoison sometime. It looks like a really cool window manager. I also would like to try out dwm sometime, but I'll have to wait until I have some time off school.
I do really like the keyboard gallery that they have on the ratpoison page: http://ratpoison.antidesktop.net/wiki/Keyboard_Gallery
That inspired me, I'm right now halfways done with making my own happy-hacking keyboard, as seen in the mvm-kbd screen. I'm not spraypainting mine though. I'll post a picture when I'm done
Last edited by hatten (2010-02-07 16:52:06)
Offline
I must confess I still use a mouse, one of those keyboards would be an inconvenient for me. There are a few things that I can't really do without the damn rat. I like ratpoison's minimalism a lot, but I don't want this to ruin my linux experience. I mainly use the mouseless control only for wm specific navigation (group switching, window cycling, application launch, and of course, every app that runs inside tmux). But for Firefox and Thunar...mouse all the way
Last edited by Lich (2010-02-07 17:04:46)
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
I must confess I still use a mouse, one of those keyboards would be an inconvenient for me. There are a few things that I can't really do without the damn rat. I like ratpoison's minimalism a lot, but I don't want this to ruin my linux experience. I mainly use the mouseless control only for wm specific navigation (group switching, window cycling, application launch, and of course, every app that runs inside tmux). But for Firefox and Thunar...mouse all the way
The only time I use a mouse is when gaming. Uzbl is my only graphical program, except for xterm, and I run that with 100% keyboard.
Offline
Well I do GIMP a lot..so I can't do without a mouse. The only GUI application that I use mouseless is surf
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
I think I migth be missing the point here, since rp has no floating layer, but I've been using bashrun lately, and it'd be nice if I could get it to spawn on top of all other windows with a fixed size.
Setting it to unmanaged, it is opened usually behind the current window, is there a way to fix this ?
Offline
none. If you want to run floating apps, you use tmpwm with a lightweight wm like evil. RP has not and will never have a floating layer. It's not for the faint at heart
Archlinux | ratpoison + evilwm | urxvtc | tmux
Offline
none. If you want to run floating apps, you use tmpwm with a lightweight wm like evil. RP has not and will never have a floating layer. It's not for the faint at heart
wm hopping is killing me !
Last edited by disturb (2010-02-10 18:49:02)
Offline
Not to advertise other wm's in the ratpoison thread but maybe musca is more your speed. It acts alot like ratpoison but you can float/control specific frames/apps. Something to think about if you're not finding what you want in ratpoison.
Offline