| www.delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 21 Feb 2007 10:34:53 +0100 (MET) |
| From: | Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it> |
| To: | cygwin AT cygwin DOT com |
| cc: | linuximp AT gmail DOT com |
| Subject: | Re: How do I launch an rxvt-unicode shell? |
| Message-ID: | <Pine.OSF.4.21.0702211014260.22587-100000@ax0rm1.roma1.infn.it> |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |