Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] automount cdrom
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2379
Location: Edmonton, AB

PostPosted: Fri Feb 22, 2013 7:15 pm    Post subject: [SOLVED] automount cdrom Reply with quote

How to automount cdrom so the icon will show on a desktop?
In fstab I have:
Code:
/dev/sr0      /mnt/cdrom   auto      ro,users   0 0

_________________
#Joseph


Last edited by Joseph_sys on Fri Feb 22, 2013 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Fri Feb 22, 2013 7:30 pm    Post subject: Reply with quote

i removed my cdrom entry (put a # in front of the line) and install GVFS.... then pop in a cd, then bam on the desktop it should show.... (or something rather close to that)
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 426

PostPosted: Fri Feb 22, 2013 7:33 pm    Post subject: Reply with quote

gvfs is huge tho... I would be interested to hear about alternatives that are a bit thinner on dependancies.
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2121
Location: Finland

PostPosted: Fri Feb 22, 2013 7:37 pm    Post subject: Reply with quote

duby2291 wrote:
gvfs is huge tho... I would be interested to hear about alternatives that are a bit thinner on dependancies.


uevt, udiskie, udisks-glue, traydevice, ...
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2121
Location: Finland

PostPosted: Fri Feb 22, 2013 7:39 pm    Post subject: Reply with quote

666threesixes666 wrote:
i removed my cdrom entry (put a # in front of the line) and install GVFS.... then pop in a cd, then bam on the desktop it should show.... (or something rather close to that)


right, when using UDisks (udev) based automounting helper the line for cdrom in /etc/fstab should be removed or otherwise it will conflict with the automounter and prevent it from working.

that is true with sys-fs/udisks:0 (as in, UDisks1) but not anymore with sys-fs/udisks:2 (as in, UDisks2)
just saying that even this small information snippet is soon redudant :P
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2379
Location: Edmonton, AB

PostPosted: Fri Feb 22, 2013 7:42 pm    Post subject: Reply with quote

666threesixes666 wrote:
i removed my cdrom entry (put a # in front of the line) and install GVFS.... then pop in a cd, then bam on the desktop it should show.... (or something rather close to that)


Thank, yes it work. I already had it installed.
_________________
#Joseph
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 426

PostPosted: Fri Feb 22, 2013 7:45 pm    Post subject: Reply with quote

Hal is deprecated and cannot be installed,,, so that is out.... Is there anything that doesnt pull in policykit and consolekit?
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2121
Location: Finland

PostPosted: Fri Feb 22, 2013 7:47 pm    Post subject: Reply with quote

duby2291 wrote:
Hal is deprecated and cannot be installed,,, so that is out.... Is there anything that dopesnt pull in policykit and consolekit?


you don't have to emerge consolekit, you can just install polkit without consolekit and drop in custom .rules file to /etc/polkit-1/rules.d that gives authorization to everyone in group
'plugdev' for udisks services
that emulates the behavior HAL had the close it's possible thesedays
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 426

PostPosted: Fri Feb 22, 2013 7:53 pm    Post subject: Reply with quote

Ok, Thank you. I'm just paraniod about keeping a thin system and I really hate how bloated things are getting... Something as simple as mount a thumbdrive when it gets plugged in has become way more complex than it needs to be.... I'm not happy.....
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
rorgoroth
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 225
Location: England, UK

PostPosted: Fri Feb 22, 2013 8:18 pm    Post subject: Reply with quote

I'm not sure about any other file managers but Spacefm is really nice and does a hell of a lot as well as its own mounter for automounting (udevil, but works great with pmount too) - granted nothing hard requires udisks and thus consolekit and polkit you can completely purge all 3 from your system very easily - I did it quite some time ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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