LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 09-29-2012, 01:19 PM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,408

Rep: Reputation: 629Reputation: 629Reputation: 629Reputation: 629Reputation: 629Reputation: 629
Hide disk partitions on Xfce desktop: 13.37 vs. 14.0


Hi,

On Slackware 13.37, I could hide disk partitions showing on my Xfce desktop by creating /etc/udev/rules.d/hide-partitions.rules and editing it like this:

Code:
KERNEL=="sda5",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda6",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda7",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda8",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda9",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda10",ENV{UDISKS_PRESENTATION_HIDE}="1"
This worked as intended, but not on Slackware 14.0 anymore. Has the syntax changed?

Cheers,

Niki
 
Old 09-30-2012, 07:43 AM   #2
sparkyhall
Member
 
Registered: Nov 2009
Location: Chatteris---UK
Distribution: Slackware 13.0 & 14.0
Posts: 41

Rep: Reputation: 7
Adding an entry for each partition into fstab does the trick, I believe the mount point has to be somewhere other than /media for this to work. I have the following for the two partitions I don't want displayed:

Code:
/dev/sda6        /mnt/sda6        ext4        defaults,noauto  0   0
/dev/sda7        /mnt/sda7        ext4        defaults,noauto  0   0
 
1 members found this post helpful.
Old 10-06-2012, 11:55 PM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,408

Original Poster
Rep: Reputation: 629Reputation: 629Reputation: 629Reputation: 629Reputation: 629Reputation: 629
Quote:
Originally Posted by sparkyhall View Post
Adding an entry for each partition into fstab does the trick, I believe the mount point has to be somewhere other than /media for this to work. I have the following for the two partitions I don't want displayed:

Code:
/dev/sda6        /mnt/sda6        ext4        defaults,noauto  0   0
/dev/sda7        /mnt/sda7        ext4        defaults,noauto  0   0
Thanks very much! That did the trick.
 
Old 10-07-2012, 06:52 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,510

Rep: Reputation: 87
Quote:
Originally Posted by kikinovak View Post
Hi,

On Slackware 13.37, I could hide disk partitions showing on my Xfce desktop by creating /etc/udev/rules.d/hide-partitions.rules and editing it like this:

Code:
KERNEL=="sda5",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda6",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda7",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda8",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda9",ENV{UDISKS_PRESENTATION_HIDE}="1"
KERNEL=="sda10",ENV{UDISKS_PRESENTATION_HIDE}="1"
This worked as intended, but not on Slackware 14.0 anymore. Has the syntax changed?

Cheers,

Niki
I have set it up with udev rules using UDISKS_IGNORE instead without fstab entries and that is also working well.
 
  


Reply

Tags
partitions, udev, xfce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where does XFCE usually hide the wallpaper images? Arcosanti Slackware 3 05-20-2013 12:37 AM
Xfce vs. disk partitions vs. CD-Rom kikinovak Slackware 1 09-12-2012 10:41 AM
[SOLVED] how to hide XFCE window decorator if i run firefox 5 el_jauzaa Slackware 2 08-13-2011 04:59 AM
Automouter, hide partitions chipotphe Fedora 2 10-22-2008 11:48 AM
Ext2IFS: is it possible to hide Linux partitions? [KIA]aze General 2 05-03-2007 06:58 AM


All times are GMT -5. The time now is 05:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration