Re: [gentoo-user] which file is currently being written to disk?

2011-03-08 Thread Petri Rosenström
On Tue, Mar 8, 2011 at 7:48 AM, Liviu Andronic landronim...@gmail.com wrote:
 Dear all
 Is there some utility (console or otherwise) that could indicate me
 NOT the output/input read/write and miscellanea, but simply which
 files are currently being written to the disk. Sometimes my browser
 (Opera) downloads some big temporary files, and usually I have a difficult
 time locating them.

 I've tried
 lsof | grep opera

 but the output is messy and not really helpful. Any other ideas?

 Regards
 Liviu


 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail



Hi,

I like sys-process/iotop it is quite handy.

Best regards
Petri Rosenström



Re: [gentoo-user] When mounting windows (ntfs) shares

2011-03-08 Thread Stroller

On 7/3/2011, at 11:46pm, Harry Putnam wrote:
 ...
 //harvey/ImagesMusic  /mnt/ImagesMusic cifs 
 noauto,username=harry,credentials=/\
 etc/samba/CifsCredentials
 
 Where the UNC above is on windows XP, and mounted as shows above.

Blah, blah, blah.

You've written paragraphs here (snipped) about what email client you have, but 
you haven't posted the output of:

$ mount /mnt/ImagesMusic
$ ls -ld /mnt/ImagesMusic
$ ls -l /mnt/ImagesMusic

$ umount /mnt/ImagesMusic
$ ls -ld /mnt/ImagesMusic

$ mount -v -t cifs //harvey/ImagesMusic /mnt/ImagesMusic -o 
username=harry,user=harry,uid=bob

You may find `man mount.cifs` as useful as I just have.

Stroller.




Re: [gentoo-user] Mounting CD's etc

2011-03-08 Thread James Wall
You will need to set up pollution aka policykit. I use udisks to get
automounting taken care of instead of Hal. See an earlier thread for
details. I am working on a full policykit setup to document with examples
for reboot and shutdown in lxde.
Regards,
James wall
On Mar 8, 2011 1:05 AM, Bill Kenworthy bi...@iinet.net.au wrote:
 Typing id on a terminal on my gnome desktop gives the following - but
 when I insert a dvd I get not authorised to mount ... in a popup.
 What more do I need to do?

 BillK


 uid=1000(wdk) gid=100(users)

groups=100(users),6(disk),10(wheel),18(audio),19(cdrom),80(cdrw),85(usb),411(plugdev),413(wdk),446(vmware),1000(vboxusers),1005(davfs2)




Re: [gentoo-user] which file is currently being written to disk?

2011-03-08 Thread Paul Hartman
On Tue, Mar 8, 2011 at 1:48 AM, Liviu Andronic landronim...@gmail.com wrote:
 Dear all
 Is there some utility (console or otherwise) that could indicate me
 NOT the output/input read/write and miscellanea, but simply which
 files are currently being written to the disk. Sometimes my browser
 (Opera) downloads some big temporary files, and usually I have a difficult
 time locating them.

 I've tried
 lsof | grep opera

 but the output is messy and not really helpful. Any other ideas?

Hi Liviu,

I think your best solution is to use inotify-tools. It'll let you set
up watchers on files or directories (optionally recursively) to see
any file activity that happens there in realtime.



[gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread James
Hello,

I have a large DVD(movie) collection, that I want
copied to hard drive(s) and a database set up
about the movies. Since disc is cheap
($75/2TB) I'm not even going to fool around
with conversion or compression, i.e. MPEG-2
is fine for now, unless the process can
be automated (see schema below). Naturally
being able to store video in different formats
would be a big plus.

I'm very flexible on the DB so any software 
package that already exists in a (gui) tool
form, so that I can set it up with simple
instructions for an adolescent to:
 load the dvd
 execute the script or simple procedure
 wait until dvd movie is stored on disk
 then swap out for another DVD...

rinse and repeat 500+ times


What software exists, or what software
would be easy to script up such an endeavor?
Tagging movies by rating, genre, year, etc
would be a bonus.

Hopefully, playing movies after this will
be a gui experience; so I can turn the kids
and less astute friends loose in a 
multimedia room where the computer is hooked
to a large screen LED device. Later on 
audio (music) tracks will be added to the menu 
or system, which hopefully supports a wide
range of audio files. 


Lots of pieces exist in software, but, I'm 
looking for recommendations on a complete
system, that is rather straight forward to
install new movies (and audio) and then play them
via an easy to use interface, seemlessly.


Any comments or suggestions are most welcome.


James






Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Fernando Freire
James,

It sounds like you want a complete solution for your multimedia, might I
suggest something like xbmc or boxee? They're both solid platforms,
unfortunately I cannot suggest a script for automating the disk
ripping/conversion process.

-Fernando
On Mar 8, 2011 11:04 AM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I have a large DVD(movie) collection, that I want
 copied to hard drive(s) and a database set up
 about the movies. Since disc is cheap
 ($75/2TB) I'm not even going to fool around
 with conversion or compression, i.e. MPEG-2
 is fine for now, unless the process can
 be automated (see schema below). Naturally
 being able to store video in different formats
 would be a big plus.

 I'm very flexible on the DB so any software
 package that already exists in a (gui) tool
 form, so that I can set it up with simple
 instructions for an adolescent to:
 load the dvd
 execute the script or simple procedure
 wait until dvd movie is stored on disk
 then swap out for another DVD...

 rinse and repeat 500+ times


 What software exists, or what software
 would be easy to script up such an endeavor?
 Tagging movies by rating, genre, year, etc
 would be a bonus.

 Hopefully, playing movies after this will
 be a gui experience; so I can turn the kids
 and less astute friends loose in a
 multimedia room where the computer is hooked
 to a large screen LED device. Later on
 audio (music) tracks will be added to the menu
 or system, which hopefully supports a wide
 range of audio files.


 Lots of pieces exist in software, but, I'm
 looking for recommendations on a complete
 system, that is rather straight forward to
 install new movies (and audio) and then play them
 via an easy to use interface, seemlessly.


 Any comments or suggestions are most welcome.


 James






Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Paul Hartman
On Tue, Mar 8, 2011 at 12:09 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I have a large DVD(movie) collection, that I want
 copied to hard drive(s) and a database set up
 about the movies. Since disc is cheap
 ($75/2TB) I'm not even going to fool around
 with conversion or compression, i.e. MPEG-2
 is fine for now, unless the process can
 be automated (see schema below). Naturally
 being able to store video in different formats
 would be a big plus.

 I'm very flexible on the DB so any software
 package that already exists in a (gui) tool
 form, so that I can set it up with simple
 instructions for an adolescent to:
  load the dvd
  execute the script or simple procedure
  wait until dvd movie is stored on disk
  then swap out for another DVD...

 rinse and repeat 500+ times


 What software exists, or what software
 would be easy to script up such an endeavor?

Basically all of the GUI DVD-ripping/recoding software are just shells
to run the commandline tools like transcode, ffmpeg, mencoder etc.

If you find a GUI tool to do as you wish, it should be trivial to look
in its logs and see exactly which commands it ran and then put that
into a shell script for repeated usage.

Ripping the original DVD contents is the easy part (just use vobcopy),
converting it to any other format can be more tricky because you get
problems like audio and video being out of sync that sometimes can't
be fixed without manual tuning.



Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Vincent-Xavier JUMEL
From what I understand, you want to automate a ripping process. Ripping
is the easy part since you don't want to bother with encoding. In my
opinion, you should had a udev line that fire up a
mencoder/transcode/vlc/vobcopy/your favourite encoder/copier session,
clean the swap and then eject the CD.

The udev manpage is quite clear on the subject, examples are all around
the net.

Cheers.
-- 
Vincent-Xavier JUMEL GPG Id: 0x2E14CE70 http://thetys-retz.net

Rejoignez les 5336 adhérents de l'April http://www.april.org/adherer
Parinux, logiciel libre à Paris : http://www.parinux.org



[gentoo-user] Re: When mounting windows (ntfs) shares

2011-03-08 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 $ mount -v -t cifs //harvey/ImagesMusic /mnt/ImagesMusic -o 
 username=harry,user=harry,uid=bob

The example helped immensely... thanks.  

(Although I think it may have been responsible for a fellow named
`bob' hacking my windows machines .. hehe)

 You may find `man mount.cifs` as useful as I just have.

I suspect then, that you already had a good idea what you were looking
for. I found no such enlightenment as you, but then I did not read it
word for word.  Possibly I am a much lesser man... maybe even a mental
wimp..




Re: [gentoo-user] Automation: Ripping DVDs to disk

2011-03-08 Thread Neil Bothwick
On Tue, 8 Mar 2011 11:25:33 -0800, Fernando Freire wrote:

 It sounds like you want a complete solution for your multimedia, might I
 suggest something like xbmc or boxee? They're both solid platforms,
 unfortunately I cannot suggest a script for automating the disk
 ripping/conversion process.

MythTV has a plugin to rip DVDs to disk, and MythVideo can look up
information on IMDB and add it to the film's metadata.


-- 
Neil Bothwick

Quick!! Act as if nothing has happened!


signature.asc
Description: PGP signature


[gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-08 Thread walt

On 03/07/2011 11:29 PM, du yang wrote:

On Tuesday 03/08/11 11:31:42 CST, Adam Carter wrote:


 I got a gtk library error when trying to run a python script.

 # ./st.py
 /usr/bin/python2.7: symbol lookup error: /usr/lib/gtk-2.0/2.10.0/engines/
 libflat.so: undefined symbol: gtk_rc_style_get_type


Have you run revdep-rebuild and/or python-updater?


Still no effect ;-(
And I found opera has the same problem as well under the flat thmem, but no 
problem under aurora thmem.

# opera
/usr/lib/opera/opera: symbol lookup error: 
/usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: 
gtk_rc_style_get_type


I don't have libflat.so, so I can't tell you which package installed it,
but that package needs to be re-emerged.

Try equery b libflat.so to find the broken package.






[gentoo-user] Re: Automation: Ripping DVDs to disk

2011-03-08 Thread James
Vincent-Xavier JUMEL endymion+gentoo at thetys-retz.net writes:


OK

Thanks to all the posters.
I'm going to try a few of these
suggestions and see what I like.
If I get stuck, I'll post back on
the automation portion of the task.


thanks again to all,
for all of the suggestions.


James







[gentoo-user] Re: Automation: Ripping DVDs to disk

2011-03-08 Thread James
Neil Bothwick neil at digimed.co.uk writes:


 MythTV has a plugin to rip DVDs to disk

Is that part of media-tv/mythtv or another package?
(emerging mythtv and xbmc right now...)

 MythVideo can look up information on IMDB 
 and add it to the film's metadata.


I found this wiki:
http://www.mythtv.org/wiki/MythVideo

is this what you refer to? If not do you
have a wiki, url or example somewhere on the
net?


James










Re: [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-08 Thread du yang
On Wednesday 03/09/11 07:04:07 CST, walt wrote:
 On 03/07/2011 11:29 PM, du yang wrote:
  On Tuesday 03/08/11 11:31:42 CST, Adam Carter wrote:
 
   I got a gtk library error when trying to run a python script.
 
   # ./st.py
   /usr/bin/python2.7: symbol lookup error: 
  /usr/lib/gtk-2.0/2.10.0/engines/
   libflat.so: undefined symbol: gtk_rc_style_get_type
 
 
  Have you run revdep-rebuild and/or python-updater?
 
  Still no effect ;-(
  And I found opera has the same problem as well under the flat thmem, but no 
  problem under aurora thmem.
 
  # opera
  /usr/lib/opera/opera: symbol lookup error: 
  /usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: 
  gtk_rc_style_get_type
 
 I don't have libflat.so, so I can't tell you which package installed it,
 but that package needs to be re-emerged.
 
 Try equery b libflat.so to find the broken package.
 
 
 
 

It just belongs to itself, and I checked its dependence graph, and tried to 
re-emerge all the related packages.

At last, the problem is still there. so I suspect it may be a problem for 
gtk-engines-flat itself.

Maybe I would try to fire a bug to gentoo, but now I have to change to use the 
Aurora theme to workaround the problem.

Thanks you for your hints anyway!


# equery b /usr/lib/gtk-2.0/2.10.0/engines/libflat.so
 * Searching for /usr/lib/gtk-2.0/2.10.0/engines/libflat.so ... 
x11-themes/gtk-engines-flat-2.0-r2 (/usr/lib/gtk-2.0/2.10.0/engines/libflat.so)
# equery d x11-themes/gtk-engines-flat
 * These packages depend on x11-themes/gtk-engines-flat:
# equery g x11-themes/gtk-engines-flat
 * Searching for gtk-engines-flat in x11-themes ...

 * dependency graph for x11-themes/gtk-engines-flat-2.0-r2
 `--  x11-themes/gtk-engines-flat-2.0-r2  x86 
  `--  x11-libs/gtk+-2.22.1-r1  (x11-libs/gtk+) x86 
  `--  dev-util/pkgconfig-0.25-r2  (dev-util/pkgconfig) x86 
[ x11-themes/gtk-engines-flat-2.0-r2 stats: packages (3), max depth (0) ]



-- 

oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/