RE: Alternate window manager

2003-06-09 Thread Sergio
I would probably go with windowmaker, which is also downloadable via
setup.exe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John Buttery
Sent: Monday, June 09, 2003 12:17 PM
To: [EMAIL PROTECTED]
Subject: Re: Alternate window manager


* Anthony Watts [EMAIL PROTECTED] [2003-06-09 07:50:43 -]:
 I would like to use X-windows that behave more like other unix platforms,
e.g.
 can be resized by dragging the mouse on any edge or corner, also click on
the
 top right hand corner to get full screen window.  Is this possible with
Cygwin
 Xfree86?  If so is there an application note or documentation to explain
how
 to do this?

  You answered your own question in the Subject: field of your email.
:)  The UI elements you're referring to are provided by the window
manager; in this case, the venerable twm (which is the default window
manager provided with Cygwin/XFree86).  All you need to do is install a
different window manager; I know at least fvwm (or is it fvwm2) is
available via the setup program.  KDE and GNOME also run under Cygwin,
but you have to get them manually from their respective web sites.

--
John#
Buttery # Is that the cat?
www.io.c# -- Jessie Scarlett
om/~john#




RE: WMaker crashes when starting with startxwin.bat

2003-05-28 Thread Sergio
Well I fixed the prob,
I just added this to startxwin.bat

REM Startup bash and run startx

run bash --login -c startx

Hope this helps someone else...

Sergio

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sergio
Sent: Wednesday, May 28, 2003 2:04 AM
To: [EMAIL PROTECTED]
Subject: Re: WMaker crashes when starting with startxwin.bat


Hello,

I have just installed cygwin and everything is working fine except for one
small problem.
When I start up cygwin and load up Xwin via bash everything is fine, I have
2 xterms popup and a clock.
My xterms are set to start in my home dir.

My problem is loading Xwin via startxwin.bat.  I found this email in the
archives, and the settings here fixed my Signal 11 Xwin problem, and Xwin
loads up fine via the startxwin.bat, but when my xterms popup they don't
have the HOME var set.  I fixed this problem with the bash --login option.
I know this is because /etc/profile isn't read in the .bat.  Is there any
way to have the /etc/profile read, because I have other little in there I
would like to use.  I could live without them, but I was just curious.

Thanks,

Sergio

Hi Klaus

 yes, you're probably right. But now the tricky question:
 How can I change the windows home to point to my $HOME in cygwin to
solve
 that problem?

take my startxwin.bat as an example. Cygwin is installed on d:\cygwin. The
only customized lines are SET HOME, SET CYGWIN_ROOT, the rest is
standard startxwin.bat with different WM-calls REMmed on and off.

HTH
hjb


@echo off
D:
SET DISPLAY=127.0.0.1:0.0
SET HOME=/CYGDRIVE/D/cygwin/home/DV105

REM
REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive.  You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory.  For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need

REM to change \cygwin to \foo\bar\baz\cygwin.
REM
REM This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/XFree86, therefore you
will
REM not need to add a drive letter to CYGWIN_ROOT.  For example, you do
REM not need to change \cygwin to c:\cygwin if you are running this
REM batch file from the C drive.
REM

SET CYGWIN_ROOT=D:\cygwin

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%


REM
REM Cleanup after last run.
REM

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix


REM
REM Startup the X Server, the twm window manager, and an xterm.
REM
...
skipped


if %OS% == Windows_NT goto OS_NT

REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me

goto STARTUP

:OS_NT

REM Windows NT/2000/XP
echo startxwin.bat - Starting on Windows NT/2000/XP

:STARTUP


REM
REM Startup the programs
REM

REM Startup the X Server.

REM start XWin %1
REM start XWin -fullscreen
start XWin  -rootless
REM start XWin -broadcast

REM Startup an xterm, using bash as the shell.
REM run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/bash

REM setxkbmap de
REM Startup the twm window manager.

REM run twm
REM run fvwm2
REM run openbox
run wmaker

xrdb -merge .Xresources

REM Set a background color.

REM run xsetroot -solid aquamarine4

exit





Re: WMaker crashes when starting with startxwin.bat

2003-05-27 Thread Sergio
Hello,

I have just installed cygwin and everything is working fine except for one
small problem.
When I start up cygwin and load up Xwin via bash everything is fine, I have
2 xterms popup and a clock.
My xterms are set to start in my home dir.

My problem is loading Xwin via startxwin.bat.  I found this email in the
archives, and the settings here fixed my Signal 11 Xwin problem, and Xwin
loads up fine via the startxwin.bat, but when my xterms popup they don't
have the HOME var set.  I fixed this problem with the bash --login option.
I know this is because /etc/profile isn't read in the .bat.  Is there any
way to have the /etc/profile read, because I have other little in there I
would like to use.  I could live without them, but I was just curious.

Thanks,

Sergio

Hi Klaus

 yes, you're probably right. But now the tricky question:
 How can I change the windows home to point to my $HOME in cygwin to
solve
 that problem?

take my startxwin.bat as an example. Cygwin is installed on d:\cygwin. The
only customized lines are SET HOME, SET CYGWIN_ROOT, the rest is
standard startxwin.bat with different WM-calls REMmed on and off.

HTH
hjb


@echo off
D:
SET DISPLAY=127.0.0.1:0.0
SET HOME=/CYGDRIVE/D/cygwin/home/DV105

REM
REM The path in the CYGWIN_ROOT environment variable assignment assume
REM that Cygwin is installed in a directory called 'cygwin' in the root
REM directory of the current drive.  You will only need to modify
REM CYGWIN_ROOT if you have installed Cygwin in another directory.  For
REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need

REM to change \cygwin to \foo\bar\baz\cygwin.
REM
REM This batch file will almost always be run from the same drive (and
REM directory) as the drive that contains Cygwin/XFree86, therefore you
will
REM not need to add a drive letter to CYGWIN_ROOT.  For example, you do
REM not need to change \cygwin to c:\cygwin if you are running this
REM batch file from the C drive.
REM

SET CYGWIN_ROOT=D:\cygwin

SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%


REM
REM Cleanup after last run.
REM

if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0

:CLEANUP-FINISH
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix


REM
REM Startup the X Server, the twm window manager, and an xterm.
REM
...
skipped


if %OS% == Windows_NT goto OS_NT

REM Windows 95/98/Me
echo startxwin.bat - Starting on Windows 95/98/Me

goto STARTUP

:OS_NT

REM Windows NT/2000/XP
echo startxwin.bat - Starting on Windows NT/2000/XP

:STARTUP


REM
REM Startup the programs
REM

REM Startup the X Server.

REM start XWin %1
REM start XWin -fullscreen
start XWin  -rootless
REM start XWin -broadcast

REM Startup an xterm, using bash as the shell.
REM run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/bash

REM setxkbmap de
REM Startup the twm window manager.

REM run twm
REM run fvwm2
REM run openbox
run wmaker

xrdb -merge .Xresources

REM Set a background color.

REM run xsetroot -solid aquamarine4

exit