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

 
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: 2712
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


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: 1248
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)
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

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.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
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
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
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: 2712
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.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

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?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
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: 583

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.....
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

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