Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2317

From: <debian-user-digest-request(at)lists.debian.org>
Date: Wed Sep 05 2007 - 15:42:28 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2317

Today's Topics:

  Re: A sane way to merge config file   [ Andrei Popescu  ]
  Re: LVM                               [ David Brodbeck  ]
  emacs can't find fonts                [ Max Hyre  ]
  Re: Rogue Directory                   [ Hal Vaughan  ]
  Re: Two Xorg processes?               [ Florian Kulzer  ]
  unable to install Dell Photo Printer  [ Phill Atwood  ]

Date: Wed, 5 Sep 2007 20:00:42 +0300
From: Andrei Popescu <andreimpopescu@gmail.com> To: debian-user@lists.debian.org
Subject: Re: A sane way to merge config file differences during package

        installation?
Message-ID: <20070905170042.GA9854@think.homenet> Content-Type: multipart/signed; micalg=pgp-sha1;

        protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline

--Kj7319i9nmIyA2yE

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Do you need help?X

On Tue, Sep 04, 2007 at 09:39:27AM -0400, Celejar wrote: =20
> > Great idea! File a wishlist bug against debconf.

>=20

> There was a sub-thread about this back in March:
>=20

> http://lists.debian.org/debian-user/2007/03/msg02895.html
>=20

> Andrei said that there was work in progress for a merge
> option.

Huh, I must be getting old, I can barely remember that. I think I got=20 that from debian-devel.

Regards,
Andrei
--=20
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)

--Kj7319i9nmIyA2yE

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)

iD8DBQFG3uC6qJyztHCFm9kRAgIoAJ9VLY9tWiDi6OaBB2aKF8VlO7y3+wCdG8Cg cXjNiIHzyxCw1VJx5fQqelQ=
=1E8n
-----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--

Date: Wed, 5 Sep 2007 12:11:09 -0400
From: Allan Wind <allan_wind@lifeintegrity.com> To: debian-user@lists.debian.org
Subject: Re: Filtering Syslog-NG

Message-ID: <20070905161109.GB4631@lifeintegrity.com>
Content-Type: text/plain; charset=us-ascii
Can we help you?X
Content-Disposition: inline
Do you need more help?X

On 2007-09-05T11:06:56-0400, Nathan wrote:
> destination d_ALL {
> file("/var/log/$R_YEAR/$R_MONTH/$HOST/$R_YEAR-$R_MONTH-$R_DAY"); };
>
>
> I need to filter out the logs from one host and have it go to a
> different destination.
>
> I setup the following destination:
>
> destination d_CUDA {
> file("/var/log/CUDA/$R_YEAR/$R_MONTH/$R_YEAR-$R_MONTH-$R_DAY"); };
>
>
> and I setup the following filter:
>
> filter f_cuda { host(x.x.x.x); };

x.x.x.x should be a regular expression (for example: host("fubar")) and you want that to match whatever syslog-ng logs for the host.

You may be interested in the use_dns(yes|no) option, as well as the template $HOST value (you may still want to use $HOST and use a symblic link so you have data available under either IP or hostname directory). The other option is to use netmask() in your filter instead of host().

It sounds like you have another log statement, and that it does not exclude the data from your cuda host. Another way may be the flags(final).  

> However it isn't working. The new directory isn't being created and the
> logs are still going to the old destination. I think the problem is
> with my filter. Does using a 'host' filter block messages or allow them?

Neither. It selects messages from the log stream, and the log statement tells syslog what to do with them. If there are no messages that match the template is probably not invoked to create the directories.

> What do I need to do filter out the logs from that host from going to
> the "d_ALL" destination and force it to go to "d_CUDA" instead? Thanks.

not host($host)

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

where $host is the name syslog logs for the host. You can probably also use the flags(final) on the log statement for cuda, and you may then want to list that log before the log statement that catches the rest.

Make sure you restart (not just reload) syslog-ng after your changes. Otherwise you may not know of syntax errors that cause the old config to be still used. And another tip is to test your rules using logger.

/Allan

Date: Wed, 5 Sep 2007 13:03:37 -0400
From: Hal Vaughan <hal@thresholddigital.com> To: debian-user@lists.debian.org
Subject: Rogue Directory
Message-Id: <200709051303.37173.hal@thresholddigital.com> Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Yesterday I created a new directory on my workstation so I could mount a few NFS mounts on it. As root, I typed "mkdir /thresh" and it worked, or seemed to. I realize I didn't actually list it, I just tried mounting the imported filesystems on it and it worked. Now when I list it, I get:

?---------   ? ?    ?        ?                ? /thresh

I tried chown, rm, mv and other commands as root, but I can't do anything with this directory.

What can I do to either delete it (the only data in it is mounted from other systems) or make it usable?

Don't know where to look next?X

Thanks!

Hal

Date: Wed, 5 Sep 2007 18:48:45 +0200
From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org
Subject: Re: package system broken by aptitude removing cupsys -- correction

Message-ID: <20070905164845.GA1612@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Sep 05, 2007 at 10:39:57 -0400, Steve Newcomb wrote:

[...]

> lprng lets me set up my own filters. The only filters I need are
> easy: pnm2ppa and a little something that prepends some postscript
> that tells my HP 4050 JetDirect to be in duplex mode.
>
> One of the simple tasks that I have never succeeded in getting Cupsys to
> do, even after many hours of fiddling, was to describe the same
> printer hardware in two ways, one simplex and one duplex.

I am not sure if I understand the problem. The CUPS frontend at http://localhost:631 allows you to add several instances of the same printer with different names and you can set the default options of each instance as you wish. You don't even have to edit a single configuration file to do this. How much simpler does it have to be?

Confused? Frustrated?X

> In my experience, trying to use Cupsys is like trying to use a
> battleship -- a battleship that doesn't work reliably -- as a commuter
> vehicle. Nothing about it is intuitive, it's incredibly opaque and
> complex, and it's far too time-consuming to get it to work. The fact
> that Cupsys is evidently the default printing system for Debian is, in
> my opinion, poisonous to Debian's acceptability as a desktop,
> particularly in the face of Apple OS X's well-deserved and
> fast-growing popularity.

I wonder what printing system is used by MacOS X, maybe Debian could copy it? And who owns CUPS anyway?

-- 
Regards,            | 
http://users.icfo.es/Florian.Kulzer
          Florian   |

Date: Wed, 05 Sep 2007 18:52:24 +0200 From: Peter Gutbrod <lists@media-fact.com> To: <debian-user@lists.debian.org> Subject: Netatalk stopped working on Sid Message-ID: <C304AB68.B6533%lists@media-fact.com> Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Netatalk worked on my Debian box some times ago, but I didn't use it much. So I can't really say when it actually broke. This week I've updated Sid via aptitude and found Netatalk (2.3.0-6) to be broken. I get the following in syslog of the debian box, when I try to contact to a new clean (without .AppleXX files) homedir from a Mac OS X box via AFP: Sep 5 18:30:27 EPIA afpd[3070]: ASIP session:548(5) from 192.168.178.2:52638(8) Sep 5 18:30:27 EPIA afpd[2711]: server_child[1] 3070 done Sep 5 18:30:36 EPIA afpd[3071]: ASIP session:548(5) from 192.168.178.2:52639(8) Sep 5 18:30:36 EPIA afpd[3071]: cleartext login: test Sep 5 18:30:36 EPIA afpd[3071]: login test (uid 1004, gid 100) AFP3.1 Sep 5 18:30:44 EPIA afpd[3071]: Warning: No CNID scheme for volume /home/test. Using default. Sep 5 18:30:44 EPIA afpd[3071]: Setting uid/gid to 1004/100 Sep 5 18:30:44 EPIA afpd[3071]: CNID DB initialized using Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Sep 5 18:30:44 EPIA afpd[2711]: server_child[1] 3071 exited 127 The Mac shows an error -36. (Some files could not be read/written ...) But the homedir now contains an .AppleDB directory with a single __db.001 file. If I retry to connect, I now get another syslog error on the debian box: Sep 5 18:39:11 EPIA afpd[3139]: ASIP session:548(5) from 192.168.178.2:52648(8) Sep 5 18:39:11 EPIA afpd[3139]: cleartext login: test Sep 5 18:39:11 EPIA afpd[3139]: login test (uid 1004, gid 100) AFP3.1 Sep 5 18:39:13 EPIA afpd[3139]: Warning: No CNID scheme for volume /home/test. Using default. Sep 5 18:39:13 EPIA afpd[3139]: Setting uid/gid to 1004/100 Sep 5 18:39:13 EPIA afpd[3139]: CNID DB initialized using Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Sep 5 18:39:31 EPIA afpd[3139]: cnid_open: dbenv->open (rw) of /home/test/.AppleDB failed: Resource temporarily unavailable Sep 5 18:40:01 EPIA afpd[3139]: cnid_open: dbenv->open of /home/test/.AppleDB failed: Resource temporarily unavailable Sep 5 18:40:01 EPIA afpd[3139]: Cannot open CNID db at [/home/test]. Sep 5 18:40:01 EPIA afpd[3139]: Fatal error: cannot open CNID or invalid CNID backend for /home/test: cdb Sep 5 18:40:02 EPIA afpd[3139]: logout test Sep 5 18:40:02 EPIA afpd[3139]: 0.21KB read, 0.15KB written Sep 5 18:40:02 EPIA afpd[2711]: server_child[1] 3139 done And the Mac reports error -5014 (Unknown error). Spent several hours to fix it without success. Tried as well to build from the source package, but conflicting build dependencies prevented this. Then installed Netatalk 2.3.0-4 from lenny but that didn't help as well. Probably it has to something to do with the Berkeley DB but I have no clue how to find out what is wrong. Any tips welcome. Pete

Date: Wed, 5 Sep 2007 10:16:08 -0700 (PDT) From: Jeff D <fixedored@gmail.com> To: debian user <debian-user@lists.debian.org> Subject: Re: crontab -e Message-ID: <Pine.LNX.4.62.0709051010280.7596@proto.technobounce.com> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 5 Sep 2007, Maarten Verwijs wrote:
> On Mon, Sep 03, 2007 at 05:38:03PM -0700, Raquel wrote:
>> On Tue, 04 Sep 2007 02:24:16 +0200 >> Mathias Brodala <info@noctus.net> wrote: >> Hmmm, I thought it was configured using the update-alternatives >> system. However, when I run (as root): >> #update-alternatives --set editor /usr/bin/vim >> I get an error: >> #update-alternatives: Cannot find alternative `/usr/bin/vim'. >
> This just means that vim isn't installed. Run 'apt-get install vim' and
> it should work.
> I'm guessing that /usr/bin/vim is really a symlink to the vim in /etc/alternatives/vim. running update-alternatives --set editor /usr/bin/vim.tiny or which ever vim you have installed would work. Although, its probably just easier to just run update-alternatives --config editor and select which one you want. hth Jeff -+- 8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.

Date: Wed, 5 Sep 2007 10:16:33 -0700 From: David Brodbeck <brodbd@u.washington.edu> To: List Debian User <debian-user@lists.debian.org> Subject: Re: LVM Message-Id: <7BC3F603-31AB-4738-AEA1-35997CD0FBE3@u.washington.edu> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit On Sep 5, 2007, at 6:02 AM, Jeff Fisher wrote:
> Create a new logical volume of the exact same size, unmount the
> original
> logical volume, then do:
> dd if=/dev/vgsource/lvsource of=/dev/vgdest/lvdest bs=262144
>
> This should be the fastest, and guaranteed to copy all the attributes.
The speed improvement doing it this way can be especially dramatic on RAID 5 volumes, where writing small files is much slower than writing large blocks. Minutes instead of hours, in some cases. Also, the new LV doesn't have to be exactly the same size. The same size *or larger* will do nicely. There will just be wasted space in the LV until you expand the filesystem to match, which should be done after the copy.

Date: Wed, 05 Sep 2007 12:18:09 -0500 From: Michael Shuler <michael@pbandjelly.org> To: hal@thresholddigital.com Cc: debian-user@lists.debian.org Subject: Re: Rogue Directory Message-ID: <46DEE4D1.5000003@pbandjelly.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 09/05/2007 12:03 PM, Hal Vaughan wrote:
> Yesterday I created a new directory on my workstation so I could mount a
> few NFS mounts on it. As root, I typed "mkdir /thresh" and it worked,
> or seemed to. I realize I didn't actually list it, I just tried
> mounting the imported filesystems on it and it worked. Now when I list
> it, I get:
>
> ?--------- ? ? ? ? ? /thresh
This appears that your created or possibly the mounted a directory has some odd permissions - e.g.: $ mkdir -m600 foo $ ls -la foo/ total 0 ?--------- ? ? ? ? ? foo/. ?--------- ? ? ? ? ? foo/..
> What can I do to either delete it (the only data in it is mounted from
> other systems) or make it usable?
Try unmounting your NFS share and checking permissions/UMASK on both sides. -- Kind Regards, Michael Shuler

Date: Wed, 5 Sep 2007 10:22:35 -0700 From: David Brodbeck <brodbd@u.washington.edu> To: List Debian User <debian-user@lists.debian.org> Subject: Re: Rogue Directory Message-Id: <E5CF852E-00D8-44B5-8A08-37F36C0913BF@u.washington.edu> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit On Sep 5, 2007, at 10:03 AM, Hal Vaughan wrote:
> Yesterday I created a new directory on my workstation so I could
> mount a
> few NFS mounts on it. As root, I typed "mkdir /thresh" and it worked,
> or seemed to. I realize I didn't actually list it, I just tried
> mounting the imported filesystems on it and it worked. Now when I
> list
> it, I get:
>
> ?--------- ? ? ? ? ? /thresh
>
> I tried chown, rm, mv and other commands as root, but I can't do
> anything with this directory.
>
> What can I do to either delete it (the only data in it is mounted from
> other systems) or make it usable?
You need to unmount the NFS filesystem first, if there's still one mounted. Removing a directory that has a filesystem mounted on it is a no-no and I doubt the system will let the delete complete until the filesystem is unmounted. (Note that if the NFS server has gone away you may need to use umount -f to get the unmount to complete.) If that's not the problem, I would boot into single user mode (or boot a rescue CD) and run fsck on that filesystem. I've seen directory entries like that on corrupt filesystems.

Date: Wed, 5 Sep 2007 20:41:44 +0300 From: Andrei Popescu <andreimpopescu@gmail.com> To: debian-user@lists.debian.org Subject: Re: crontab -e Message-ID: <20070905174144.GB9854@think.homenet> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 05, 2007 at 10:43:16AM -0500, Ron Johnson wrote:
> On 09/03/07 19:46, Douglas A. Tutty wrote:
> > On Mon, Sep 03, 2007 at 05:22:28PM -0700, Raquel wrote:
> >> I have a new install of Etch. When I issue the command
> >> #crontab -e
> >> I get the nano editor. I would really rather use the vim editor.=20
> >> How do I change what gets used?
> >=20
> > Do you have an EDITOR environment variable set? The man page says that
> > it follows EDITOR or VISUAL if set. If not, it likely follows
> > sensible-editor which is part of the debian alternatives system.
>=20
> vim not installed???
>=20
> Who doesn't install vim?
I didn't. Until I switched to mutt and went "shopping" for a mcedit=20 replacement ... so I ended up with vim. Regards, Andrei --=20 If you can't explain it simply, you don't understand it well enough. (Albert Einstein) --ADZbWkCsHQ7r3kzd 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) iD8DBQFG3upYqJyztHCFm9kRAiVjAJkBbN1S8sVE5wvL260EzKhuOKTMhwCgqqD4 lSMjvDLko+cGTaRcmflqOrc= =/fwR -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd--

Call Pantek today for Open Source Technical Support at 1-877-546-8934 - 24/7/365X

Date: Wed, 05 Sep 2007 13:27:47 -0400 From: Nathan <debian@ucwv.edu> To: debian-user@lists.debian.org Subject: Re: Filtering Syslog-NG Message-ID: <46DEE713.7070000@ucwv.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Allan Wind wrote:
> On 2007-09-05T11:06:56-0400, Nathan wrote:
>> destination d_ALL { >> file("/var/log/$R_YEAR/$R_MONTH/$HOST/$R_YEAR-$R_MONTH-$R_DAY"); }; >> >> >> I need to filter out the logs from one host and have it go to a >> different destination. >> >> I setup the following destination: >> >> destination d_CUDA { >> file("/var/log/CUDA/$R_YEAR/$R_MONTH/$R_YEAR-$R_MONTH-$R_DAY"); }; >> >> >> and I setup the following filter: >> >> filter f_cuda { host(x.x.x.x); };
>
> x.x.x.x should be a regular expression (for example: host("fubar")) and
> you want that to match whatever syslog-ng logs for the host.
>
> You may be interested in the use_dns(yes|no) option, as well as
> the template $HOST value (you may still want to use $HOST and use a
> symblic link so you have data available under either IP or hostname
> directory). The other option is to use netmask() in your filter instead
> of host().
>
> It sounds like you have another log statement, and that it does not
> exclude the data from your cuda host. Another way may be the
> flags(final).
>
>> However it isn't working. The new directory isn't being created and the >> logs are still going to the old destination. I think the problem is >> with my filter. Does using a 'host' filter block messages or allow them?
>
> Neither. It selects messages from the log stream, and the log statement
> tells syslog what to do with them. If there are no messages that match
> the template is probably not invoked to create the directories.
>
>> What do I need to do filter out the logs from that host from going to >> the "d_ALL" destination and force it to go to "d_CUDA" instead? Thanks.
>
> not host($host)
>
> where $host is the name syslog logs for the host. You can probably also
> use the flags(final) on the log statement for cuda, and you may then
> want to list that log before the log statement that catches the rest.
>
> Make sure you restart (not just reload) syslog-ng after your changes.
> Otherwise you may not know of syntax errors that cause the old config
> to be still used. And another tip is to test your rules using logger.
>
>
> /Allan
>
>
It works perfectly! Thanks! Nathan

Date: Wed, 05 Sep 2007 13:42:22 -0400 From: Max Hyre <max@hyre.net> To: debian-user@lists.debian.org Subject: emacs can't find fonts Message-ID: <46DEEA7E.5010606@hyre.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've installed plenty of fonts (xfonts-100dpi, xfonts-75dpi, msttcorefonts [for shame!], gsfonts-x11, &c., but emacs22 finds roughly zilch. Our story so far: I'm running vanilla etch w/Gnome, except for a) emacs22 from unstable, and b) blowing away X and Gnome, then reinstalling. (This due to some idiocy, I forget quite what, during which I damaged X such that gdm couldn't start it up.) X and Gnome are now quite happy, but when I ask emacs to set a font is says ``Font not found''. This obtains even for such staples as Courier 12-point. Reading up (briefly) on defoma, it seems to say that each app effectively registers itself with defoma, which handles everything from there on. I can find no mention of defoma in any of the emacs .postinsts, nor can I see any way from the command line to make defoma register emacs. ``apt-get install --reinstall emacs22'' doesn't change things. Searching this year's archive of debian-user, for ``emacs fonts'', shows nothing. Anyone have any ideas? -- Best wishes, Max Hyre

Date: Wed, 5 Sep 2007 13:48:01 -0400 From: Hal Vaughan <hal@thresholddigital.com> To: debian-user@lists.debian.org Subject: Re: Rogue Directory Message-Id: <200709051348.01100.hal@thresholddigital.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 05 September 2007, Hal Vaughan wrote:
> Yesterday I created a new directory on my workstation so I could
> mount a few NFS mounts on it. As root, I typed "mkdir /thresh" and
> it worked, or seemed to. I realize I didn't actually list it, I just
> tried mounting the imported filesystems on it and it worked. Now
> when I list it, I get:
>
> ?--------- ? ? ? ? ? /thresh
>
> I tried chown, rm, mv and other commands as root, but I can't do
> anything with this directory.
>
> What can I do to either delete it (the only data in it is mounted
> from other systems) or make it usable?
Okay, as some have suggested, it was a problem with the nfs mount. =A0When= =20 I umount'ed the share, ownership returned and it's okay. It turns out the issue seems to be more of a DNS issue, which I've=20 fixed. (I had switched to DHCP for testing something else and a typo=20 when I switched back caused the problem.) Hal

Date: Wed, 05 Sep 2007 14:50:12 -0400 From: Nathan <debian@ucwv.edu> To: debian-user@lists.debian.org Subject: inserting line breals Message-ID: <46DEFA64.7050904@ucwv.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've found a perl script on the 'Net that does a very good job of recursively searching a directory of sub-directories and files. I pipe the output to the 'mail' program and email it to myself. However it would help the readability of the text if I could add an extra line break (carriage return) to each existing line break. Effectively I would to double-space it. I am not a perl guru in any shape or form. Can anyone offer suggestions on the best way to go about this? Thanks. Nathan

Date: Wed, 5 Sep 2007 20:43:32 +0200 From: Florian Kulzer <florian.kulzer+debian@icfo.es> To: debian-user@lists.debian.org Subject: Re: Two Xorg processes? Message-ID: <20070905184332.GA5052@localhost> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 04, 2007 at 22:13:39 +0200, Davide Mancusi wrote:
> Florian Kulzer ha scritto:
>>> I have noticed that I have two Xorg processes running >> Did you already try to log out and restart kdm? >
> Yes. It happens at every boot.
>
> I wouldn't bother if I were at least sure that the second Xorg process is=
=20
> not allocating memory separately, but just sharing it with the first one.
Did you at some point in the past use "Switch User" to start a new session on tty8? It would be interesting to know what options are used when the second Xorg process is started. Here is what I see: $ pstree -a $(pgrep -P1 kdm) kdm -config /var/run/kdm/kdmrc =E2=94=9C=E2=94=80Xorg -br -nolisten tcp :0 vt7 -auth /var/run/xauth/XXXX= XXXXXX =E2=94=94=E2=94=80kdm =E2=94=94=E2=94=80startkde /usr/bin/startkde =E2=94=9C=E2=94=80kwrapper ksmserver =E2=94=94=E2=94=80ssh-agent /usr/bin/dbus-launch --exit-with-sess= ion /usr/bin/startkde This should tell you on which VT the second Xorg process is running; you can then switch to that VT and check out what is going on. (I think it should never happen that two Xorg processes are attached to the same VT; lockfiles in /tmp are supposed to prevent that.) --=20 Regards, | http://users.icfo.es/Florian.Kulzer Florian |

Date: Wed, 5 Sep 2007 15:01:51 -0400 From: "Michael Marsh" <michael.a.marsh@gmail.com> To: debian-user@lists.debian.org Subject: Re: inserting line breals Message-ID: <ceb0ad00709051201s5ec2d206ufb4cbd5b4814ba3b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/5/07, Nathan <debian@ucwv.edu> wrote:
> I've found a perl script on the 'Net that does a very good job of
> recursively searching a directory of sub-directories and files. I pipe
> the output to the 'mail' program and email it to myself. However it
> would help the readability of the text if I could add an extra line
> break (carriage return) to each existing line break. Effectively I
> would to double-space it.
>
> I am not a perl guru in any shape or form. Can anyone offer suggestions
> on the best way to go about this? Thanks.
The following one-liner should do it (it works for me): perl -pe '$_ .= "\n"' <filename> You could also do the following: perl -pi.bak -e '$_ .= "\n"' <filename> <filename> will now contain the double-spaced text, and <filename>.bak will contain the original file. Here's how it works: "-p" uses an implicit while(<>) { # foo print $_; } with "# foo" replaced by your provided script. "-e" specifies that the next string is the script to run. "-i.bak" says to do in-line replacement, moving the original to a file with ".bak" as the extension. You could use any extension you like here. Since $_ will be printed automatically, we append (".=") a newline to it. -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com http://36pints.blogspot.com

Date: Wed, 05 Sep 2007 15:04:20 -0400 From: Max Hyre <max@hyre.net> To: debian-user@lists.debian.org Cc: debian-user@lists.debian.org Subject: Re: emacs can't find fonts---fixed, but not explained Message-ID: <46DEFDB4.9020300@hyre.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Max Hyre wrote:
> I've installed plenty of fonts (xfonts-100dpi,
> xfonts-75dpi, msttcorefonts [for shame!], gsfonts-x11, &c.,
> but emacs22 finds roughly zilch.
I had occasion to reboot, and now everything works fine. Any ideas about /that/? -- Best wishes, Max Hyre

Date: Wed, 05 Sep 2007 15:13:31 -0400 From: Phill Atwood <me@phillatwood.name> To: debian-user@lists.debian.org Subject: unable to install Dell Photo Printer 720 Message-Id: <1189019611.8673.5.camel@goonyam.goonyam.local> Content-Type: text/plain Content-Transfer-Encoding: 7bit This what I did: - downloaded the driver. The Dell 720 is a rebranding of Lexmark and RedHat has a package for the driver. - I untarred the tarball - used alien to create .deb files - used dpkg -i to install the .deb files - used "Add a Printer" - it detected my printer USB port but could not offer me the z600* driver I'm using etch and gnome. Anybody have success installing this printer? Phill End of debian-user-digest Digest V2007 Issue #2317 ************************************************** Received on Wed Sep 5 15:35:42 2007

Do you need help?X

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:54:28 EDT


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