Linux-Misc Digest #112, Volume #28               Fri, 15 Jun 01 06:13:02 EDT

Contents:
  Re: gtk-config (Debian User)
  Re: localhost.localdomain (David Efflandt)
  Re: Linux X goes away??? (J Sloan)
  need module alias name ("D. Stimits")
  Re: rmmod output to syslog (Miasmal)
  HP Photosmart under Linux? (Leonard Evens)
  Trying to get Epson 1640 Photo working under Linux and sane (Leonard Evens)
  Re: is WINE super slow? (fred smith)
  acces to log files as nonroot (Stefan Rauch)
  Re: RH 7.1 and GeForce ("Maximus Idius2")
  Re: ide-tape.o errors.  Thank you!! (Leonard Evens)
  Re: I want the numlock on! (Dan Christensen)
  Re: Announce: CNCC -- Color Name Combination Center (David Peter)
  Re: rc.local part 2. (Floyd Davidson)
  4DOS-like cd in a linux shell (Sune Trudslev)
  comparing two installations, rpm, libs etc. (Christoph Kukulies)
  Re: Give man fish......... (Gerald Willmann)

----------------------------------------------------------------------------

From: Debian User <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.debian.user
Subject: Re: gtk-config
Date: Thu, 14 Jun 2001 23:09:31 -0500

Try

$ cd /
$ find -name gtk-config

FYI, Today I happened to install gtk+ using dselect in potato.  Everything is
working fine and I was able to compile simple apps from the tutorial.

Wroot wrote:

> Hi
>
> My question is Debian-specific.
>
> I'm trying to install gnapster, but ./configure fails (can't find gtk-config)
> Somebody told me that gtk-config is in libgtk*. I tried installing libgtk1.2,
> libgtk-dev and libgtk1.2-dev with
> apt-get install libgtk1.2
> apt-get install libgtk-dev
> apt-get install libgtk1.2-dev
>
> but all of these fail because of unresolvable dependencies:
>
> For example:
>
> $ apt-get install libgtk1.2-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> Sorry, but the following packages have unmet dependencies:
>   gnapster: Depends: gdk-imlib1 (>= 1.9.10-3) but 1.9.8-4 is to be installed
>             Depends: libart2 (>= 1.2.13-6) but 1.0.56-3 is to be installed
>             Depends: libc6 (>= 2.2.3-1) but 2.1.3-18 is to be installed
>             Depends: libdb3 (>= 3.2.9-1) but it is not installable
>             Depends: libesd0 (>= 0.2.22-4) or
>                      libesd-alsa0 (>= 0.2.22-4) but it is not going to be installed
>             Depends: libgnome32 (>= 1.2.13-6) but 1.0.56-3 is to be installed
>             Depends: libgnomesupport0 (>= 1.2.13-6) but 1.0.56-3 is to be installed
>             Depends: libgnomeui32 (>= 1.2.13-6) but 1.0.56-3 is to be installed
>             Depends: libgnorba27 (>= 1.2.13-6) but 1.0.56-3 is to be installed
>             Depends: libgtk1.2 (>= 1.2.10-1) but 1.2.7-1 is to be installed
>             Depends: liborbit0 (>= 0.5.8) but 0.5.0-5 is to be installed
>             Depends: xlibs (> 4.0.3) but it is not installable
>   libgtk1.2-dev: Depends: libglib1.2-dev but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a 
>solution).
>
> Is this a bug in the packaging of Potato?
>
> Wroot


------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: localhost.localdomain
Date: Fri, 15 Jun 2001 04:45:09 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Thu, 14 Jun 2001, Robert_L <[EMAIL PROTECTED]> wrote:
> David Efflandt wrote:
> 
>> On Thu, 14 Jun 2001 05:23:09 +1000, karl <[EMAIL PROTECTED]> wrote:
>>> On Thu, 14 Jun 2001, Dave wrote:
>>>>Can I change these names to something cooler, or will it corrupt the
>>>>dummy interface in Red Hat Linux?
>>>>
>>>>Ta!
>>>>
>>>>dave.
>>> From a terminal as root type
>>> hostname [your new hostname]
>>> thats it.
>> 
>> Not quite.  That may change it temporarily.  But many systems have
>> initscripts that will change it back when you boot, so you might need to
>> modify those settings.  And if you do any networking, you need an IP for
>> it in /etc/hosts.  It is probably best NOT to change the name of the
>> 127.0.0.1 loopback IP, but you can use the IP of any nic, or any other
>> loopback IP (like 127.0.0.2) especially if the interface with that name
>> is not always up (like the internet name for ppp IP).
>> 
>> --
>> David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
>> http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
>> http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/
>> 
> Hi,
> When I tried this tip none of my apps would launch so I had to change it back.
> Sorry, don't remember the error messages, something about not being able to 
> connect to the (server?).  I used the format somename.somename.  Obviously on 
> my system localhost.localdomain is important and running host newhostname 
> screws things up.  How would I change the hostname without this happening?

So do it from the console not from X, or if you do it when running X, use
xhost to allow your new hostname to connect to the xserver.  You might 
also need to restart any other services that rely on your hostname, or in 
the Windows tradition, just reboot.

-- 
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

------------------------------

From: J Sloan <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.questions,comp.os.linux.x,linux.redhat.install,linux.redhat.misc
Subject: Re: Linux X goes away???
Date: Fri, 15 Jun 2001 04:47:43 GMT

JT wrote:

> bzzt, wrong reply! You loose. Being a newbie, I'm sure the first time you
> installed Linux, you  decide to re-install yourself one time or another.

Nope, I never, even as a newbie, reinstalled Unix
to address configuration issues..

Reinstalling Linux for those reasons is a losing
proposition for 2 reasons:

1. You learn nothing about the problem
2. Reinstalling most likely doesn't fix it anyway.

cu

jjs


------------------------------

Date: Thu, 14 Jun 2001 23:59:17 -0600
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: need module alias name

I have a 2.4.x kernel, with the following modules for a joystick:
joydev
gameport
ns558
analog

I've added the following to /etc/modules.conf so I can simply run
"modprobe analog" and ahve it install all related modules:
pre-install analog /sbin/modprobe ns558
pre-install ns558 /sbin/modprobe gameport
pre-install gameport /sbin/modprobe joydev

What I'm having a problem with, despite having the kerneld running for
module autoloading, is that I must still manually modprobe analog for it
to work. If /dev/js0 (a sym link to /dev/input/js0) is accessed, is
there an alias I can add to modules.conf which will allow it to
autoload? I don't see any messages in /var/log/messages, so I have no
clue what it wants...is there an alias or other name I can alias to
"analog" to get it to autoload?

D. Stimits, [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Miasmal)
Subject: Re: rmmod output to syslog
Date: 14 Jun 2001 18:27:09 -0400

In article <[EMAIL PROTECTED]>,
Martin Lichtin  <[EMAIL PROTECTED]> wrote:
>> Cron job "rmmod -as" fills up /var/log/messages.  How can I stop it
>> from writing to the syslog?
>
>Try changing the cron command to
>
>       rmmod -a >/dev/null 2>&1


I put that in and now the cron job says:

 <snip> CROND[11191]: (root) CMD (   /sbin/rmmod -a >/dev/null 2>&1)

There appears to be 2 instances of rmmod running.  One is in cron.d
under the file "kmod" and another is via "crontab -u root -e".
Should I one of the cron jobs?
-- 
--          .          John Kutsuzawa, CFII // '94 Columbia Univ. ME  //
   .________|________. Commercial Pilot, Certified Flight Instructor //
        --\(*)/--      miasmal+pabraw+wyatt of Epic // (N07) (HYW)  //
          o/ \o        <a href="http://www.nic.com/~miasmal";>homepage</a>

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: redhat.general,comp.periphs.scanners
Subject: HP Photosmart under Linux?
Date: Fri, 15 Jun 2001 02:17:34 -0500

The original scsi HP Photosmart is supposedly supported by by
sane, but the newer usb HP Photosmart is not according to
the linux-usb web page.  Has anyone made any progress on this
matter?
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: redhat.general,comp.periphs.scanners
Subject: Trying to get Epson 1640 Photo working under Linux and sane
Date: Fri, 15 Jun 2001 02:14:53 -0500

I've been fiddling to get my Epson 1640 Photo working under
RedHat 7.1 using Sane.  With some effort I induced the
scanner module to load with the appropriate vendor/product
code, and scanimage -T finds the scanner and it passes the tests.
xsane seems to hang no matter what I do.  When I run xscanimage
with the appropriate devicename, it complains I need to run it
as a plugin to gimp, but a gui interface comes up which seems
to allow me to scan with various options.  But it doesn't seem
to have options for the transparency adapter, although I
didn't have it attached at the time, and that might make a
difference.

If anyone else has some experience with this scanner under Linux,
please give me some clues about how to proceed.  It should be
very much like the 1240 Photo, so advice based on that scanner
should be helpful.


-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: is WINE super slow?
Date: Fri, 15 Jun 2001 00:02:29 GMT

Dances With Crows <[EMAIL PROTECTED]> wrote:
: On Wed, 13 Jun 2001 11:30:40 -0400, Marc Ulrich staggered into the Black
: Sun and said:
:>I installed Corel's photopaint 9 (b/c I'm used to corel & think it is
:>easier than the Gimp) for linux on my Redhat 7.0 / 2.4.2 kernel.
:>However, the windowing runs extremely slowly (meaning dialog boxes,
:>menus, etc.) Is this a standard problem with the WINE or is it possibly
:>something in photopaint? My system is a Pentium III 800Mhz running
:>XFree86 4.0.3 on a Matrox G400 dualhead, 32MB.

: ...er, hang on.  Is this Photopaint for 'Doze running under Wine, or is
: this a Linux binary of Photopaint?  If it's a non-native binary under
: Wine, things will run very slowly no matter what you do, though you can
: tweak some things in ~/.wine/config to try and speed stuff up.

Corel's Photopaint 9 for Linux is  WineLib application (as also is their
WordPerfect Office 9, andin fact parts of Borland's Kylix, and several
other commercial packages). As a result it may be a little slower than
something compiled natively, but hte porting is said to be vastly
easier. One of the problems I see with such apps is that if they don't
put in some diligence you find it referring to drives by A:, C:, etc.,
instead of names that make sense on Linux.

On my PIII/450 (192mb RAM) it seems to run tolerably well though 
opening and closing windows isn't lightining-fast. ISTR that on my
old K6-2/350 it was noticeably more sluggish.

On the old PentiumPro at work it's a dog. But then so is everything else.

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
                       I can do all things through Christ 
                              who strengthens me.
============================== Philippians 4:13 ===============================

------------------------------

From: Stefan Rauch <[EMAIL PROTECTED]>
Subject: acces to log files as nonroot
Date: Fri, 15 Jun 2001 09:25:27 +0200


Hi,
I'm using a viewer, that shows me some logfiles (/var/log/messages) on the 
background of my desktop (like root-tail). Therefore I have to set the 
read-bit for others (instead of -rw-r----- I us -rw-r--r--). But there is a 
cronjob running on SuSE, that zips that file from time to time. After that 
cronjob, the accesrights are set to -rw-r----- again.
Where can I change this behaviour?
-- 
best regards

Stefan Rauch <[EMAIL PROTECTED]>
PGP: http://www.stefan-rauch.de/public.asc

------------------------------

From: "Maximus Idius2" <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 and GeForce
Date: Fri, 15 Jun 2001 16:54:55 +0900

It may be your monitor too. Try Test this settings, although I must admit
that
even a successful test does not guarantee the result as the test.

One more thing comes to mind is the frequency. If you can lower the
frequency,
say, vertical to 60HZ, which is almost the standard, then things mght be ok.

Not sure if this may help.

Best Regards,

max

--


"Ron Nicholls" <[EMAIL PROTECTED]> wrote in message
news:_51W6.4$[EMAIL PROTECTED]...
> I chose the same res and I get no desktop icons
> and no rmb popup menu and a message that "gmc"
> I think, has crashed-segment fault
>
> Something is going on.
>
> --
> -
> -
> Regards
> RonN
> Maximus Idius <[EMAIL PROTECTED]> wrote in message
> news:9g7ica$j1k$[EMAIL PROTECTED]...
> > it works.
> >
> > I have Asus CUSL2 and Winfast GeForce 2MX- 32mb.
> >
> > I choose resolution of 1260x768, with gnome.
> >
> > Hope this may help.
> >
> > max idius
> >
> > --
> > "faeychyld" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Has anyone installed RH7 with a Geforce 2MX
> > > card.
> > >
> > > I find that the  resolution
> > > I select determines whether I get icons
> > > or a gnome panel,and definately NO desktop
> > > popup menus ( rmb).
> > >
> > > This is with the default install desktop
> > > (sawfish I think).
> > >
> > > Oddly enough, the desktop with icons and gnome
> > > panel is intact during the Xconfigurator test,
> > > but when X finaly starts, thing go wrong.
> > >
> > > --
> > > -
> > > -
> > > -
> > > Regards F
> >
>
>



------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,comp.os.linux.hardware,comp.os.linux.questions,redhat.general
Subject: Re: ide-tape.o errors.  Thank you!!
Date: Fri, 15 Jun 2001 02:59:30 -0500

Denis Leroy wrote:

> The solution is to use the device in SCSI emulation mode, it'll work just fine.
> 
>  modprobe ide-scsi
>  modprobe st
> 
> drive is now available as /dev/st0 and /dev/nst0
> 
> -denis

The first time I tried it, I got a "no such device response".
I noticed that the ide-tape module was loaded, so I removed
it, but that didn't help.  Finally, I removed the ide-scsi
and st modules and reloaded them.  Then it worked.  Or at
least I was able to do mt status and tar tvzf

Now I have to figure out the most effective way of making sure
the ide-tape module is not loaded to start and then to load the
other modules.

Although this is an effective workaround, someone should fix
the ide-tape module.  It worked fine up to kernel 2.2.14.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: Dan Christensen <[EMAIL PROTECTED]>
Subject: Re: I want the numlock on!
Date: Fri, 15 Jun 2001 09:01:32 +0200

Joel wrote:

> How can I set up linux so that the numlock is always on by default?  It is
> turned on by the BIOS, but then the kernel turns it off.  Also, when I
> turn it on, if I switch to a different virtual terminal (Ctrl+Alt+F?, what
> are
> these called?), it goes off again.  Is it a setting in the kernel when
> it's
> built?  I am currently building my own distribution to fit my likings, so
> I will need to download any programs.
> Thanks in advance.
> 
> 
> 
try numlockx find it at www.freshmeat.net
-- 
Best regards/Med venlig hilsen
Dan Christensen
icq#2778293
Powered by SuSE Linux 7.1 professional

------------------------------

Date: Fri, 15 Jun 2001 08:25:09 +0100
From: David Peter <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.tcl,comp.os.linux.x,comp.windows.x,comp.emacs
Subject: Re: Announce: CNCC -- Color Name Combination Center

See also xcolorsel (ca. 1993).

* Tong * wrote:
> 
> Hi,
> 
> Have you ever wondered what the standard X-window color names are?
> Have you been bothered by the fact that the color combination you
> picked was not what you were imaging? Then worry no more. The color
> mysteries terminator is here: the CNCC -- "Color Name Combination
> Center", my free X-window color picker.
> 
> It is a Tk based program (source release) that let you see the bg/fg
> combination effect of all colors available under the X window system
> -- very easily. The color names are taken from $XConsortium:
> rgb.txt,v 10.41 94/02/20 18:39:36, which is standard across all
> major Unix and Linux platforms.
> 
> Get your xterm a colorful look now, or emacs or anything that you
> face everyday. No trial-and-error is needed any more with the help
> of CNCC.
> 
> Enjoy it.
> 
> screen shot:
> http://xpt.sourceforge.net/tools/crossplatform/color_name.gif
> 
> Download:
> http://xpt.sourceforge.net/tools/crossplatform/index.htm
> 
> --
> Tong (remove underscore(s) to reply)
>   *niX Power Tools Project: http://xpt.sourceforge.net/
>   http://members.xoom.com/suntong001/
>   - All free contribution & collection

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: rc.local part 2.
Date: 14 Jun 2001 23:46:50 -0800

"Liverpool_fc" <[EMAIL PROTECTED]> wrote:
>hello,
>
>i put this line at the bottom of rc.local.
>cp /etc/termcap /home/cpu1/filename
>when i rebooted it did not do the copy.
>this is rh7.0.

You probably need to use the full path name for cp, because
most likely PATH is undefined at that point for that user.

That is a basic lesson to learn for all automatic scripts,
whether they are boot scripts or cron jobs.  Do not assume
that your login shell environment is available when the
script is run.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Sune Trudslev)
Subject: 4DOS-like cd in a linux shell
Date: 15 Jun 2001 02:28:47 -0700

Hello there,


I am new to linux and I have been using DOS since the beginning of
time with 4DOS as a shell.

So I am very used to being able to change directory by typing the
directory name and end with a backslash, and the the shell will change
to that directory.


I was wondering if anybody knew of a shell under linux that can do
this. I can use filename completion to actually get the directory name
under bash, but it just complains that it's a directory.


TIA!


Regards,

Sune Trudslev
Linux-newbie.. ;-)

------------------------------

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: comparing two installations, rpm, libs etc.
Date: 15 Jun 2001 09:54:07 GMT

I have a problem that is bugging me now for a couple of
days. An application is behaving differently on two machines 
which should behave in the same manner but don't.

I suspect the problem is runtime library related or one of the involved
components (amd, nfs, yp) are differing between the machines.

How can I compare the two machines (both having RH 6.1 w/ patches installed).

First I'm thinking of generating a listing from rpm packages
that are installed. second I'm thinking of comparing shared libraries.

Any ideas or suggestions? 

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

------------------------------

From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Give man fish.........
Date: Fri, 15 Jun 2001 11:50:39 +0200

On Thu, 14 Jun 2001, Jeff wrote:

> Got a printer connected to a networked Win2k box.
> I want to access it via my RH7.1 machine.
>
> Where do I start?

simple, install linux on the first box, set up the printer there,
use rlpr on the second box - done
                                              Gerald


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to