View previous topic :: View next topic |
Author |
Message |
Sail@ n00b
Joined: 06 Sep 2003 Posts: 36
|
Posted: Thu Oct 30, 2003 1:51 pm Post subject: Have CDs pop up on desktop in Gnome ala MacOS X |
|
|
Have CDs pop up on desktop in Gnome ala MacOS X
-------------
Is this possible to accomplish? |
|
Back to top |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Thu Oct 30, 2003 2:38 pm Post subject: |
|
|
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 |
|
|
janezz n00b
Joined: 24 Oct 2003 Posts: 29
|
Posted: Thu Oct 30, 2003 2:53 pm Post subject: |
|
|
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 |
|
|
bosko Tux's lil' helper
Joined: 07 Mar 2003 Posts: 114 Location: The Netherlands
|
Posted: Thu Oct 30, 2003 3:02 pm Post subject: |
|
|
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 |
|
|
Kesereti Guru
Joined: 07 Nov 2002 Posts: 520
|
Posted: Thu Oct 30, 2003 6:01 pm Post subject: |
|
|
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 |
|
|
Sail@ n00b
Joined: 06 Sep 2003 Posts: 36
|
Posted: Thu Oct 30, 2003 11:58 pm Post subject: |
|
|
Thanks for all the help! |
|
Back to top |
|
|
|