LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-19-2007, 02:55 PM   #1
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Rep: Reputation: 25
plugdev & xfce without desktop icons


After making the changes suggested in the sticky about HAL, I could plug in my usb stick and a desktop icon would appear, which could be mounted etc... So far so good. Checking the media directory it turned out to be called /media/disk.

Now I disabled the desktop icons ('Desktop Icons none' in Desktop preferences of XFCE). This seems to disable the whole thing:

Code:
bash-3.1$ mount /media/disk
mount: can't find /media/disk in /etc/fstab or /etc/mtab
bash-3.1$ mount /dev/sda1 /media/disk
mount: only root can do that
The problem is not the mounting of the usb stick. I just want to understand why this happens. Could anyone explain?

I like the idea of having a mount point created automagically for whatever I plug in and being able to mount it as user instead of root; I just don't want to click on some desktop icon...
 
Old 07-20-2007, 08:41 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As I understand it, you need to have Thunar running for automounting to work under XFCE. Since Thunar handles the desktop, if the desktop is disabled, Thunar is not running. You can test this by starting Thunar and then plugging in a USB device, you should see it get mounted in Thunar's left panel.

To get Thunar starting without the desktop icons, run the program "xfce4-autostart-editor", and then click "Add". Here you will see fields for the name, description, and command. Put whatever you want for the first two, and for the command put "thunar --daemon".

When you restart XFCE (no need to restart the machine) Thunar will now be running in the background, but not displaying any desktop icons. Automounting should then work. At the very least, this is what I have been doing since -current to get automouting working without the desktop icons.
 
Old 07-21-2007, 01:13 PM   #3
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Original Poster
Rep: Reputation: 25
Thanks MS3FGX, you're the chef!

But it's still a bit unsatisfactory. Now we've got to click on a thunar icon for /media/disk to show up; instead of a desktop icon. Same difference :-( I like to do my file management on the CLI. Any suggestion for bypassing thunar? Let's suppose we're not running X at all.
 
Old 07-22-2007, 07:10 AM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
In that case you would need to use something like ivman, which is a HAL event handler that operates outside of X or any window manager or desktop environment.

There is no Slackware package for it that I can find, but there is a SlackBuild for it.
 
Old 07-23-2007, 12:12 PM   #5
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Original Poster
Rep: Reputation: 25
thanks, I'll check it out. I'm a bit scared of slackbuilds though, the build for libdvdcss broke my X :-(
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xfce 4.4 - Desktop Icons RoiSoleil Linux - Software 5 03-13-2008 02:56 PM
XFCE desktop Icons Master Fox Slackware 8 02-26-2006 03:35 PM
XFCE 4.2 Desktop Icons Jake_da_Snake Linux - Software 0 11-07-2005 10:19 PM
xfce desktop icons linuxhippy Fedora 4 07-26-2005 12:47 PM
XFCE: Icons on desktop senorsnor Linux - Software 4 08-09-2004 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration