Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2491

From: <debian-user-digest-request(at)lists.debian.org>
Date: Thu Sep 27 2007 - 16:33:27 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2491

Today's Topics:

  Etch installer floppy disk does not   [ "Chris Austin"  ]
  Re: Tool for document management      [ Neil Watson  ]
  Re: Slow Network Connection           [ Florian Kulzer 

Date: Thu, 27 Sep 2007 18:40:53 +0100
From: "Chris Austin" <chrisaustin@ukonline.co.uk> To: <debian-user@lists.debian.org>
Subject: Etch installer floppy disk does not detect my hard disks Message-ID: <000501c8012d$8e681100$6cf3cdd9@hendersonrd> Content-Type: text/plain;

        charset="Windows-1252"
Content-Transfer-Encoding: 7bit

Hi,

I am trying to install Etch starting with the floppy disk installer found at

Do you need help?X

http://http.us.debian.org/debian/dists/etch/main/installer-i386/current//ima ges/floppy/

The installer system boots up OK and I go through the installation process to where it says a shell will start up. It says that the hard disks will be mounted in the /target directory. I start the shell and there is no /target directory. I have two hard disks, with windows on hda1, and a Linux swap partition on hdb1, and a Linux partition (Woody) on hdb2. This worked excellently in Woody, until Woody got broken during an attempted upgrade to Etch. Also the problem is not due to low memory, I have just upgraded memory from 64MB to 256MB, and I no longer get the low memory mode message.

Best regards,
Chris Austin.

Date: Thu, 27 Sep 2007 15:02:16 -0400
From: "Manu Hack" <manuhack@gmail.com>
To: debian-user <debian-user@lists.debian.org> Subject: efficiency of windows managers

Message-ID: <50af02ed0709271202j44b58f2apfdde36c4d133f759@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

I have a general question which I got when trying out different windows managers/desktop environments. When I try to use windowmaker (I wanted to make my computer faster as it's getting old), it certainly is fast for initialization. But after that when around 10-15 windows are opened and distributed in different workspaces, I found moving around different workspaces and windows pretty slow (I compared with KDE which I usually use.) and thus I still decided to stick with KDE for the moment. Maybe the comparison is not fair as KDE definitely needs longer time to initialize. But my question is, is there a reason for that?

Thanks.

Do you need more help?X

Manu

Date: Thu, 27 Sep 2007 15:08:32 -0400
From: Neil Watson <debian@watson-wilson.ca> To: debian-user@lists.debian.org
Subject: Re: Tool for document management

Message-ID: <20070927190832.GD10369@watson-wilson.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

On Thu, Sep 27, 2007 at 11:51:04AM -0700, David Brodbeck wrote:
>LaTeX is really a godsend for geeks like me with poor artistic
>skills. It gives me a set of nice, safe, acceptable-looking layouts
>so I don't have to worry about fonts and margins. I no longer long
>for the days when it was acceptable to buzz something out in 12-point
>Elite on a 9-pin dot matrix printer and tear off the tractor feed
>strips. ;)

When I was reviewing my first large LaTeX doc my coworker thought I was reading a vendor supplied white paper. He was so impressed with the quality of the type-setting he asked me to tech him how to use it.

-- 
Neil Watson             | Debian Linux
System Administrator    | Uptime 13 days
Can we help you?X
http://watson-wilson.ca

Date: Thu, 27 Sep 2007 20:52:42 +0200 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: Problems capturing audio with Intel ICH5... Message-ID: <20070927185242.GA13554@localhost> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 26, 2007 at 22:51:30 +0200, Andrea Giuliano wrote:
> Hi!
>
> Recently I had to change the motherboard, and now I have the P4i65G by
> ASRock. The south bridge is the famous ICH5, which, amoing other things,
> incorporates a sound card. "lspci -v" gives the following line about it:
>
> 00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER
> (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
>
> The problem is this: I can play normally anything perfectly fine (at
> least, the sound seems good), but if try to record something from
> Line-in, when I play it back the sound is ugly. It resembles the tipical
> robot-like speaking, and it's very loud too.
>
> I try to lower and even to mute every input control with gnome-mixer,
> but the results are the same.
Maybe gnome-mixer does not give you access to the relevant capture controls.
> Alsa seems correctly configured (at least, sudo alsaconf gives no error).
Please post the output of: lsmod | egrep 'snd|intel8x0' amixer | egrep -i '^( .*capture|[^ ])' -- Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Thu, 27 Sep 2007 12:26:43 -0700 From: Andrew Sackville-West <andrew@farwestbilliards.com> To: debian-user@lists.debian.org Subject: Re: Missing files in locatedb Message-ID: <20070927192643.GP4870@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EqVOK5mkaJAMmtSx" Content-Disposition: inline --EqVOK5mkaJAMmtSx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 27, 2007 at 03:21:32PM -0400, Victor Munoz wrote:
> On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote:
> > >=20
> > > Some files in the original problematic directory have permissions
> > > -rw------- (does updatedb respect this), but the file I was looking
> > > for in the first place has read permissions for all.
> > >=20
> > > I don't understand. Does any?
> >=20
> > When were these files created?
> >=20
>=20
> There are 7 files with -rw------- permission, last modification times
> between 2003-10-16 and 2007-06-11, and 9 files with -rw-r--r--
> permissions, last modification times between 2007-05-02 and 2007-08-29.
> Anyway, other directories which don't seem to be indexed either have
> files with timestamps in various ranges, I don't see any correlation.
what are the permissions on the parent directories? that might be more relevant. A --EqVOK5mkaJAMmtSx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/APzaIeIEqwil4YRAnf7AKDjxUJZax/Dguoofa1iN8wHgHGIhwCgvvjR +66uJvnTnz1DzjwBRULAAi0= =eMxl -----END PGP SIGNATURE----- --EqVOK5mkaJAMmtSx--

Date: Thu, 27 Sep 2007 14:57:40 -0400 From: "Stefhen Hovland" <stefhen.hovland@gmail.com> To: debian-user@lists.debian.org Subject: can pbzip2 run on stdout? Message-ID: <7c278d0c0709271157p39fc4442j3c995300f37ef35@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is this possible for pbzip2 to run on a tar which outputs to standard out? I am trying to speed up a backup process which takes hours, i have about 100g of uncompressed data which will be tar'd up and is currently running thru gzip. This will be running on a 16 cpu box which would greatly speedup this issue. from: tar cf - . | gzip > /tmp/file.tar.gz to: tar cf - . | pbzip2 > /tmp/file.tar.bz2 This doesnt seem to work, is it because there is no way to split the stdio to multiple processors on the fly? Thanks for your help, I'm not subscribed to the list so if you could cc: me in addition to the list that would be great. Thanks, Stefhen

Can't find what you're looking for?X

Date: Thu, 27 Sep 2007 12:34:24 -0700 From: Andrew Sackville-West <andrew@farwestbilliards.com> To: Stefhen Hovland <stefhen.hovland@gmail.com> Cc: debian-user@lists.debian.org Subject: Re: can pbzip2 run on stdout? Message-ID: <20070927193423.GQ4870@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MdEjg5WkSuUg8x46" Content-Disposition: inline --MdEjg5WkSuUg8x46 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 27, 2007 at 02:57:40PM -0400, Stefhen Hovland wrote:
> Is this possible for pbzip2 to run on a tar which outputs to standard ou=
t?
>=20
> I am trying to speed up a backup process which takes hours, i have
> about 100g of uncompressed data which will be tar'd up and is
> currently running thru gzip. This will be running on a 16 cpu box
> which would greatly speedup this issue.
>=20
> from:
>=20
> tar cf - . | gzip > /tmp/file.tar.gz
>=20
> to:
>=20
> tar cf - . | pbzip2 > /tmp/file.tar.bz2
>=20
>=20
> This doesnt seem to work, is it because there is no way to split the
> stdio to multiple processors on the fly?
per http://compression.ca/pbzip2/ ToDo - Add support for input from stdin & pipes google man! A --MdEjg5WkSuUg8x46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/AW/aIeIEqwil4YRAk0WAJ4lN73r36HQYVzdsKZ2iTWyKYNIowCg4hbU CXuksZN276h8UGrltcq5zlU= =wwKe -----END PGP SIGNATURE----- --MdEjg5WkSuUg8x46--

Date: Thu, 27 Sep 2007 15:21:32 -0400 From: Victor Munoz <vmunoz@macul.ciencias.uchile.cl> To: debian-user <debian-user@lists.debian.org> Subject: Re: Missing files in locatedb Message-ID: <20070927192132.GE26644@llacolen.ciencias.uchile.cl> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote:
> >
> > Some files in the original problematic directory have permissions
> > -rw------- (does updatedb respect this), but the file I was looking
> > for in the first place has read permissions for all.
> >
> > I don't understand. Does any?
>
> When were these files created?
>
There are 7 files with -rw------- permission, last modification times between 2003-10-16 and 2007-06-11, and 9 files with -rw-r--r-- permissions, last modification times between 2007-05-02 and 2007-08-29. Anyway, other directories which don't seem to be indexed either have files with timestamps in various ranges, I don't see any correlation. Victor

Date: Thu, 27 Sep 2007 21:21:54 +0200 From: Andy <1aw@gmx.de> To: debian-user@lists.debian.org Subject: Re: efficiency of windows managers Message-Id: <200709272121.54295.1aw@gmx.de> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Am Donnerstag, 27. September 2007 21:02 schrieb Manu Hack:
> Hi all,
>
> I have a general question which I got when trying out different
> windows managers/desktop environments. When I try to use windowmaker
> (I wanted to make my computer faster as it's getting old), it
> certainly is fast for initialization. But after that when around
> 10-15 windows are opened and distributed in different workspaces, I
> found moving around different workspaces and windows pretty slow (I
> compared with KDE which I usually use.) and thus I still decided to
> stick with KDE for the moment. Maybe the comparison is not fair as
> KDE definitely needs longer time to initialize. But my question is,
> is there a reason for that?
>
> Thanks.
>
> Manu
You might need more RAM regards Andy :-)

Date: Thu, 27 Sep 2007 21:14:49 +0200 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: Slow Network Connection Message-ID: <20070927191449.GB13554@localhost> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 27, 2007 at 11:34:52 -0400, Eric Estes wrote:
> I just purchased a Shuttle XPC SN27P2 barebones system.
> Chipset: North Bridge - Nvidia nForce 570 Ultra
> Onboard NIC: Marvell 88E1116(10/100/1000Mbps) - I also added a Intel
> Dual-Server NIC and disabled the Marvell
>
> I tried installing Debian 4.0r0, 4.0r1 and a nightly test build and they
> all suffer from the same problem; an extremely slow connection to the
> internet (about dial-up speed - I have a 5Meg cable connection).
>
> Yet, if I boot off of a PCLinuxOS Live CD the network works perfectly.
>
> I've changed cables and network cards with no luck. I'm hoping someone
> here will see something that I've overlooked.
[...]
> Here is the output of the 'lspci' (Debian):
[...]
> 02:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
> 02:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
[...]
> Here is the output of a 'lsmod' (Debian):
[...]
> e100 33288 0
> mii 5696 1 e100
[...]
> Here is the output of a 'lsmod' (PCLinuxOS):
> [root@localhost root]# lsmod
> Module Size Used by
> eepro100 31728 0
> mii 5760 1 eepro100
The most obvious difference is that Debian uses the e100 driver while PCLinuxOS uses the eepro100 module. Is the version of the kernel the same in both cases? You could try to force the Debian system to use the eepro100 driver: invoke-rc.d networking stop modprobe -r e100 modprobe eepro100 invoke-rc.d networking start -- Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Thu, 27 Sep 2007 15:31:23 -0400 From: Victor Munoz <vmunoz@macul.ciencias.uchile.cl> To: debian-user <debian-user@lists.debian.org> Subject: Re: Missing files in locatedb Message-ID: <20070927193123.GF26644@llacolen.ciencias.uchile.cl> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote:
>
> what are the permissions on the parent directories? that might be more
> relevant.
>
drwxr-xr-x in all cases. Victor

Date: Thu, 27 Sep 2007 13:03:53 -0700 From: Andrew Sackville-West <andrew@farwestbilliards.com> To: debian-user@lists.debian.org Subject: Re: Missing files in locatedb Message-ID: <20070927200353.GR4870@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpcCHpaCAbC4X43d" Content-Disposition: inline --LpcCHpaCAbC4X43d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 27, 2007 at 03:31:23PM -0400, Victor Munoz wrote:
> On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote:
> >=20
> > what are the permissions on the parent directories? that might be more
> > relevant.
> >=20
>=20
> drwxr-xr-x in all cases.
>=20
are these directories nfs mounts by any chance? that's all I can think of, as they are excluded by default. A --LpcCHpaCAbC4X43d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/AypaIeIEqwil4YRAkqDAKDG7Ix3nS4vu6BjLVafjsUN8pnbagCfYw/e F3did549+7LWjahVGCuQRkk= =sPRO -----END PGP SIGNATURE----- --LpcCHpaCAbC4X43d--

Date: Thu, 27 Sep 2007 15:50:22 -0400 From: Victor Munoz <vmunoz@macul.ciencias.uchile.cl> To: debian-user <debian-user@lists.debian.org> Subject: Re: Missing files in locatedb Message-ID: <20070927195022.GG26644@llacolen.ciencias.uchile.cl> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 27, 2007 at 08:23:14PM +0200, Johannes Wiedersich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Victor Munoz wrote:
> > Hello. Today I found a very strange problem. Some files seem to be
> > missing from locatedb database.
>
> [snip]
>
> > I don't understand. Does any?
>
> Try running 'updatedb' as root manually and check if this helps.
>
It worked. All missing files are there now. At first, this was a mystery, but now I understand why. updatedb is not run as root, but as 'nobody', as set in /etc/updatedb.conf, so the sequence $ . /etc/updatedb.conf; updatedb yields a lot of "Permission denied" messages, unlike "$ updatedb". And I was wrong when I replied to another post in this thread, saying that all directories had permissions drwxr-xr-x. ~/textos/fisica had drwxr-xr--, and that was it. So it's all working now, and much better, I understand :-) Thanks for the help. Victor

Date: Thu, 27 Sep 2007 13:50:35 -0600 From: "Javier Vasquez" <jevv.cr@gmail.com> To: "Manu Hack" <manuhack@gmail.com> Cc: debian-user <debian-user@lists.debian.org> Subject: Re: efficiency of windows managers Message-ID: <c88cc5730709271250m74f36907xf012b7476f798c4e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/27/07, Manu Hack <manuhack@gmail.com> wrote:
> Hi all,
>
> I have a general question which I got when trying out different
> windows managers/desktop environments. When I try to use windowmaker
> (I wanted to make my computer faster as it's getting old), it
> certainly is fast for initialization. But after that when around
> 10-15 windows are opened and distributed in different workspaces, I
> found moving around different workspaces and windows pretty slow (I
> compared with KDE which I usually use.) and thus I still decided to
> stick with KDE for the moment. Maybe the comparison is not fair as
> KDE definitely needs longer time to initialize. But my question is,
> is there a reason for that?
>
> Thanks.
>
> Manu
Don't know about windowMaker, but you might try: fluxbox icewm pekwm fvwm2 You might find some pretty light, and some besides offering lots of fun and good looking features... I use fluxbox and a machine with 512M main, and 64M ati-rage is performing pretty well... -- Javier

Don't know where to look next?X

Date: Thu, 27 Sep 2007 15:52:08 -0400 From: Victor Munoz <vmunoz@macul.ciencias.uchile.cl> To: debian-user <debian-user@lists.debian.org> Subject: Re: Missing files in locatedb Message-ID: <20070927195208.GH26644@llacolen.ciencias.uchile.cl> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 27, 2007 at 03:31:23PM -0400, Victor Munoz wrote:
> On Thu, Sep 27, 2007 at 12:26:43PM -0700, Andrew Sackville-West wrote:
> >
> > what are the permissions on the parent directories? that might be more
> > relevant.
> >
>
> drwxr-xr-x in all cases.
>
Wrong. One had permissions drwxr-xr-- as I mention in other post, and that's why it failed. Thanks, Victor

Date: Thu, 27 Sep 2007 14:53:18 -0500 From: "Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> To: Debian User List <debian-user@lists.debian.org> Subject: Re: Missing files in locatedb Message-ID: <46FC0A2E.4050708@earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit On 09/27/2007 02:21 PM, Victor Munoz wrote:
> On Thu, Sep 27, 2007 at 01:43:14PM -0500, Ron Johnson wrote:
>>> Some files in the original problematic directory have permissions
>>> -rw------- (does updatedb respect this), but the file I was looking
>>> for in the first place has read permissions for all.
>>>
>>> I don't understand. Does any?
>> When were these files created?
>>
>
> There are 7 files with -rw------- permission, last modification times
> between 2003-10-16 and 2007-06-11, and 9 files with -rw-r--r--
> permissions, last modification times between 2007-05-02 and 2007-08-29.
> Anyway, other directories which don't seem to be indexed either have
> files with timestamps in various ranges, I don't see any correlation.
>
> Victor
>
>
Check /etc/updatedb.conf and the LOCALUSER variable. LOCALUSER is set to 'nobody' by default, and 'nobody' has no ability to view directories with -rwx------ permissions.

Date: Thu, 27 Sep 2007 16:08:39 -0400 From: "Nguyen, Cuong K." <cuongkieunguyen@gmail.com> To: debian-user@lists.debian.org Subject: Re: bash, xbindkeys and dual screen Message-ID: <b36fe63b0709271308v34e7815fl27d071a32eef4141@mail.gmail.com> Content-Type: multipart/alternative; boundary="----=_Part_1305_15794020.1190923719928" ------=_Part_1305_15794020.1190923719928 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/27/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
>
> On Thu, Sep 27, 2007 at 12:44:32PM -0400, Nguyen, Cuong K. wrote:
> >
> >> You're probably right that the DISPLAY is always :0.0. You need another
> >> way to toggle between 0 and 1. Try this:
> >>
> >> #!/bin/bash
> >> swfile=/tmp/sw-file
> >> if [ ! -f $swfile ]; then echo 0 > $swfile ; fi
> >> echo $(( ! `cat $swfile` )) > $swfile
> >> echo exec switchscreen `cat $swfile`
> >>
> >> Note that I just echo-ed the command because I don't have switchscreen
> >> installed. The $(( ... )) syntax allows you to evaluate mathematical
> >> expressions. Read "man bash"
> >>
> >> HTH
> >>
> > Works perfectly! Thanks HTH :)
>
> Cuong, I'm curious, running dual-screen myself, about your setup. I am
> running xinerama and that combines my two screens into one large
> one. The mouse flows effortlessly from one to the other. I find it
> works very well with a tiling WM (wmii here) and just love it. What do
> you find to be the advantages/disadvantages to have two truly separate
> screens?
>
>
> A
Hi Andrew, A quick question: what does "a tiling WM (wmii here)" mean? For my setup: I have one flat monitor (main monitor) and another monitor is TV, and I want to watch movies on TV and work on another monitor, and that I do not want my mouse bothers the TV when viewing movies, that is why I setup so that the mouse can not move from one monitor to another (the mouse is bounded as normal monitor). Another advantage, I "think" but have not tried (will try it soon), is that if you have two mice and two keyboards, you can work on one monitor when your child is playing game on another monitor. Two separately working desktop with one CPU is cool, right? KC. -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFG/ACyaIeIEqwil4YRArKQAKCXSd3w0REamY1CkqiPuQsaNMRM7QCg0PpU
> sbxto7UAXHnwnwiJjw1Tyfk=
> =tuZx
> -----END PGP SIGNATURE-----
>
>
------=_Part_1305_15794020.1190923719928 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/27/07, <b class="gmail_sendername">Andrew Sackville-West</b> &lt;<a href="mailto:andrew@farwestbilliards.com">andrew@farwestbilliards.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Thu, Sep 27, 2007 at 12:44:32PM -0400, Nguyen, Cuong K. wrote:<br>&gt;<br>&gt;&gt; You&#39;re probably right that the DISPLAY is always :0.0. You need another<br>&gt;&gt; way to toggle between 0 and 1. Try this:<br>&gt;&gt; <br>&gt;&gt; #!/bin/bash<br>&gt;&gt; swfile=/tmp/sw-file<br>&gt;&gt; if [ ! -f $swfile ]; then echo 0 &gt; $swfile ; fi<br>&gt;&gt; echo $(( ! `cat $swfile` )) &gt; $swfile<br>&gt;&gt; echo exec switchscreen `cat $swfile` <br>&gt;&gt;<br>&gt;&gt; Note that I just echo-ed the command because I don&#39;t have switchscreen<br>&gt;&gt; installed. The $(( ... )) syntax allows you to evaluate mathematical<br>&gt;&gt; expressions. Read &quot;man bash&quot; <br>&gt;&gt;<br>&gt;&gt; HTH<br>&gt;&gt;<br>&gt; Works perfectly! Thanks HTH :)<br><br>Cuong, I&#39;m curious, running dual-screen myself, about your setup. I am<br>running xinerama and that combines my two screens into one large <br>one. The mouse flows effortlessly from one to the other. I find it<br>works very well with a tiling WM (wmii here) and just love it. What do<br>you find to be the advantages/disadvantages to have two truly separate<br> screens?<br><br><br>A</blockquote><div><br>Hi Andrew,<br><br>A quick question: what does &quot;a tiling WM (wmii here)&quot; mean?<br><br>For my setup: I have one flat monitor (main monitor) and another monitor is TV, and I want to watch movies on TV and work on another monitor, and that I do not want my mouse bothers the TV when viewing movies, that is why I setup so that the mouse can not move from one monitor to another (the mouse is bounded as normal monitor). Another advantage, I &quot;think&quot; but have not tried (will try it soon), is that if you have two mice and two keyboards, you can work on one monitor when your child is playing game on another monitor. Two separately working desktop with one CPU is cool, right? <br><br>KC.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br> <br>iD8DBQFG/ACyaIeIEqwil4YRArKQAKCXSd3w0REamY1CkqiPuQsaNMRM7QCg0PpU<br>sbxto7UAXHnwnwiJjw1Tyfk=<br>=tuZx<br>-----END PGP SIGNATURE-----<br><br></blockquote></div><br> ------=_Part_1305_15794020.1190923719928-- End of debian-user-digest Digest V2007 Issue #2491 ************************************************** Received on Thu Sep 27 16:33:40 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:55:18 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library