From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 16:03:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0177A735 for ; Fri, 4 Apr 2014 16:03:10 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C3A16C for ; Fri, 4 Apr 2014 16:03:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-177-157.dynamic.qsc.de [92.195.177.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id C713527645; Fri, 4 Apr 2014 18:03:00 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s34G23LS025125; Fri, 4 Apr 2014 18:02:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 Apr 2014 18:02:03 +0200 From: Polytropon To: Warren Block Subject: Re: Automount in LXDE or Xfce Message-Id: <20140404180203.a9b2c643.freebsd@edvax.de> In-Reply-To: References: <20140329130703.b51675d0.freebsd@edvax.de> <1396107985833-5898890.post@n5.nabble.com> <20140330090118.e0309af8.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Beeblebrox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 16:03:10 -0000 On Sun, 30 Mar 2014 07:31:26 -0600 (MDT), Warren Block wrote: > On Sun, 30 Mar 2014, Polytropon wrote: >=20 > > On Sat, 29 Mar 2014 08:46:25 -0700 (PDT), Beeblebrox wrote: > >>> Can anyone maybe share a _working_ configuration example? > >> > >> You have two choices for daemon: hald or devd. As you are aware, hald = is > >> linux-based and devd is native FreeBSD, but still somewhat experimenta= l. > >> Your choice as to which one (and why) will be preferred. > > > > I know that HAL is already deprecated in Linux world in favour > > of udev, upower et al. and doesn't fully work in FreeBSD. At > > the time it will work perfectly, nobody will be using it, like > > APM. :-) > > > > The desktop per se does _not_ matter, be it Xfce (which is > > missing icons and cannot shutdown the system) >=20 > misc/gnome-icon-theme and misc/gnome-icon-theme-extras provide a full=20 > set of icons. They are different from xfce's but better-looking IMO. I've finally installed Gnome and used that as a desktop environment. > xfce can reboot or shut down a system. The file > /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.console= kit.pkla=20 > must be created as shown in the pkg-message of one of the xfce ports,=20 > and xfce must be started with with ConsoleKit support: >=20 > startxfce4 --with-ck-launch Yes, this worked. Maybe it was this file, or one of the enormous amounts of changes I had to perform. :-) > There are several ports that handle automount. I used my own script for= =20 > that, but recently went back to manual mounting for simplicity. Nothing worked as shown in the documentation (Gnome FAQ which refers to HAL FAQ). Finally I installed the automounter port which also didn't fully work. I had to change lots of permissions and files, create own scripts, include them for the Gnome users (individually), and now it _almost_ works, which means, it sometimes shows error boxes about not being able to mount a media, except that the media is mounted, and I replaced the umount binary with a custom script to add -f and "cdcontrol eject" if called for the CD drive. The part "unmounting mounted devices" was the most problematic one if you consider that USB media (disks, sticks and cards) aren't really hot-pluggable storage. With the help of automount.conf and a local devd.conf things would at least work when the user remembers to "eject media" (don't know the english term in Gnome, the german version says "Medium aush=E4ngen" or "Medium auswerfen"). And apropos language support: It could be better. In my limited experience, the whole experience is lacking. I have to admit that I think my "user experience" is better on my home box where I manually "mount /something", and a consistend english UI / GUI is more appealing. Furthermore, I had to fight two "Win-Printers", an inkpee and a laser printer, both USB, 5 years old, which I also got working, which is impossible! Both required CUPS fiddling, symlinking across the OS and /compat/linux. Don't ask me how I did get them working, I had to erase everything from my memory because it would have driven me mad. :-) So far regarding my visit in "Desktop Land". :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...