You are not logged in.

#101 2010-07-17 08:17:22

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: Share your Ratpoison (experience)

@milomouse:

you think the prob come exclusivly from the xf86-video-intel ?

Maybe I'm wrong but you can make gmove to a group the windows you want, gselect the group and cycle between them or use rpwms to move windows in a ws and cycle them.

Waht is your feedback about Musca vs RP ? do you think Musca as the same great possibilities than RP, specially in the rc ?

Is the RD dev really frozen now ?

Offline

#102 2010-07-18 22:34:56

valium97582
Member
Registered: 2010-06-19
Posts: 126

Re: Share your Ratpoison (experience)

In my language "musca" is a corruption of "mosca" which also means "fly" (insect).


I'm also known as zmv on IRC.

Offline

#103 2010-07-19 02:53:41

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: Share your Ratpoison (experience)

@mentat: I know it came from xf86-video-intel when I had the problems because I'd downgrade/upgrade and see each results immediately. But like I said, this latest update fixed my problem of the jarbled text in echo/display outputs. Maybe a future release will fix other's problems.

I haven't used ratpoison in a while and am not sure I understand your next question but I generally use rpwms to move windows between workspaces. I don't remember using the group feature very often.

As far as musca vs ratpoison I'd have to say they both have their pros and cons. I think of musca as the next generation of ratpoison, with respect to each. It just has all the features I generally miss in ratpoison (what with being such a clean and simple window-manager). Musca still lacks in some areas but I really enjoy it. The config is easy to edit as well. But ratpoison serves it's purpose and does a really good job at it.

Not sure about ratpoison updates. Others may have a better idea.

Offline

#104 2010-07-19 09:33:47

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: Share your Ratpoison (experience)

@milomouse

Wich version of xf86-video-intel you use now ? need to wait and see next "upgrade".

I'm using lot the group / switch windows feature and it's work well maybe you need to try a look when you have time.

Can you give me your majors "features I generally miss in ratpoison" and "Musca still lacks in some areas" ?

For RP the last source code update was commit the 2010-05-18. I ve been using xmonad since many years but now RP seems to be my ultimate preferred choice so I hope it will continue to live !

Offline

#105 2010-07-26 07:05:38

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: Share your Ratpoison (experience)

@milomouse
Since my last update with xf86-video-intel 2.12.0-1, all is fine now the problem seem to be fix !
RP is full features now !

Offline

#106 2010-08-05 00:51:23

splittercode
Member
From: WI, USA
Registered: 2010-03-16
Posts: 203

Re: Share your Ratpoison (experience)

I've been using ratpoison for the last 2 weeks or so and it's definitely my favorite window manager now, replacing XMonad on my desktop.  After some heavy tweaking of the default bindings(I don't think I use any of the defaults anymore) I've made a very vim-like setup using the stupid and useless caps lock key as the escape key smile.  After getting used to the key bindings I find it just as simple and quick to use as dwm/XMonad but much more adaptable to what you're doing, especially with the undo/redo commands.

Here's my .ratpoisonrc.  I tweaked Lich's group setup to dump/restore the frame layout when switching so the groups behave more like the workspaces from XMonad/dwm/etc.

banish
source /home/zak/.ratunbind

set fgcolor #5F9FDE
set bgcolor #2f2f2f
set font "Droid Sans Mono:bold:size=10"
set wingravity c
set barpadding 2 0
set border 0
set resizeunit 15
startup_message off
msgwait 5

definekey top F12 exec ratpoison -c "hsplit 2/3" -c focusright -c "vsplit 1/6" -c focusdown -c "vsplit 7/9" -c focusleft -c "vsplit 8/9"

exec xmodmap -e 'clear Lock' -e 'keycode 66 = F13'
escape F13
bind q delete
bind Q exec ratpoison -c delete -c remove
bind R remove
bind u undo
bind U redo
bind w windows
bind f fselect
bind p exec
bind i prev
bind o next
bind b banish
bind P dedicate
bind r resize
bind g groups
bind colon colon
bind question help root
bind c exec urxvtc
bind F only
bind W curframe
bind v exec ratpoison -c "hsplit 2/3" -c focusright
bind V exec ratpoison -c hsplit -c focusright
bind n exec ratpoison -c "vsplit 2/3" -c focusdown
bind N exec ratpoison -c vsplit -c focusdown
bind s swap
bind h focusleft
bind j focusdown
bind k focusup
bind l focusright
bind H exchangeleft
bind J exchangedown
bind K exchangeup
bind L exchangeright
bind d exec ratpoison -c "echo $(date +"%a %b %d %I:%M%p")"
bind F13 other
bind Escape abort
definekey top M-Q quit
definekey top M-R restart

gnew one
gnewbg two
gnewbg three
gmerge default
gdelete default

definekey top M-1 exec ratpoison -c "setenv $(ratpoison -c groups | grep "*" | cut -c 1) $(ratpoison -c fdump)" -c "gselect 1" -c "select -" -c "only" -c "frestore $(ratpoison -c "getenv 1")" -c "echo Workspace 1"
definekey top M-2 exec ratpoison -c "setenv $(ratpoison -c groups | grep "*" | cut -c 1) $(ratpoison -c fdump)" -c "gselect 2" -c "select -" -c "only" -c "frestore $(ratpoison -c "getenv 2")" -c "echo Workspace 2"
definekey top M-3 exec ratpoison -c "setenv $(ratpoison -c groups | grep "*" | cut -c 1) $(ratpoison -c fdump)" -c "gselect 3" -c "select -" -c "only" -c "frestore $(ratpoison -c "getenv 3")" -c "echo Workspace 3"

definekey top XF86AudioRaiseVolume exec amixer -q set Master 5+
definekey top XF86AudioLowerVolume exec amixer -q set Master 5-
definekey top XF86AudioMute exec amixer -q set Master 0%
definekey top XF86AudioNext exec ncmpcpp next
definekey top XF86AudioPrev exec ncmpcpp prev
definekey top XF86AudioPlay exec ncmpcpp toggle
definekey top XF86AudioStop exec ncmpcpp stop
definekey top M-U exec /home/zak/bin/scripts/startut

Offline

#107 2010-08-07 12:24:31

Romanrp
Member
Registered: 2009-11-19
Posts: 117

Re: Share your Ratpoison (experience)

Hello , I have been using ratpoison since yesterday and I am  loving it.No stupid themes or mouse movements or effects, just gets the job done. I also managed to convert a friend of mine to linux not long ago and he is using ratpoison now too, so that's +2 to the ratpoison community .
This is my ratpoisonrc

bind h exec chromium
bind b banish
bind R restart
escape C-z
bind F2 exec
bind down exchangedown
bind up exchangeup
bind left exchangeleft
bind right exchangeright
bind t exec terminal
bind tab next
bind d remove
bind KP_Left focusleft
bind KP_Right focusright
bind KP_Down focusdown
bind KP_Up focusup
bind KP_Delete shrink
bind KP_Subtract hsplit
bind m exec ratmenu
bind numbersign exec urxvt
bind semicolon exec elinks
bind slash exec dolphin
bind KP_Enter exec skype

Offline

#108 2010-08-07 13:19:20

zjames
Member
Registered: 2010-08-04
Posts: 29

Re: Share your Ratpoison (experience)

i got you using ratpoison. Anyway, here is my ratpoisonrc:

 bind g exec google-chrome
bind r remove
bind m focusdown
bind j focusleft
bind i focusup
bind k focusright
bind p banish
escape C-z
bind n fselect
bind q restart
set resizeunit 10
bind up resize
exec xsetroot -cursor_name left_ptr 

Offline

#109 2010-08-27 12:20:06

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Share your Ratpoison (experience)

Hello!
I've using Ratpoison for sometime and this WM's almost meets my perefernces, it's great but sad It can't be run inside the KDE session (what I need to do).
Now I will switch to StumpWM smile.
Anyway it's a very good WM.
Here is ratpoisonrc:

startup_message off
set border 0
exec xmodmap -e "keycode 133 = F30"
escape F30 
exec kdeinit4 &
bind tab next
bind slash exec /home/user/scripts/xmms2-rs.sh

It's easy to configure and use...
I was having great time using it!


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#110 2010-08-29 18:59:12

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Share your Ratpoison (experience)

Can someone give me a hand here? I want, when I mouse-click a frame, to get selected. Is it possible?

Offline

#111 2010-08-29 19:12:42

splittercode
Member
From: WI, USA
Registered: 2010-03-16
Posts: 203

Re: Share your Ratpoison (experience)

gtklocker wrote:

Can someone give me a hand here? I want, when I mouse-click a frame, to get selected. Is it possible?

Nope tongue

StumpWM can do that though.

Offline

#112 2010-08-29 19:31:29

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Share your Ratpoison (experience)

Gosh, I left stumpwm because it was too buggy! What WM options do I have now? sad

Offline

#113 2010-08-29 19:34:13

splittercode
Member
From: WI, USA
Registered: 2010-03-16
Posts: 203

Re: Share your Ratpoison (experience)

gtklocker wrote:

Gosh, I left stumpwm because it was too buggy! What WM options do I have now? sad

Did you compile with clisp?  I found SBCL to be way more stable.  (Though either way I understand your complaint)

Musca is always an option, I think it has mouse focus too.

Offline

#114 2010-09-02 01:34:43

castlevaniahellraiser
Member
Registered: 2010-08-31
Posts: 54
Website

Re: Share your Ratpoison (experience)

I've been using ratpoison for close to about a year, and just got my .ratpoisonrc to how I like it.
--------ratpoisonrc-----------

exec xsetroot -solid black -cursor_name left_ptr
startup_message off
set fgcolor green
set bgcolor black
set fwcolor #343434
set bwcolor #272727
set border 0
set padding 0 0 0 0
set barpadding 0 0
set font -xos4-terminus-*-*-*-*-16-*-*-*-*-*-iso8859-15
set wingravity center
exec feh --bg-scale /home/michael/Pictures/plasves3.jpg
escape C-z
definekey top XF86AudioRaiseVolume exec amixer -q set Master 2+ unmute && exec ratpoison -c "echo volume up"
definekey top XF86AudioLowerVolume exec amixer -q set Master 2- unmute && exec ratpoison -c "echo volume down"
definekey top XF86AudioMute exec amixer -q set Master 0 mute && exec ratpoison -c "echo volume muted"
bind I exec sh /home/michael/.ratpoison/ratinfo.sh
bind K kill
bind R restart
bind q quit
bind c exec ratpoison -c "echo Terminal" && exec terminator 
bind f exec ratpoison -c "echo Now Launching Firefox" && exec firefox
bind F exec ratpoison -c "echo Now Launching Firefox 4 Beta" && cd /home/michael/Downloads/firefox && exec ./firefox
bind o exec ratpoison -c "echo Now Launching Opera" && exec opera 
bind O exec ratpoison -c "echo Now Launching OpenOffice" && exec soffice
bind e exec ratpoison -c "echo Now Launching Exaile Music Player" && exec exaile
bind h exec ratpoison -c "echo Now Launching Thunar File Manager" && exec thunar 
bind j exec ratpoison -c "echo Now Launching JDownloader" && exec jd.sh
bind d exec ratpoison -c "echo Now Launching DosBox" && exec dosbox 
bind g exec ratpoison -c "echo Now Launching Gtkpod" && exec gtkpod
bind period exec 9menu firefox exaile
bind Escape exec ratpoison -c "echo Shutting Down" && sudo shutdown -h 01
bind F1 exec ratpoison -c "echo Reboot" && sudo shutdown -r now 
bind F2 exec ratpoison -c "echo Editing RP config" && exec mousepad /home/michael/.ratpoisonrc
bind F3 exec ratpoison -c "echo Now Launching VLC Media Player" && exec vlc
bind F4 exec ratpoison -c "echo Now Launching Nvidia Settings" && exec nvidia-settings
bind F5 exec ratpoison -c "echo Now Loading Software Center" && exec synaptic
bind F6 exec ratpoison -c "echo Shutting down QUICK" && exec shutdown -h now 
bind grave exec ratpoison -c "echo Shutdown ABORTED" && shutdown -c
bind a exec ratpoison -c "echo `date +'%r - %A %n    %D - %B'`  `cal | tail +2 | sed -e 's/^Su/\n\n Su/' -e 's/.*/ & /' -e \"s/\ $\ /\<$(date +%e)\>/\"`"
bind F7 exec scrot -q 85 -d 01 ~/Pictures/screenshots/%m-%d-%Y.png && ratpoison -c "echo Screenshot saved!"
bind F8 exec ratpoison -c "echo Now Launching pcmanfm" && exec pcmanfm
bind u exec ratpoison -c "echo Now Launching UAE" && exec uae
bind B exec ratpoison -c "echo Now Launch Brainwave/Autozen, plugin your headphones" && exec autozen
definekey top XF86Sleep exec xlock -mode blank
defwinname name
exec /usr/bin/rpws init 2 -k

Last edited by castlevaniahellraiser (2010-09-02 01:35:28)


17:44 < fryguy> TheBilgeRat: they don't tell retards in special ed classes to rtfm either.

Offline

#115 2010-09-02 07:02:53

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: Share your Ratpoison (experience)

@castlevaniahellraiser

bind grave exec ratpoison -c "echo Shutdown ABORTED" && shutdown -c

thx, It's inspire me !

maybe for some bind you can inverse command to vaildate good execution.
A not so good example :

bind grave exec uae && ratpoison -c "echo Now Launching UAE" || ratpoison -c "echo Launching ERROR"

Offline

#116 2010-09-04 00:23:18

castlevaniahellraiser
Member
Registered: 2010-08-31
Posts: 54
Website

Re: Share your Ratpoison (experience)

Yeah, but for now that command works perfectly for what I do on a daily bases.
Edited the scrot line a bit to read:

bind F7 exec scrot -d 01 '%Y-%m-%d_$wx$h.png' -e 'mv $f /Pictures/screenshots/' && ratpoison -c "echo Screenshot saved!"


17:44 < fryguy> TheBilgeRat: they don't tell retards in special ed classes to rtfm either.

Offline

#117 2010-09-25 01:21:57

Jebus_
Member
From: bat country
Registered: 2009-09-27
Posts: 116

Re: Share your Ratpoison (experience)

Recently made the switch to ratpoison (from i3) and I am extremely happy with it, Can't see myself changing from ratpoison now, Does everything I want, the way I want... It's perfect smile

Heres my .ratpoisonrc;

nextscreen
unmanage panel
escape C-t

exec conky | dzen2 -bg '#000000' -fn -*-terminus-medium-*-normal-*-12-120-72-72-c-60-iso8859-* -ta r -y 0 -x 0
exec rpws init 3 -k
exec xsetroot -bg grey -cursor_name left_ptr &

#layouts [ ] [|] [|= [-] [+]
definekey top M-F1 exec ratpoison -c "select -" -c "only" -c "next" -c "set border 2"
definekey top M-F2 exec ratpoison -c "select -" -c "only" -c "hsplit" -c "next" -c "set border 2"
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 2"
definekey top M-F4 exec ratpoison -c "select -" -c "only" -c "vsplit" -c "next" -c "set border 2"
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 2"

bind R restart
bind y exec ratpoison -c "echo Launching Youtube-Viewer.." && exec urxvtc
-e youtube-viewer
bind m exec ratpoison -c "echo Launching Mirage..." && exec mirage
bind a exec ratpoison -c "echo Launching Apvlv..." && exec apvlv
bind g exec ratpoison -c "echo Launching ROX..." && exec rox
bind f exec ratpoison -c "echo Launching Firefox..." && exec firefox
bind p exec /usr/bin/dmenu
bind F7 exec scrot -q 85 -d 01 ~/media/images/scrots/%m-%d-%Y.png && ratpoison
-c "echo Screenshot saved!"
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-w windows
definekey top M-1 exec rpws 1
definekey top M-2 exec rpws 2
definekey top M-3 exec rpws 3
bind o exec ratpoison -c "only" -c "set border 2"
bind v exec ratpoison -c "hsplit" -c "set border 2"
bind h exec ratpoison -c "vsplit" -c "set border 2"

definekey top M-S-Return exec urxvtc
definekey top M-m exec $(dmenu_path | dmenu -nb "#000000" -nf "#CCFF00" -sb "#111111" -sf "#CCFF00" -fn '-*-terminus-normal-r-*-*-12-*-*-*-*-*-iso8859-1')


msgwait 1
rudeness 12
set winname title
set winfmt %n %s %t
set fgcolor #CCFF00
set bgcolor #222222
set font "Terminus-10"
set winliststyle column
set inputwidth 400
set waitcursor 1
set padding 0 14 0 0
set fwcolor #555555
set bwcolor #444444
set barpadding 0 0 
set wingravity nw
set transgravity center
set bargravity ne
set border 1
set barborder 1
set inputwidth 800

Screeny;
tNW11ZA

Last edited by Jebus_ (2010-09-25 01:25:10)

Offline

#118 2010-10-12 23:46:39

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

Re: Share your Ratpoison (experience)

201010122015061280x800s.th.png


# 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

My configuration is pretty basic. The swap script I'm using is more sane than the ratpoison default (doesn't prompt you to choose a window when swapping two windows, just swaps).  I prefer ratpoison to XMonad (which I used to use) as I now use screen, and find screen and ratpoison's defaults to be much saner than XMonad's. For instance, I can switch between two windows just hitting the mod key, but XMonad, in its fullscreen mode, would cycle through all the windows open in that workspace.

Pictured in my screenshot are some windows I have open, and my use of the vertical patch to dmenu.

Last edited by Sara (2010-10-13 00:19:59)


Registed Linux User 483618

Offline

#119 2010-10-13 01:12:22

YamiFrankc
Member
From: Mexico
Registered: 2009-06-19
Posts: 177
Website

Re: Share your Ratpoison (experience)

Jebus_ can i have your Xdefaults?


Thanks and greetings.

Offline

#120 2010-10-13 06:35:35

dab-_-
Member
Registered: 2010-10-05
Posts: 43

Re: Share your Ratpoison (experience)

YamiFrankc wrote:

Jebus_ can i have your Xdefaults?

sure, looks a bit different now since I've switched to xmonad but still basically the same

!Xdefaults

!URxvt*transparent: true
!URxvt*shading: 44

URxvt*cursorColor: #FFFF44
URxvt*cursorColor2: #252525
URxvt*foreground: #FFFFFF
URxvt*background: #121212
URxvt*color0: #121212
URxvt*color1: #8E5C4E
URxvt*color2: #6C7E55
URxvt*color3: #B89F63
URxvt*color4: #7FB8D8
URxvt*color5: #956D9D
URxvt*color6: #4c8ea1
URxvt*color7: #808080
URxvt*color8: #454545
URxvt*color9: #CC896D
URxvt*color10: #C4DF90
URxvt*color11: #FFE080
URxvt*color12: #B8DDEA
URxvt*color13: #C18FCB
URxvt*color14: #6bc1d0
URxvt*color15: #cdcdcd

URxvt.font: -*-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-*
URxvt.boldFont: -*-terminus-bold-r-normal--12-*-72-72-c-60-iso8859-*
URxvt.scrollBar: false
URxvt.underlineURLs: false
URxvt.urlLauncher: /usr/bin/firefox
URxvt.matcher.button: 1
URxvt.cutchars: "()*,<>[]{}|'"
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-]
URxvt.matcher.launcher.1: /usr/bin/firefox
URxvt.perl-ext-common: default,matcher

Last edited by dab-_- (2010-10-13 07:10:56)

Offline

#121 2010-10-13 13:44:50

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: Share your Ratpoison (experience)

dab-_- wrote:

I've switched to xmonad

Lol. You ditched ratpoison already, especially after saying you can't move away from it and all. tongue


"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#122 2010-10-13 15:04:11

dab-_-
Member
Registered: 2010-10-05
Posts: 43

Re: Share your Ratpoison (experience)

Daisuke_Aramaki wrote:
dab-_- wrote:

I've switched to xmonad

Lol. You ditched ratpoison already, especially after saying you can't move away from it and all. tongue

Heh yeah, I had always specifically not tried XMonad because of the 500mb ghc. But once I got over that, It all went swimmingly smile (Also I'm learning haskell aswell, so I thought the two could go together quite nicely!)

Offline

#123 2010-10-13 22:19:31

jiyuu
Member
Registered: 2010-04-13
Posts: 63

Re: Share your Ratpoison (experience)

Here is my ratpoisonrc, nothing special except some additional keymaps for groups and music player.

bind o exec rwk
bind z exec ratpoison -c "echo `acpi`"
bind Z exec sensors |grep temp | ruby -e 'i = ARGF.read.scan(/\+(\d\d\.\d)/); puts "cpu0: #{i[0]} - cpu1: #{i[2]}"' | $(read x; ratpoison -c "echo $x")

### Multimedia Key
definekey top XF86AudioRaiseVolume exec amixer set Master 3%+ && ratpoison -c  "echo Master: `amixer get Master | tail -1 | cut -d ' ' -f 6`"
definekey top XF86AudioMute exec amixer set Master toggle ### && ratpoison -c  "echo $(if `amixer get Master | tail -1 | cut -d ' ' -f 8` == '[on]'; then echo unmute; else echo mute; fi)"
definekey top XF86AudioLowerVolume exec amixer set Master 3%- && ratpoison -c  "echo Master: `amixer get Master | tail -1 | cut -d ' ' -f 6`"
definekey top S-XF86AudioRaiseVolume exec amixer set PCM 3%+ && ratpoison -c  "echo PCM: `amixer get PCM | tail -1 | cut -d ' ' -f 7`"
definekey top S-XF86AudioMute exec amixer set PCM toggle ### && ratpoison -c "echo `if $(amixer get Master | tail -1 | cut -d ' ' -f 9) == '[on]'; then echo unmute; else echo mute; fi`"
definekey top S-XF86AudioLowerVolume exec amixer set PCM 3%- && ratpoison -c  "echo PCM: `amixer get PCM | tail -1 | cut -d ' ' -f 7`"

### Use with zenbar
bind B exec if ratpoison -c 'set padding' | grep 18; then ratpoison -c 'set padding 0 0 0 0'; else ratpoison -c 'set padding 0 18 0 0'; fi

### Make urxvt the default terminal
bind c exec urxvt
bind C exec urxvt
bind C-c exec urxvt

unbind K
bind K delete
unbind C-k
bind C-k kill

unbind k
unbind l
bind k focusup
bind j focusdown
bind h focusleft
bind l focusright

set border 0
set padding 0 18 0 0
set barpadding 3 1
set barborder 1
set font "DejaVuSansMono:pixelsize=14"
set fgcolor #aaa
set bgcolor #222

# Workspace
exec /usr/bin/rpws init 2

bind C-1 exec rpws 1
bind C-2 exec rpws 2

# C-t g ...
newkmap group_kmap
bind g readkey group_kmap
definekey group_kmap colon gselect
definekey group_kmap space exec ratpoison -c 'gnext' && ratpoison -c 'select -' && ratpoison -c 'other'
definekey group_kmap n exec rpws next
definekey group_kmap p exec rpws prev
definekey group_kmap 1 exec rpws 1
definekey group_kmap 2 exec rpws 2
definekey group_kmap exclam exec rpws movenext
definekey group_kmap at exec rpws moveprev
definekey group_kmap question help group_kmap

# C-t M ...
newkmap music_kmap
bind M readkey music_kmap
definekey music_kmap i exec ratpoison -c "echo `nyxmms2 status | sed -e 's/\s*$//'`"
definekey music_kmap n exec nyxmms2 next
definekey music_kmap p exec nyxmms2 prev
definekey music_kmap s exec nyxmms2 stop
definekey music_kmap space exec nyxmms2 toggle
definekey music_kmap Return exec urxvt -e nyxmms2
definekey music_kmap question help music_kmap

Now I wish other WM were modal. I often find myself pressing Ctrl-t Ctrl-t to switch to the previous focused window even if I'm not using ratpoison...

Last edited by jiyuu (2010-10-13 22:52:47)

Offline

#124 2010-11-08 12:56:05

b4283
Member
Registered: 2008-11-26
Posts: 121

Re: Share your Ratpoison (experience)

Glad to see so many ratpoison lovers here, as I myself am one as well smile

However I'd like to ask a question: how do you deal with program that has crazy popups ?
I'm having trouble managing LibreOffice because it just keeps popping out windows. Table options for table, list options for editing list and etc.

Offline

#125 2010-11-08 13:35:45

b4283
Member
Registered: 2008-11-26
Posts: 121

Re: Share your Ratpoison (experience)

Just found a little hack for rp while I read in rpws's source code:

defining a key under keymap "top" could make ratpoison map outside escape keys tongue

:definekey top M-F4 echo asdf

and press Alt-F4 smile

Offline

Board footer

Powered by FluxBB