[gentoo-user] Re: scrooged perl 5.10 dependencies

2009-08-31 Thread Torsten Veller
* Tim Jones :
> Alsooo, the latest stable version of perl-core/IO-Compress is actually
> 2.021, and a simple emerge perl-core/IO-Compress gives:

No, 2.021 is not stable.

Please `grep -r Compress /etc/portage /var/lib/portage/world`



[gentoo-user] scrooged perl 5.10 dependencies

2009-08-31 Thread Tim Jones
Hello list:
Okay, after latest portage sync, all these perl compression modules
have gone awry, again. The problem reported by emerge -DNu world -pv
is:

emerge: there are no ebuilds to satisfy "~dev-lang/perl-5.10.1".
(dependency required by "virtual/perl-IO-Compress-2.020" [installed])
(dependency required by "world" [argument])

And in my latest sync, it seems emerge is not lying, there really is
no ebuild for perl-5.10, masked or not.

Actually peeking at the ebuild for virtual/perl-IO-Compress-2.020 shows:

RDEPEND="|| ( ~dev-lang/perl-5.10.1 ~perl-core/IO-Compress-${PV} )"

which, as I understand, makes the ebuild depend upon either of those
packages (though I'm not sure what the ~ means in that context).
Also, I already have perl-core/IO-Compress-2.020, what?!
Alsooo, the latest stable version of perl-core/IO-Compress is actually
2.021, and a simple emerge perl-core/IO-Compress gives:

!!! All ebuilds that could satisfy
">=virtual/perl-Compress-Raw-Zlib-2.021" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/perl-Compress-Raw-Zlib-2.021 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "perl-core/IO-Compress-2.021" [ebuild])
(dependency required by "perl-core/IO-Compress" [argument])

I blindly tried perl-cleaner reallyall, which rebuilt some modules,
but didn't help the current conundrum.
I don't see any related bugs, and latest entries in the relevant
ebuilds' changelogs are dated 8/26 (though I'm not sure if thats the
same day the new ebuild made it into portage), and I'm still a
relatively young gentoo user, so I'm assuming something is wrong on my
end... but I'm getting frustrated with these perl compression
modules... in my few months as a user, they've caused several problems
for portage. Any thoughts or suggestions?



Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Paul Hartman
On Mon, Aug 31, 2009 at 9:58 PM, Paul
Hartman wrote:
> On Mon, Aug 31, 2009 at 6:47 PM, Stroller 
> wrote:
>> Reformat the USB memory stick NTFS.
>
> I format mine as ext3 and use ext3 drivers on Windows :)

Oops, I meant to say ext2



Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Paul Hartman
On Mon, Aug 31, 2009 at 6:47 PM, Stroller wrote:
> Reformat the USB memory stick NTFS.

I format mine as ext3 and use ext3 drivers on Windows :)

One not about reformatting anything other than FAT: if he wants to use
non-PC devices, they are almost always FAT-only (example, a car radio,
TV, Xbox 360, etc)



Re: [gentoo-user] moc on gentoo give me strange sound

2009-08-31 Thread Xi Shen
I think anything I got by BT is copy free, isn't it?
anyway, i have copied them a lot to my friend.


On Tue, Sep 1, 2009 at 1:40 AM, Mick wrote:
> On Monday 31 August 2009, Xi Shen wrote:
>> I d/l it by BT, so I do not think it is DRM'd. And I can enjoy that
>> mp3 file at windows.
>
> MSWindows industrialised DRM on behalf of the music and film production
> industries, so you can't compare that with OSS.  I think Stroller was
> over-enthusiastic with the dashes:  try -identify with one "-" only, or
> alternative for maximum verbosity try:
>
> -msglevel identify=6
>
> HTH.
> --
> Regards,
> Mick
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] Re: moc on gentoo give me strange sound

2009-08-31 Thread Xi Shen
yes, the problem exists to all mp3 files.

i will try your USE flags, thanks.


On Tue, Sep 1, 2009 at 1:38 AM, Nikos Chantziaras wrote:
> On 08/31/2009 03:58 PM, Xi Shen wrote:
>>
>> I have just emerged moc, and was trying to play a mp3 music which
>> works fine on windows. But on my gentoo, it gives me some strange
>> sound. It looks like moc is not using the correct codec. How can I fix
>> this?
>
> Does it have that problem with all mp3 files, or just this one?  If you try
> to emerge moc with the "ffmpeg" USE flag set and the "mad" flag unset, does
> it still happen?
>
>
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox

2009-08-31 Thread Nikos Chantziaras

On 09/01/2009 03:00 AM, Stroller wrote:


On 31 Aug 2009, at 18:15, Nikos Chantziaras wrote:


On 08/31/2009 05:00 PM, 7v5w7go9ub0o wrote:

Nikos Chantziaras wrote:

On 08/30/2009 10:59 PM, 7v5w7go9ub0o wrote:

64bit Linux, AFAICT, does not yet play .mov files


They play fine here.


Are you able to drag a link from this page:
 and play it on
mplayer?


No. Those are reference files (only a few kB big), not the real *.mov
files.


`mplayer -playlist /path/to/reference-file.mov` might be worth a go.


Apple's server doesn't allow access to the actual movies (if you try to 
open the URL to the real *.mov file, you get redirected to some movie 
ads page).  I guess it checks for the QuickTime player's user agent.


So I can't try to test if those *.mov files play OK here since I can't 
even get to them.





Re: [gentoo-user] Re: How to play quicktime (*.mov) videos with firefox

2009-08-31 Thread Stroller


On 31 Aug 2009, at 18:15, Nikos Chantziaras wrote:


On 08/31/2009 05:00 PM, 7v5w7go9ub0o wrote:

Nikos Chantziaras wrote:

On 08/30/2009 10:59 PM, 7v5w7go9ub0o wrote:

64bit Linux, AFAICT, does not yet play .mov files


They play fine here.


Are you able to drag a link from this page:
  and play  
it on

mplayer?


No.  Those are reference files (only a few kB big), not the real  
*.mov files.


`mplayer -playlist /path/to/reference-file.mov` might be worth a go.

Stroller.




Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Stroller


On 31 Aug 2009, at 22:40, Alan McKinnon wrote:

...
When I mount a SD memory card on my laptop, the format is NTFS and  
I am
not able to write. Is there a way to write to it and still be  
compatible

with Windows OS?


use ntfs-ng which has write support and do not mount it o=ro


What he said.


Similarly when using a USB memory stick, the format is VFAT and I am
also not able write. Is it possible to write and still preserver
compatibility with Windows OS?


Reformat the USB memory stick NTFS.

Stroller.




Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Keith Dart
=== On Mon, 08/31, Paul Hartman wrote: ===
> Sure, it works fine for me using vfat. Be sure it's not mounted
> read-only, and be sure the write-protect switch on the device is not
> enabled. You may want to mount with the check=relaxed option to make
> file accesses case-insensitive (since FAT is not case sensitive
> itself).

===

Also use the user= option so the files and directories on it are "owned"
by the you, the non-root user. 


-- Keith Dart

-- 
-- 
Keith Dart

===



Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Paul Hartman
On Mon, Aug 31, 2009 at 3:59 PM, Valmor de Almeida wrote:
>
> Hello,
>
> When I mount a SD memory card on my laptop, the format is NTFS and I am
> not able to write. Is there a way to write to it and still be compatible
> with Windows OS?

Yes, you can emerge sys-fs/ntfs3g and mount using the "ntfs-3g"
command for fast read/write NTFS operations. JFGI or RTFM for more
details. :)

> Similarly when using a USB memory stick, the format is VFAT and I am
> also not able write. Is it possible to write and still preserver
> compatibility with Windows OS?

Sure, it works fine for me using vfat. Be sure it's not mounted
read-only, and be sure the write-protect switch on the device is not
enabled. You may want to mount with the check=relaxed option to make
file accesses case-insensitive (since FAT is not case sensitive
itself).

Also, in both cases, be sure the drive was properly unmounted in
Windows (click "Safely Remove Hardware" before unplugging). If the
disk is dirty (requires chkdsk), linux may see it as read-only in
those cases to avoid doing any further damage.

Good luck :)



Re: [gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Alan McKinnon
On Monday 31 August 2009 22:59:46 Valmor de Almeida wrote:
> Hello,
>
> When I mount a SD memory card on my laptop, the format is NTFS and I am
> not able to write. Is there a way to write to it and still be compatible
> with Windows OS?

use ntfs-ng which has write support and do not mount it o=ro

> Similarly when using a USB memory stick, the format is VFAT and I am
> also not able write. Is it possible to write and still preserver
> compatibility with Windows OS?

use vfat and do not mount it o=ro

Google is your friend. If reckon you'll find about a million hits with a half 
decent search string


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Do I need dev-libs/libmimedir?

2009-08-31 Thread Mick
On Monday 31 August 2009, Alan McKinnon wrote:
> On Monday 31 August 2009 20:04:06 Mick wrote:
> > Hi All,
> >
> > Not sure if I should trust qdepends or equery:
> >
> > # qdepends dev-libs/libmimedir
> > dev-libs/libmimedir-0.4: sys-devel/flex sys-devel/bison
> > =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool
> >
> > # equery depends dev-libs/libmimedir
> > [ Searching for packages depending on dev-libs/libmimedir... ]
> >
> > What would you advise?
>
> Both, as the commands you ran do entirely different things.
>
> qdepends shows what a package depends on.
> equery depends shows what depends on a package.

Thanks!

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] keyboard copy paste

2009-08-31 Thread Mike Kazantsev
On Sun, 30 Aug 2009 11:13:02 -0500
Harry Putnam  wrote:

> Now I want to paste whats on the clipboard into an Xterm cmd line,
> without going to the mouse.
> 
> I'm running recent Xfce4 desktop... but not finding a way to do this.
> 
> Can I just steal whatever events happen when middle click on three
> button mouse and put them into a keyboard shortcut?
> 
> How might I do that?

Shift+Ins is indeed a way, but not applicable in some cases (like
pasting into x-only app, say, field in a browser) and 'middle-mouse'
buffer is quite volatile, so I have a shortcut in wm (on Super+V)
which does this:

  xclip -out -selection primary | xclip -in -selection clipboard

After that, Ctrl+V will insert 'middle-mouse' stuff into any app.

Same xclip app is a great way to avoid the mouse (or touchpad) in many
cases, especially to copy-paste long command outputs - you just pipe it
into xclip (or it's alias w/ appropriate buffer pre-set) and paste where
it's needed.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] using SanDisk Ultra SDHC or USB memory stick

2009-08-31 Thread Valmor de Almeida

Hello,

When I mount a SD memory card on my laptop, the format is NTFS and I am
not able to write. Is there a way to write to it and still be compatible
with Windows OS?

Similarly when using a USB memory stick, the format is VFAT and I am
also not able write. Is it possible to write and still preserver
compatibility with Windows OS?

Thanks,

--
Valmor



Re: [gentoo-user] mpd issues

2009-08-31 Thread Joshua Murphy
On Mon, Aug 31, 2009 at 1:11 PM, Maxim Wexler wrote:
> Hi group,
>
> This is too baffling to get my head around, I hope someone can explain it to 
> me:
>
> mpd is set to run in the default level but if you want to update the
> database mpd must first be stopped! Then to top it off, it doesn't
> have to be restarted to run the client, ncmpcpp in my case.
>
> So what does mpd do if it's not required for these two essential tasks?
>
> Maxim
>
>

Firstly, to update the database directly, using the daemon's command
line options themselves, yes you need to restart it. The same, as has
been mentioned by others, is not true when updating the database
through a client. Clients don't manipulate *any* of MPDs system
directly, they all do so through the server/client set of commands it
provides (which includes the ability to update the database for a
running daemon). The clients also don't require a running server
process on the local system to run for the simple fact that it's a
server/client system and the server does not have to be local. To be
of any use, however, the clients have to be connected to a running MPD
server *somewhere*. Clients don't themselves play music or anything
else, they merely send commands to the daemon that, then, carries out
those commands.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] mpd issues

2009-08-31 Thread Alan McKinnon
On Monday 31 August 2009 21:55:41 Maxim Wexler wrote:
> So I oughta be able just to #rc-update del mpd, since I don't need(or
> can't even use ) it as long as the client has permission to access the
> files under /var?

No. mpd clients tell the mpd daemon to reindex itself, it then does that and 
sends an updated list back to the client.

The mod daemon must run. Just because there's no command line switch to get it 
to reindex on the fly doesn't mean it can't do it or it does not need to run.




>
> On 8/31/09, Greg Fitzgerald  wrote:
> > On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
> >> Hi group,
> >>
> >> This is too baffling to get my head around, I hope someone can explain
> >> it to me:
> >>
> >> mpd is set to run in the default level but if you want to update the
> >> database mpd must first be stopped! Then to top it off, it doesn't
> >> have to be restarted to run the client, ncmpcpp in my case.
> >>
> >> So what does mpd do if it's not required for these two essential tasks?
> >>
> >> Maxim
> >
> > Most clients that I have used, ncmpc, mpc, gmpc, all have support to
> > update the database within the client without restarting the daemon. For
> > example mpc update will do just that.
> >
> > Greg

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mpd issues

2009-08-31 Thread Greg Fitzgerald
On Mon, Aug 31, 2009 at 01:55:41PM -0600, Maxim Wexler wrote:
> So I oughta be able just to #rc-update del mpd, since I don't need(or
> can't even use ) it as long as the client has permission to access the
> files under /var?

No, you still need the daemon running or clients will not be able to
connect. The update command is sent to the daemon and tells it to rehash
its database. 

-- 
Greg Fitzgerald



Re: [gentoo-user] mpd issues

2009-08-31 Thread Maxim Wexler
So I oughta be able just to #rc-update del mpd, since I don't need(or
can't even use ) it as long as the client has permission to access the
files under /var?

On 8/31/09, Greg Fitzgerald  wrote:
> On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
>> Hi group,
>>
>> This is too baffling to get my head around, I hope someone can explain it
>> to me:
>>
>> mpd is set to run in the default level but if you want to update the
>> database mpd must first be stopped! Then to top it off, it doesn't
>> have to be restarted to run the client, ncmpcpp in my case.
>>
>> So what does mpd do if it's not required for these two essential tasks?
>>
>> Maxim
>
> Most clients that I have used, ncmpc, mpc, gmpc, all have support to
> update the database within the client without restarting the daemon. For
> example mpc update will do just that.
>
> Greg
>
>



Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Mick
On Monday 31 August 2009, Dirk Heinrichs wrote:
> > I see Windows users do this all the time, without any problem
> > yet. Of course, the wait a little after writing to it, but a few seconds
> > after the blinking stops seem to be enough.
>
> Usually it is, but you never know. Windows users don't have that broad
> choice of filesystems. They have NTFS and that's it, so they may know
> they're save. Linux filesystems may handle this differently, depending on
> which one you've chosen.

Nope, NTFS can't cure user stupidity.  Only a couple of days ago a friend at 
work was reprimanded for not clicking on "safely remove", or whatever it's 
called in WinXP, after I used photorec to recover 350 photographs that she 
managed to 'lose' from her USB stick.

I bet she won't remove another USB drive without unmounting first in a 
haste ...  ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Do I need dev-libs/libmimedir?

2009-08-31 Thread Alan McKinnon
On Monday 31 August 2009 20:04:06 Mick wrote:
> Hi All,
>
> Not sure if I should trust qdepends or equery:
>
> # qdepends dev-libs/libmimedir
> dev-libs/libmimedir-0.4: sys-devel/flex sys-devel/bison
> =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool
>
> # equery depends dev-libs/libmimedir
> [ Searching for packages depending on dev-libs/libmimedir... ]
>
> What would you advise?

Both, as the commands you ran do entirely different things.

qdepends shows what a package depends on.
equery depends shows what depends on a package.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] media-libs/alsa-lib[midi] block

2009-08-31 Thread pk
James wrote:
> For example I tried to fix by adding this line to package.use:
> media-libs/alsa-lib midi

The midi use flag is gone.

https://bugs.gentoo.org/show_bug.cgi?id=272659

http://wonkabar.org/2009/08/02/alsa-cleanup-non-optional-midi-support-cleaner-confd/

http://forums.gentoo.org/viewtopic-t-786396.html?sid=43cfe94617b1d2b85f1fd88b001d79fc

Best regards

Peter K



Re: [gentoo-user] Do I need dev-libs/libmimedir?

2009-08-31 Thread Arttu V.
On 8/31/09, Mick  wrote:
> Hi All,
>
> Not sure if I should trust qdepends or equery:
>
> # qdepends dev-libs/libmimedir
> dev-libs/libmimedir-0.4: sys-devel/flex sys-devel/bison
> =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool
>
> # equery depends dev-libs/libmimedir
> [ Searching for packages depending on dev-libs/libmimedir... ]
>
> What would you advise?

I don't use qdepends, but after a quick glimpse on its man page, you
probably have to use the -Q switch to get it to print the same
dependencies as equery depends does.

-- 
Arttu V.



Re: [gentoo-user] mpd issues

2009-08-31 Thread Greg Fitzgerald
On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
> Hi group,
> 
> This is too baffling to get my head around, I hope someone can explain it to 
> me:
> 
> mpd is set to run in the default level but if you want to update the
> database mpd must first be stopped! Then to top it off, it doesn't
> have to be restarted to run the client, ncmpcpp in my case.
> 
> So what does mpd do if it's not required for these two essential tasks?
> 
> Maxim

Most clients that I have used, ncmpc, mpc, gmpc, all have support to
update the database within the client without restarting the daemon. For
example mpc update will do just that.

Greg



[gentoo-user] Do I need dev-libs/libmimedir?

2009-08-31 Thread Mick
Hi All,

Not sure if I should trust qdepends or equery:

# qdepends dev-libs/libmimedir 
dev-libs/libmimedir-0.4: sys-devel/flex sys-devel/bison 
=sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool

# equery depends dev-libs/libmimedir
[ Searching for packages depending on dev-libs/libmimedir... ]

What would you advise?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: media-libs/alsa-lib[midi] block

2009-08-31 Thread walt

On 08/31/2009 10:27 AM, James wrote:

Hello,

I've tried everything I can to resolve this kde-4.2.x upgrade
problem. I've used sets so far to install kde 4
(kdelibs 3.5.10-r6 and 4.2.2-r1) named as
/etc/portage/sets/james-kde-4.2

But now when I try to upgrade, it fails.
(emerge -uDNvp @james-kde-4.2)


emerge: there are no ebuilds built with USE flags to satisfy
"media-libs/alsa-lib[midi]".
!!! One of the following packages is required to complete your request:
- media-libs/alsa-lib-1.0.20-r1 (Missing IUSE: midi)
- media-libs/alsa-lib-1.0.19 (Missing IUSE: midi)
- media-libs/alsa-lib-1.0.17a (Missing IUSE: midi)
(dependency required by "kde-base/kdelibs-4.2.2-r1" [installed])
(dependency required by "@james-kde-4.2" [argument])

For example I tried to fix by adding this line to package.use:
media-libs/alsa-lib midi


Did you then re-emerge alsa-lib after that change?  I believe that's
what it wants you to do before trying to update kde.





Re: [gentoo-user] moc on gentoo give me strange sound

2009-08-31 Thread Mick
On Monday 31 August 2009, Xi Shen wrote:
> I d/l it by BT, so I do not think it is DRM'd. And I can enjoy that
> mp3 file at windows.

MSWindows industrialised DRM on behalf of the music and film production 
industries, so you can't compare that with OSS.  I think Stroller was 
over-enthusiastic with the dashes:  try -identify with one "-" only, or 
alternative for maximum verbosity try:

-msglevel identify=6

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: moc on gentoo give me strange sound

2009-08-31 Thread Nikos Chantziaras

On 08/31/2009 03:58 PM, Xi Shen wrote:

I have just emerged moc, and was trying to play a mp3 music which
works fine on windows. But on my gentoo, it gives me some strange
sound. It looks like moc is not using the correct codec. How can I fix
this?


Does it have that problem with all mp3 files, or just this one?  If you 
try to emerge moc with the "ffmpeg" USE flag set and the "mad" flag 
unset, does it still happen?





[gentoo-user] media-libs/alsa-lib[midi] block

2009-08-31 Thread James
Hello,

I've tried everything I can to resolve this kde-4.2.x upgrade
problem. I've used sets so far to install kde 4 
(kdelibs 3.5.10-r6 and 4.2.2-r1) named as
/etc/portage/sets/james-kde-4.2

But now when I try to upgrade, it fails.
(emerge -uDNvp @james-kde-4.2)


emerge: there are no ebuilds built with USE flags to satisfy
"media-libs/alsa-lib[midi]".
!!! One of the following packages is required to complete your request:
- media-libs/alsa-lib-1.0.20-r1 (Missing IUSE: midi)
- media-libs/alsa-lib-1.0.19 (Missing IUSE: midi)
- media-libs/alsa-lib-1.0.17a (Missing IUSE: midi)
(dependency required by "kde-base/kdelibs-4.2.2-r1" [installed])
(dependency required by "@james-kde-4.2" [argument])

For example I tried to fix by adding this line to package.use:
media-libs/alsa-lib midi


Ideas, including moving from my chicken-scratch kde 4 install
to kde 4.3 via something cleaner, are welcome. Maybe it's alsa in the 
kernel (2.6.30-gentoo-r4) where my problem lies?


James





[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox

2009-08-31 Thread Nikos Chantziaras

On 08/31/2009 05:00 PM, 7v5w7go9ub0o wrote:

Nikos Chantziaras wrote:

On 08/30/2009 10:59 PM, 7v5w7go9ub0o wrote:

64bit Linux, AFAICT, does not yet play .mov files


They play fine here.


Are you able to drag a link from this page:
  and play it on
mplayer?


No.  Those are reference files (only a few kB big), not the real *.mov 
files.





[gentoo-user] mpd issues

2009-08-31 Thread Maxim Wexler
Hi group,

This is too baffling to get my head around, I hope someone can explain it to me:

mpd is set to run in the default level but if you want to update the
database mpd must first be stopped! Then to top it off, it doesn't
have to be restarted to run the client, ncmpcpp in my case.

So what does mpd do if it's not required for these two essential tasks?

Maxim



Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Dirk Heinrichs
Am Sonntag 30 August 2009 23:26:52 schrieb Alex Schuster:
> Jesús Guerrero writes:
> > On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote:
> > > Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster:
> > >> I have to change the bus from usb to scsi, then it works. But what
> > >> about unmounting? Is is possible to have it unmounted after I pull the
> > >> memory stick?
> > >
> > > How do want to umount something that's not there anymore? You have to
> > > umount _before_ you pull it.
> >
> > You can force the umount using -l (no, it's not documented in the man
> > page). You can use this to umount a volume *after* it has been physically
> > removed.
>
> The -l is not necessary here, a simple umount is enough.
>
> > And some people use this crap on udev rules to remove the
> > volume when they unplug the pendrive.
>
> Yes, this very rule would be nice to have :)

No, it would not. It can (and most likely will) lead to data loss.

> I do so, it makes me feel better, but I wonder whether it is _really_
> necessary.

Yes, it is. You never know when your data is written to physical storage 
unless you explicitely synced or umounted it while the device was still 
connected.

> I see Windows users do this all the time, without any problem
> yet. Of course, the wait a little after writing to it, but a few seconds
> after the blinking stops seem to be enough.

Usually it is, but you never know. Windows users don't have that broad choice 
of filesystems. They have NTFS and that's it, so they may know they're save. 
Linux filesystems may handle this differently, depending on which one you've 
chosen.

> And people are lazy, I know my
> Linux users _will_ just plug the stick. Using the KDE4 automounter, the
> device will be unmounted automatically in this case,

You mount filesystems, not devices. If you plug the device which holds the 
filesystem you've mounted, the fs can't be umounted anymore. There's nothing 
KDE automounter (aka HAL/DBUS) can do about it.

> but I am looking for a
> solution without KDE4, and as few user interaction as possible. The udev
> mouting rule is nice, but it leaves a lot of mounts when plugging in and
> out repeatedly.

Use the kernel automounter (autofs). It also umounts automatically (after a 
configurable time).

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] can I disable LINGUAGS support for a specific package?

2009-08-31 Thread Xi Shen
thanks, i got it. ;)


On Mon, Aug 31, 2009 at 9:31 PM, Frank Steinmetzger wrote:
> Am Montag, 31. August 2009 schrieb Xi Shen:
>> Hi,
>>
>> I need zh_CN on my system. But when I enable it in make.conf, I have
>> the Chinese version of man-page installed. I want to use the English
>> version. Is there a way to disable the LINGUAGS for a specific
>> package?
>
> Add linguas_code to package.use for the specific package to enable a language,
> or -linguas_code to disable it.
> --
> Gruß | Greetings | Qapla'
> LCARS - Linux Can Also Run Starships
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] moc on gentoo give me strange sound

2009-08-31 Thread Xi Shen
I d/l it by BT, so I do not think it is DRM'd. And I can enjoy that
mp3 file at windows.


On Mon, Aug 31, 2009 at 10:37 PM,
Stroller wrote:
>
> On 31 Aug 2009, at 13:58, Xi Shen wrote:
>>
>> ...
>> I have just emerged moc, and was trying to play a mp3 music which
>> works fine on windows. But on my gentoo, it gives me some strange
>> sound. It looks like moc is not using the correct codec. How can I fix
>> this?
>
> Did you create the mp3 yourself or download it? Are you sure it's not DRM'd?
>
> I'm not familiar with moc - you might try mplayer to see if it works, and
> also something like `mplayer -vo null -ao null --identify`.
>
> Stroller.
>
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



Re: [gentoo-user] moc on gentoo give me strange sound

2009-08-31 Thread Stroller


On 31 Aug 2009, at 13:58, Xi Shen wrote:

...
I have just emerged moc, and was trying to play a mp3 music which
works fine on windows. But on my gentoo, it gives me some strange
sound. It looks like moc is not using the correct codec. How can I fix
this?


Did you create the mp3 yourself or download it? Are you sure it's not  
DRM'd?


I'm not familiar with moc - you might try mplayer to see if it works,  
and also something like `mplayer -vo null -ao null --identify`.


Stroller.



Re: [gentoo-user] How to set udev rule?

2009-08-31 Thread Stroller


On 31 Aug 2009, at 06:38, Jesús Guerrero wrote:

...

I see Windows users do this all the time, without any problem
yet. Of course, the wait a little after writing to it, but a few  
seconds

after the blinking stops seem to be enough.


Lucky guys. That, or when the file is not on the drive they come back
and copy it again without you noticing it. This happens lots of times.
I've seen it and I'll continue to see it as long as users don't
understand what's going under the hood. That's what the safe removal
feature in Windows is about, it's not there just to decorate your
try, it exists for a reason.


Indeed.

Macs complain if you pull a USB drive without safely removing it  
first, and this warns users against doing it again in the future.


The problem with XP is that the "safely remove" icon is so small that  
typical users don't ever notice it, and consequently don't know any  
better. They're used to hot-plugging USB mice, keyboards & printers  
into & from their laptops, so they don't see why a USB drive should be  
any different. XP doesn't complain about a USB drive unsafely removed;  
Vista's "safely remove" is slightly more obvious (available from a  
right-click menu) but I don't know if any other improvements (IMO a  
warning is important) have been made in Vista or Windows 7.


Windows does have an option which implies immediate syncs to USB  
drives, and I'd guess that if this is selected the copy or save file  
dialogues should remain on the screen until the whole file has been  
written, thus discouraging the user from unplugging the drive mid- 
write. I'm sceptical, however.


Stroller.


[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox

2009-08-31 Thread 7v5w7go9ub0o
Nikos Chantziaras wrote:
> On 08/30/2009 10:59 PM, 7v5w7go9ub0o wrote:
>> 64bit Linux, AFAICT, does not yet play .mov files
> 
> They play fine here.
> 
> 
> 

Are you able to drag a link from this page: 
 and play it on 
mplayer?

TIA!




Re: [gentoo-user] can I disable LINGUAGS support for a specific package?

2009-08-31 Thread Frank Steinmetzger
Am Montag, 31. August 2009 schrieb Xi Shen:
> Hi,
>
> I need zh_CN on my system. But when I enable it in make.conf, I have
> the Chinese version of man-page installed. I want to use the English
> version. Is there a way to disable the LINGUAGS for a specific
> package?

Add linguas_code to package.use for the specific package to enable a language, 
or -linguas_code to disable it.
-- 
Gruß | Greetings | Qapla'
LCARS - Linux Can Also Run Starships


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: moc on gentoo give me strange sound

2009-08-31 Thread Xi Shen
and I also noticed that it plays too fast. A 3 mins song was
played in 10 sec, or so


On Mon, Aug 31, 2009 at 8:58 PM, Xi Shen wrote:
> Hi,
>
> I have just emerged moc, and was trying to play a mp3 music which
> works fine on windows. But on my gentoo, it gives me some strange
> sound. It looks like moc is not using the correct codec. How can I fix
> this?
>
>
> --
> Best Regards,
> David Shen
>
> http://twitter.com/davidshen84
>



-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



[gentoo-user] can I disable LINGUAGS support for a specific package?

2009-08-31 Thread Xi Shen
Hi,

I need zh_CN on my system. But when I enable it in make.conf, I have
the Chinese version of man-page installed. I want to use the English
version. Is there a way to disable the LINGUAGS for a specific
package?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



[gentoo-user] moc on gentoo give me strange sound

2009-08-31 Thread Xi Shen
Hi,

I have just emerged moc, and was trying to play a mp3 music which
works fine on windows. But on my gentoo, it gives me some strange
sound. It looks like moc is not using the correct codec. How can I fix
this?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84



[gentoo-user] failed to setup awesome+scim

2009-08-31 Thread Xi Shen
Hi,

Has anybody successfully setup scim on awesome? After I emerged the
scim ebuilds, and setup the system as instructed by
http://en.gentoo-wiki.com/wiki/SCIM, the scim still cannot work on my
awesome 3. I started my scim by 'scim -d', and it claims to have
loaded successfully, and I can see a little keyboard icon on the
system tray. But I cannot type my language (Chinese) anywhere. The
ctrl+space does not work.

can anyone safe me?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84