Re: [gentoo-user] Sharing of wine drives between different users of same machine

2008-08-04 Thread Miika Linnapuomi
Sun, 3 Aug 2008 14:37:34 +0800
"Mark David Dumlao" <[EMAIL PROTECTED]> wrote:

> After an (in?)convenient crash of a particular operating system which
> I have dual-booted with Gentoo for a while; I am going to reinstall
> it. My main issue though, for that particular operating system is
> that the shared c_drive of different wine users was shared there, and
> it annoys me that certain games now need some reinstalling
> (fortunately, the save files are in a safe place).
> 
> Well since I'm going to go and do something a bit tedious anyway, I
> might as well do it right.
> 
> I was wondering what strategies you guys use for sharing wine drives
> between different users. I have 3 kids using the same box for games;
> wine was one of the main features of using that box. I have
> previously done some of the following:
> (1) Everyone's .wine -> c:\wine (ntfs drive)
> which makes some sense, but the bad thing is that usernames are
> preserved across users.
> (2) Everyone's c_drive -> c:\wine (ntfs drive)
> Which also makes some sense, but I wonder if registry issues that are
> user specific point to the wrong places.
> (3) Everyone's program files -> c:\wine (ntfs drive)
> Which does solve the issue of saving space; but the problem is that
> registry entries from installing programs don't get shared.
> 
> What's the proper way to multi-seat wine to make it behave like a
> multi-user Windows environment?


Making the users 'sudo wine' to a specific user might work nicely, or
setuid wine to always run as that user. Not really multi-user, and
I haven't actually tried either so there might be issues...

Miika



signature.asc
Description: PGP signature


Re: [gentoo-user] The day of the living aspell

2008-07-29 Thread Miika Linnapuomi
Sun, 27 Jul 2008 23:12:52 -0700
"Andrey Falko" <[EMAIL PROTECTED]> wrote:

> On Fri, Jul 25, 2008 at 12:41 PM, Jan Seeger
> <[EMAIL PROTECTED]> wrote:
> > Greetings,
> >
> > I have recently tasted the superior spelling correction of hunspell,
> > and don't ever want to see aspell on my system again.
> >
> > To that end, I have globally disabled the spell flag. However,
> > kdelibs still seems to depend on aspell, even though I have
> > disabled the flag and even rebuild kdelibs.
> >
> > equery d aspell gives me this (and yes, I have removed the
> > dictionaries) :
> >
> > app-dicts/aspell-de-0.60_pre20030222 (>=app-text/aspell-0.60)
> > app-dicts/aspell-en-6.0.0 (>=app-text/aspell-0.60)
> > app-editors/emacs-22.2-r2 (spell? app-text/aspell)
> > kde-base/kdelibs-3.5.9-r4 (spell? >=app-text/aspell-0.60.5)
> >
> > I have disabled the spell flag globally and in package.use, did a
> > emerge --newuse, and still, kdelibs is pulling in aspell.
> >
> > So, how can I get rid of it?
> >
> > Regards,
> > Jan
> > --
> > Four bits at a time
> > www.thenybble.de
> >
> >
> 
> So after removing aspell, aspell-en and aspell-de are still show in
> equery d? This is very strange...if I remove a package, it will no
> longer be shown in equery d.can you post you emerge --info?
> 

'equery depends' shows depedencies and possible depedencies, and it
doesn't care if they're installed or not.

For example, if I've set USE=minimal for xinit so xterm won't be
pulled in:




[EMAIL PROTECTED] ~ $ equery d xterm
[ Searching for packages depending on xterm... ]
x11-apps/xinit-1.0.5-r1 (!minimal? x11-terms/xterm)
[EMAIL PROTECTED] ~ $ emerge -pv xterm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] sys-libs/libutempter-1.1.5  15 kB 
[ebuild  N] x11-apps/luit-1.0.2  USE="-debug" 97 kB 
[ebuild  N] x11-terms/xterm-235  USE="truetype unicode -Xaw3d
-paste64 -toolbar" 838 kB 

Total: 3 packages (3 new), Size of downloads: 949 kB
[EMAIL PROTECTED] ~ $ emerge -pv xinit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-apps/xinit-1.0.5-r1  USE="minimal pam -debug -hal"
105 kB 

Total: 1 package (1 reinstall), Size of downloads: 105 kB
[EMAIL PROTECTED] ~ $ 



In the aspell case, the (>=app-text/aspell-0.60) from equery means 'if
USE=spell, depend on aspell'

I hope that explains it

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] grub menu working but invisible

2008-07-18 Thread Miika Linnapuomi
Fri, 18 Jul 2008 12:47:52 +
dhk <[EMAIL PROTECTED]> wrote:

> Sebastian Günther wrote:
> > * Andrew Tchernoivanov ([EMAIL PROTECTED]) [15.07.08 01:41]:
> >> Are the characters on the screen readable?  I had this problem
> >> too, along with the black grub screen. If they aren't - try adding
> >> vga=0x31B to your grub.conf
> >>
> > Why should that help with grub? Did not found any hint, that ther
> > is a grub option called like that.
> > 
> > There is a *kernel* option, called like that, but that won't help
> > with the grub issue.
> > 
> > Please correct me if I'm wrong.
> > 
> > Sebastian
> > 
> So what is the solution to making grub visible again?  I remember
> when it changed, I didn't understand the message displayed and I
> still don't know the fix.
> 
> Running emerge --config grub doesn't work.
> 
> Is it as simple as changing the path of the splash image to 
> /usr/share/grub/ and running grub-install?
> 
> Thanks,
> Dave


Just cp /usr/share/grub/splash.xpm.gz /boot/grub/

Or you could point to it in /usr, unless if you have /usr in lvm or
something else that grub wont be able to see


Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] GRUB question

2008-06-23 Thread Miika Linnapuomi
Mon, 23 Jun 2008 17:17:31 -0400
"Matthew R. Lee" <[EMAIL PROTECTED]> wrote:

> Well I ran grub-install, but I've run into a problem.
> When I reboot the splash and menu do not appear, so I can't select
> which kernel to boot.  If I press return the the first kernel in the
> list is loaded. After a screen full of gibberish the normal list of
> processes etc intitating fill the screen until X starts.
> I've included my grub.conf below.
> Anybody know what the problem is?
> Thanks
> Matt
> 
> default 0
> 
> timeout 30
> 
> splashimage=(hd0,0) /boot/grub/splash.xpm.gz
> 
> title=Gentoo 2.6.22-r2
> 
> root (hd0,0)
> kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 
> video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]
> 
> title=Gentoo 2.6.25-r5
> 
> root (hd0,0)
> kernel /boot/kernel-2.6.25-r5 root=/dev/sda3 
> video=vesafb:mtrr,ywrap,[EMAIL PROTECTED]

Loading a non-existent splash can do that. You could try without the
splash, or with

splashimage /boot/grub/splash.xpm.gz

Thanks

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] gnucash pulls in firefox (when I already have firefox-bin)

2008-06-23 Thread Miika Linnapuomi
Mon, 23 Jun 2008 12:55:51 -0700
"Kevin O'Gorman" <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 23, 2008 at 12:39 PM, Kevin O'Gorman <[EMAIL PROTECTED]>
> wrote:
> 
> >
> > I think I mentioned I already did that.  There's a slight typo in
> > that
> >> there's an "=" before the one with a version number.
> >>
> >> ++ kevin
> >>
> >>> In fact, portage is driving me slightly nuts (or nuttier) over
> >>> this.
> >
> > When I as for --tree, I get
> >
> >
> > treat Virtual Machines # emerge -at gnucash
> >
> > These are the packages that would be merged, in reverse order:
> >
> > Calculating dependencies... done!
> > [ebuild  N] app-office/gnucash-2.2.3  USE="quotes -chipcard
> > -debug -hbci -ofx"
> > [ebuild  N]  app-doc/gnucash-docs-2.2.0
> > [ebuild  N]   gnome-extra/yelp-2.20.0  USE="-beagle -debug
> > -xulrunner" [ebuild  N]www-client/mozilla-firefox-2.0.0.14
> > USE="gnome ipv6 java -bindist -debug -filepicker -iceweasel
> > -mozdevelop -moznopango -restrict-javascript -xforms -xinerama
> > -xprint" LINGUAS="de en es fr pl -af -ar -be -bg -ca -cs -da -el
> > -en_GB -en_US -es_AR -es_ES -eu -fi -fy -fy_NL -ga -ga_IE -gu
> > -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn
> > -nn_NO -pa -pa_IN -pt -pt_BR -pt_PT -ro -ru -sk -sl -sv -sv_SE -tr
> > -uk -zh -zh_CN -zh_TW"
> >
> >
> > But when I try to find more about yelp, it denies needing it:
> > treat portage # equery -C depends  gnome-extra/yelp
> > [ Searching for packages depending on gnome-extra/yelp... ]
> > treat portage # eix yelp
> >
> > ++ kevin
> >
> > --
> > Kevin O'Gorman, PhD
> >
> 
> 
> 

Usually USE="xulrunner -firefox" is enough. In your emerge -t output,
yelp has -xulrunner, which probably is pulling in firefox

Hope that helps

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] GRUB question

2008-06-23 Thread Miika Linnapuomi
Mon, 23 Jun 2008 15:00:41 -0400
"Matthew R. Lee" <[EMAIL PROTECTED]> wrote:

> On Thursday 19 June 2008 06:07:27 dhk wrote:
> > Matthew R. Lee wrote:
> > > On Wednesday 18 June 2008 17:54:28 Florian Philipp wrote:
> > >> On Wed, 18 Jun 2008 17:34:35 -0400
> > >>
> > >> "Matthew R. Lee" <[EMAIL PROTECTED]> wrote:
> > >>> I've just compiled a new kernel. I then mounted the boot
> > >>> partition, copied the new bzimage across, along with .config
> > >>> and system.map. I then edited the grub.conf But when I reboot
> > >>> it offers me the same options as in the old grub.conf not the
> > >>> new one. I must have missed a step somewhere, but I can't think
> > >>> where. Can anyone point me in the right direction Thanks
> > >>> Matt
> > >>
> > >> Did you check whether you've really overwritten the old
> > >> grub.conf? Is the file in the right directory (/boot/grub/)? Is
> > >> there a symlink menu.lst on grub.conf?
> > >> Do you really boot from that partition?
> > >
> > > the file /boot/grub/grub.conf has the new config.
> > > menu.lst is a symlink to grub.conf
> > > /boot is the mount point for /dev/sda1 the boot partition
> > > the only thing that I changed is to replace the oldest kernel
> > > with the newest. The order shouldn't make any difference, I want
> > > the default to be my current working kernel. I want to test the
> > > new kernel before I make it the default. Point is that this setup
> > > was working previously and has done so since I started using
> > > gentoo.  I have checked to make sure that /dev/sda1 was really
> > > mounted at /boot when I copied everything across, and it was. So
> > > I don't know what has gone wrong.
> > >
> > > Matt
> >
> > Did you run grub-install?
> 
> No, and before I do, given the warnings in the manual, I want to make
> sure I don't screw up
> I have a standard partition layout with three partitions sda1 (boot)
> sda2 (swap) sda3 (the rest). sda1 is the bootable partition
> 
> So I issue the command grub-instal /dev/sda
> Correct??
> 
> Thanks
> Matt 
> 

Yes, grub-install /dev/sda should do it. Just make sure /boot is mounted


Thanks

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Ati or Nvida

2008-06-19 Thread Miika Linnapuomi
Thu, 19 Jun 2008 07:06:10 +0200
Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:

> On Thursday 19 June 2008, Nicolas Sebrecht wrote:
> > Volker Armin Hemmann <[EMAIL PROTECTED]> a écrit:
> > > ATI? Which 3d drivers are as bad as nvidia from 'obfuscation'
> > > point of view and a lot worse if you compare the horror stories?
> >
> > The point is that *this* is changing with ATI.
> 
> really? it is? and how long do you want to wait? Two years? Three?

Not as long as with Nvidia ;)


signature.asc
Description: PGP signature


Re: [gentoo-user] syslog-ng logging problem

2008-06-13 Thread Miika Linnapuomi
Sat, 14 Jun 2008 01:24:41 +0200
Erik Danielsson <[EMAIL PROTECTED]> wrote:

> Hello!
> 
> I'm unable to get the logging up and running as it should.
> I've tried syslog-ng, which seems to be pretty much what I need, but
> it keeps spamming my logs with a weird error message I can't seem to
> figure out.
> 
> It fills the logs with
> 
> "syslog-ng[9533]: Error opening file for writing;
> filename='/dev/tty12', error='Permission denied (13)'"
> 
> and never stops. It pushes the CPU usage up to almost 100% as well.
> 
> What's going on?
> 
> Best wishes
> Erik

Unsure why it would use 100% cpu, but check that /dev/tty12 exists and
is writable by root. Or you could just remove references to /dev/tty12
in /etc/syslog-ng/syslog-ng.conf

Thanks

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Problem with modifying PATH with a file in env.d

2008-06-01 Thread Miika Linnapuomi
Sun, 01 Jun 2008 08:58:07 +0200
Marc Blumentritt <[EMAIL PROTECTED]> wrote:

> I just stumbled about something new:
> 
> [EMAIL PROTECTED] ~ $ echo $PATH
> /usr/local/sbin/:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:
> /opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:
> /usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/bblinks
> [EMAIL PROTECTED] ~ $ sudo -i
> hive ~ # echo $PATH
> /root/tools:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
> /usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.17/bin:
> /opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
> 
> My standard user (marc) has now /bblinks in his PATH, but not root?
> Any idea why this is happens?
> 
> Marc
> 

If you look in /etc/profile, you will see that root path is set to
$ROOTPATH, not $PATH, so root gets */sbin. To get /bblinks for root
too, add ROOTPATH="/bblinks"

Hope that helps

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg and optowheel

2008-05-25 Thread Miika Linnapuomi
Sun, 25 May 2008 15:45:52 +0400
Andrew Gaydenko <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> Has anybody tips how to configure xorg to use horizontal scrolling 
> supplied by Genius optical scroll mouse (Genius OptoWheel Traveler
> 355 Laser)?

If you've got INPUT_DEVICES="evdev", modify your xorg.conf to use evdev
for the mouse (man 4 evdev), which should enable them for you

http://gentoo-wiki.com/HOWTO_Advanced_Mouse might also help


signature.asc
Description: PGP signature


Re: [gentoo-user] df showing rootfs

2008-05-13 Thread Miika Linnapuomi
Sun, 11 May 2008 23:53:19 +0100
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Mon, 12 May 2008 01:05:56 +0300, Daniel Iliev wrote:
> 
> > So, please, check what your /etc/fstab reads about "/" in case you
> > have accidentally overwritten it by answering "yes" to etc-update or
> > dispatch-conf.
> 
> That's not it. I also get the two odd entries for / with no change to
> fstab. /dev/root is a symlink to the actual block device, with no
> obvious culprit in the udev rules.
> 
> 

Actually its relatively obvious, but its a 'dynamic' rule
in /lib/udev/write_root_link_rule, that
creates /dev/.udev/rules.d/10-root-link.rules


signature.asc
Description: PGP signature