This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How do I launch an rxvt-unicode shell?
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: cygwin at cygwin dot com
- Cc: linuximp at gmail dot com
- Date: Wed, 21 Feb 2007 10:34:53 +0100 (MET)
- Subject: Re: How do I launch an rxvt-unicode shell?
Grok Mogger wrote:
> Could someone please tell me how to launch a shell?
This is the method I use.
In $HOME I have this .Xdefaults:
~/.Xdefaults
--------------------------------------------------
! ---------[ urxvt ] ---------
URxvt*background: Black
URxvt*foreground: LightGray
URxvt*scrollBar: true
URxvt*scrollBar_right: true
URxvt*saveLines: 2500
URxvt*termName: xterm
URxvt*font: xft:Bitstream Vera Sans
Mono:size=12:medium:roman:antialias=true
URxvt*boldFont: xft:Bitstream Vera Sans
Mono:size=12:bold:roman:antialias=true
URxvt*italicFont: xft:Bitstream Vera Sans
Mono:size=12:medium:italic:autohint=true:antialias=true
URxvt*boldItalicFont: xft:Bitstream Vera Sans
Mono:size=12:bold:italic:autohint=true:antialias=true
!URxvt*fading: 60
!URxvt*tintColor: white
!URxvt*shading: 20
!URxvt*inheritPixmap: true
!URxvt*colorBD: green
!URxvt*colorIT: grey
--------------------------------------------------
(Note that the lines: 'Mono:size...' are a continuation of previous,
'xft:Bitstream...')
Then I have a shortcut called 'rxvt-X' on Desktop which runs:
C:\cygwin\bin\run.exe -p /usr/X11R6/bin bash --login -c
/usr/local/bin/start_urxvt.sh
The file /usr/local/bin/start_urxvt.sh is
----------------------------------------------------------------
#!/bin/bash
export DISPLAY=:0
# start_XWin()
# {
# XWin -multiwindow -clipboard -silent-dup-error +bs &
# }
# /usr/bin/checkx || start_XWin
/usr/bin/checkx || /usr/local/bin/start_XWin.sh
exec /usr/bin/urxvt -e /usr/bin/bash -l
----------------------------------------------------------------
and /usr/local/bin/start_XWin.sh is the 'startxwin.sh' of Cygwin in which
I have commented out the line that starts 'xterm'.
As you can see this method uses in any case the X system: 'checkx'
verifies if X is running.
If not, X is started (start_XWin.sh), then 'urxvt' is executed.
Cheers,
Angelo.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/