LINUX.ORG.RU

Ответ на: комментарий от anonymous

env | grep DISPLAY показывает DISPLAY=:0.0

anonymous
()

а иксы запущены из под того же юзера что и ratpoison?.. /etc/ratpoisonrc как то правил?

Может обычным методом -- прописыванием запуска ratpoison в ~/.xsession попробовать?..

dilmah ★★★★★
()
Ответ на: комментарий от anonymous

в /etc/ratpoisonrc (либо ~/.ratpoisonrc) (но я мог перепутать
названия..) лежат настройки ratpoison. В принципе без них он тоже
должен работать -- тогда настройки будут по дефолту.

~/.xsession используется если ты логинишься с помощью xdm.

Напиши одну строчку в ~/.xsession:
ratpoison

ну либо полный путь к ratpoison.
Сделай chmod 755 ~/.xsession

Потом убей все иксы которые у тебя могут быть, запусти xdm, залогинься и посмотри, запустится ли ratpoison..

dilmah ★★★★★
()
Ответ на: комментарий от dilmah

В ratpoison самое главное -- это настройка ratpoisonrc. Без этого он не очень юзабельный..

Я как домой приду, запостю свой ratpoisonrc.

dilmah ★★★★★
()
Ответ на: комментарий от dilmah

с ratpoison должен идти образец ratpoisonrc.
Вот мой:

escape C-t

# Gets rid of that ugly crosshairs default cursor
# and set the background to black
exec xsetroot -solid black -cursor_name left_ptr

exec xset r rate 600 100
banish
#exec /usr/local/bin/display -window root /crux/ASUS.bmp

bind q quit
bind k delete
bind K kill
bind t meta
bind r resize

bind c exec xterm -ls -fn -screen-fixed-medium-r-normal--16-120-100-100-c-80-koi8-r -bg black -fg green -bc -j -s +sb
bind C exec xterm -ls -fn lucidasanstypewriter-14 -bg black -fg goldenrod -bc -j -s -cr firebrick +sb

bind e exec emacs -bg black -fg LightGreen -fn -screen-fixed-medium-r-normal--16-120-100-100-c-80-koi8-r
bind E exec gvim -font -screen-fixed-medium-r-normal--16-120-100-100-c-80-koi8-r -foreground goldenrod -background black

bind o exec /usr/pkg/bin/opera

bind g exec gv -scale 2 -fg black -bg white
bind M-g exec gv -scale 2 -fg white -bg black
bind G exec xpdf -z 200
bind M-G exec xpdf -z 200 -rv

bind d exec rocksndiamonds
bind I exec civclient -t hires

bind x exec ksh -c '/usr/local/bin/xlock -timeelapsed -delay 200000 -nice 10 -erasedelay 0 -bg black -fg green $(cut -f $((${RANDOM} % $(cat ~/.xlock.modes | tr : \\n | grep -v ^$ | wc -l) + 1)) -d':' ~/.xlock.modes) -remote +mousemotion'
bind X exec ksh -c '/usr/local/bin/xlock -timeelapsed -delay 200000 -nice 10 -erasedelay 0 -bg black -fg green -mode blank -remote +mousemotion & zzz'

bind h exec sh -c 'TTT=`mktemp ~/shots/s-XXXXXXXX`; UUU=${TTT}.png; mv $TTT $UUU; import -window root $UUU'

# Use the name of the program rather than the title in the window list
defwinname name

# bind M-! to store the current frame layout in slot #1
bind M-exclam exec ratpoison -c "setenv fs1 `ratpoison -c 'fdump'`"

#bind M-1 to restore the frame layout in slot #1
bind M-1 exec ratpoison -c "frestore `ratpoison -c 'getenv fs1'`"

# Do the same for slot #2 and bind it to M-@ and M-2, respectively.
bind M-at exec ratpoison -c "setenv fs2 `ratpoison -c 'fdump'`"
bind M-2 exec ratpoison -c "frestore `ratpoison -c 'getenv fs2'`"

# Give ourselves another slot on M-# and M-3, respectively.
bind M-numbersign exec ratpoison -c "setenv fs3 `ratpoison -c 'fdump'`"
bind M-3 exec ratpoison -c "frestore `ratpoison -c 'getenv fs3'`"

dilmah ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.