Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Have CDs pop up on desktop in Gnome ala MacOS X
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
Sail@
n00b
n00b


Joined: 06 Sep 2003
Posts: 36

PostPosted: Thu Oct 30, 2003 1:51 pm    Post subject: Have CDs pop up on desktop in Gnome ala MacOS X Reply with quote

Have CDs pop up on desktop in Gnome ala MacOS X
-------------
Is this possible to accomplish?
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Thu Oct 30, 2003 2:38 pm    Post subject: Reply with quote

This works by default. Right click on the background, selcet "Disks" and choose the Cdrom you want to mount. After the CDROm is mounted, an Icon is displayed on the desktop.
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
janezz
n00b
n00b


Joined: 24 Oct 2003
Posts: 29

PostPosted: Thu Oct 30, 2003 2:53 pm    Post subject: Reply with quote

try compiling (or load as a module) supermount support in your kernel... edit /etc/fstab... voila, a CD icon on your desktop is always present...
Back to top
View user's profile Send private message
bosko
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2003
Posts: 114
Location: The Netherlands

PostPosted: Thu Oct 30, 2003 3:02 pm    Post subject: Reply with quote

The only way to get the same effect as in Mac OS X is with magicdev. There is no ebuild for it, so you'll just have to get it from cvs and install it yourself. Something like this:
Code:
export CVSROOT=:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome
cvs login
cvs -z3 co magicdev
cd magicdev
./autogen.sh
./configure --prefix=/usr
make
make install

Then simply start magicdev and cd's will automatically be mounted and Nautilus will display an icon for it.
Back to top
View user's profile Send private message
Kesereti
Guru
Guru


Joined: 07 Nov 2002
Posts: 520

PostPosted: Thu Oct 30, 2003 6:01 pm    Post subject: Reply with quote

So, here's an ebuild for it =) Bear in mind I've never written an ebuild in my life, but I took the ebuild for galeon-cvs, and hacked it a bit to work for magicdev...it seems to work, too; after emerging it (I suggest perhaps putting it in gnome-extra in the portage tree), just go to the Desktop Preferences menu in GNOME and the "CD Properties" option will allow you to configure it.

Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
 
# ECVS_TOP_DIR="${PORTAGE_TMPDIR}"
ECVS_SERVER="anoncvs3.gnome.org:/cvs/gnome"
ECVS_MODULE="magicdev"
ECVS_CVS_OPTIONS="-dP"
 
inherit cvs
inherit gnome2
inherit libtool
 
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Magicdev is a GNOME utility to allow OSX-style automounting of removable media."
HOMEPAGE="www.gnome.org"
SRC_URI=""
 
SLOT="0"
KEYWORDS="x86"
LICENSE="GPL-2"
 
DEPEND="virtual/x11
        >=gnome-base/gnome-2.2
        >=gnome-base/gnome-common-1.2.4
        dev-util/cvs"
                                                                                                               
src_compile() {
        export WANT_AUTOMAKE="1.6"
                                                                                                               
        elibtoolize
        cd ${S}
        local baseopts="--prefix=/usr\
                                --mandir=/usr/share/man \
                                --infodir=/usr/share/info \
                                --datadir=/usr/share \
                                --sysconfdir=/etc \
                                --localstatedir=/var/lib"
                                                                                                               
        if [ ! -f ./configure ]; then
                ./autogen.sh ${baseopts} ${myconf} || die "autogen failed"
        else
                ./configure ${baseopts} ${myconf}  || die "configure failed"
        fi
        make || die "compile failed"
}
                                                                                                               
src_install () {
        export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
        einstall scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ || die "make install failed"
        unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
                                                                                                               
                                                                                                               
        dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
}
Back to top
View user's profile Send private message
Sail@
n00b
n00b


Joined: 06 Sep 2003
Posts: 36

PostPosted: Thu Oct 30, 2003 11:58 pm    Post subject: Reply with quote

Thanks for all the help!
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