Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema applet gnome montadischi dopo upgrade 2.10->2.12
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Mon Feb 27, 2006 1:26 pm    Post subject: Problema applet gnome montadischi dopo upgrade 2.10->2.12 Reply with quote

Ciao a tutti,
ho fatto di recente l'update di gnome dalla 2.10 alla 2.12.
Ho però avuto un problema con l'applet montadischi. Prima questa mi visualizzava una inconcina per ogni
entry del file /etc/fstab (almeno mi pare di aver capito che funzionasse così)
Dopo l'upgrade alcune entry mi sono sparite, e sono proprio quelle di una partizione FAT32 e di una NTFS dell'HD.
Quelle relative alla chiaveta USB e ad un HD esterno sono invece rimaste..

Qualcuno ha avuto lo steso problema?

grazie e a tutti,
Luigi
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Tue Feb 28, 2006 1:42 am    Post subject: Reply with quote

Non uso gnome, ma ultimamente c'è il vizio di montare quello che viene "attaccato" al pc anche senza che che stia nel fstab, vedi ivman hal e dbus per kde per farti un esempio...
Io per esempio se attacco una memoria usb al pc me la monta, senza che nel fstab ci sia. Stessa cosa per il cd (che però c'è).
Mi sa che quello che dici tu sia il vecchio modo di agire...
Attendo conferme con te :)
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Feb 28, 2006 9:13 am    Post subject: Reply with quote

mi sa che devi aggiungere il tuo utente al gruppo *non mi ricordo* ma ci dovrebbe essere scritto nell'ebuild di hal
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Tue Feb 28, 2006 12:43 pm    Post subject: Reply with quote

credo tu debba aggiornare anche hal udev e dbus...
Altra cosa... se non sbaglio la applet la devi inserire nel pannello ->Aggiungi al pannello -> montadischi ...
_________________
C.
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Tue Feb 28, 2006 12:51 pm    Post subject: Reply with quote

Gruppo plugdev.. ma devi togliere fam e emergere gamin
Back to top
View user's profile Send private message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Fri Mar 03, 2006 11:59 am    Post subject: Reply with quote

Scusate se sono scomparso.. eccomi qui!

ecco l'fstab, così ci intendiamo meglio...

Code:

tux luigi # cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                 <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda5               /boot           ext3            noauto,defaults        1 1
/dev/hda7               /               reiserfs        noatime                0 0
/dev/hda6               none            swap            sw                     0 0
/dev/cdrom              /mnt/cdrom      iso9660         auto,ro,users          0 0
#/dev/cdroms/cdrom1     /mnt/dvdrom     iso9660         auto,ro,users 0 0

#/dev/fd0               /mnt/floppy     auto            noauto                 0 0

/dev/hda3               /mnt/h          vfat            uid=1000,auto,users,exe0 0
/dev/hda2               /mnt/c          vfat            uid=1000,users,exec,noauto      0 0

/dev/sda1               /mnt/chiavetta  vfat            uid=1000,users,noauto  0 0
##/dev/sda1             /mnt/usb        ntfs            uid=1000,users,noauto,r0 0
##/dev/sda5              /mnt/backup    vfat            uid=1000,users,noauto      0 0


# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults               0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults               0 0
#tmpfs                  /dev/shm        tmpfs           defaults               00


se accendo il pc con cd inserito mi viene montato in automatico (e può andarmi anche bene...)
l'applet del montadischi ora mostra una icona per il cd montato (il cd ora è inserito)
e una icona "chiavetta" non montata.
se attacco una chiavetta, l'icona chiavetta NON cambia, mi viene aggiunta una nuova icona
"USB Flash Memory" e mi apre nautilus sulla directory della chiavetta (/mnt/chiavetta).
questo NON va bene, perché dovrebbe "accendermi" l'icona chiavetta piuttosto che creare una nuova chiavetta!

se tolgo dall'fstab la riga:
Code:

/dev/sda1               /mnt/chiavetta  vfat            uid=1000,users,noauto  0 0


l'icona con la chiavetta che non si accende mai è scomparsa dall'applet,
ma così però non mi compare nessuna nuova icona all'inserimento della chiavetta (in pratica non me la monta!)

questo è il primo problema che prima con gnome 2.10 e montadischi 2.10 non avevo.

secondo:
anche se ci sono delle entry per /mnt/c e /mnt/h nell'fstab,
questi non compaiono come icone dell'applet. questa è la cosa che più mi da fastidio che manchi dopo l'upgrade di gnome.

vengo a quanto mi chiedete:

1) in plug dev ci sono solo io come utente per ora.
2) hal udev e dbus sono aggiornati (ho appena fatto un emerge -Du world + dispatch-conf + revdep-rebuild)

Code:

*  sys-apps/hal
      Latest version available: 0.5.5.1-r3
      Latest version installed: 0.5.5.1-r3
      Size of downloaded files: 1,482 kB
      Homepage:    http://www.freedesktop.org/Software/hal
      Description: Hardware Abstraction Layer
      License:     || ( GPL-2 AFL-2.0 )

*  sys-fs/udev
      Latest version available: 079-r1
      Latest version installed: 079-r1
      Size of downloaded files: 216 kB
      Homepage:    http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
      Description: Linux dynamic and persistent device naming support (aka userspace devfs)
      License:     GPL-2

*  sys-apps/dbus
      Latest version available: 0.60-r4
      Latest version installed: 0.60-r4
      Size of downloaded files: 1,635 kB
      Homepage:    http://dbus.freedesktop.org/
      Description: A message bus system, a simple way for applications to talk to each other
      License:     || ( GPL-2 AFL-2.1 )


3) per hal ho rifatto l'emerge, ma non ho notato alcuni commenti utili, se non
Code:

 The HAL daemon needs to be running for certain applications to
 * work. Suggested is to add the init script to your start-up
 * scripts, this should be done like this :
 * `rc-update add hald default`

4) intendi cancellare questo:

Code:

*  app-admin/fam
      Latest version available: 2.7.0-r4
      Latest version installed: 2.7.0-r4
      Size of downloaded files: 320 kB
      Homepage:    http://oss.sgi.com/projects/fam/
      Description: FAM, the File Alteration Monitor
      License:     GPL-2 LGPL-2.1


e mettere questo:

Code:

*  app-admin/gamin
      Latest version available: 0.1.7
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 529 kB
      Homepage:    http://www.gnome.org/~veillard/gamin/
      Description: Library providing the FAM File Alteration Monitor API
      License:     LGPL-2



spero di avervi dato abbastanza informazioni,
grazie a tutti!

Luigi
Back to top
View user's profile Send private message
MeMyselfAndI
l33t
l33t


Joined: 15 Nov 2005
Posts: 784
Location: Between the monitor and the chair

PostPosted: Fri Mar 03, 2006 1:07 pm    Post subject: Reply with quote

Si, poi pulisci /etc/fstab da tutte le cose che monti al "volo" e controlli bene che tutti gli script di avvio vengano fatti partire correttamente. altro non c'e' da fare. i device te li crea in /media .... un'unico problema che ho riscontrato e' che con il mio lettore Creative se imposto la dimensione della chiavetta usb a 4 Giga non me lo monta, se lo imposta a 2 si ... e non ne capisco il motivo.
Ciao
Back to top
View user's profile Send private message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Fri Mar 03, 2006 1:14 pm    Post subject: Reply with quote

quindi non c'è modo di aver le icone per /mnt/h e /mnt/c nell'applet?

Luigi
Back to top
View user's profile Send private message
luigi.malago
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 292
Location: Mantova (Italy)

PostPosted: Sat Mar 18, 2006 2:33 pm    Post subject: Reply with quote

MeMyselfAndI wrote:
Gruppo plugdev.. ma devi togliere fam e emergere gamin


grazia mille!!
avevi perfettamente ragione, è bastato togliere fam e mettere gamin.
Solo una cosa:ora ho poblemi di dipendenze:

Code:

tux isole # emerge -Dup world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B     ] app-admin/gamin (is blocking app-admin/fam-2.7.0-r4)


e poi

Code:

tux isole # equery depends fam
[ Searching for packages depending on fam... ]
gnome-base/gnome-vfs-2.12.2
kde-base/kdelibs-3.4.3-r1
net-libs/wvstreams-4.0.2-r2


la soluzione proposta qui:

ovvero:
Quote:

echo "app-admin/fam-2.7.0-r4" >> /etc/portage/profile/package.provided

(ho letto che alcuni la sconsigliano..)

può andare?

grazie mille ancora,
ora mi sono liberato di un bel po' di icone che non servivano a nulla :-)

Luigi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum