what makes a disk icon appear on the desktop in Xfce?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what makes a disk icon appear on the desktop in Xfce?
what makes a disk icon appear on the desktop in Xfce? some process has be doing this. if i create a .desktop file with the appropriate settings in it in my ~/Desktop directory then those icons get added to the desktop (i've added over 200, some auto-generated). i'm curious how the icons for mountable disk space are handled.
That's a configurable setting. Right-click on any unoccupied space on the desktop, select Desktop Settings, the Icons tab, and at the bottom there is an area called Default Icons. Tick the box of the ones you want displayed, uncheck the ones you don't.
went there. it shows these: Home, Filesystem, Trash, Removable Devices. all appear to be selected and i do want these 4. i'm more asking about a particular removable device. i want to know what makes each of these show up. does it scan for devices or is a message sent to it? and where does it keep all the details about each device so that it knows what to do when a mount is requested by someone who is authorized? what about devices like plug-in devices, as opposed to permanent devices, as seen by non-sudo users?
When a device is connected, an entry is made in /dev, which is the directory for devices. Disks are identified in /dev/disk. Explore your /dev directory and you may find more interesting details.
I don't know what rls is. What OS/distro is that from? The prompt is also unfamiliar to me. If you're running something other than mainstream Linux, I have no idea how things are done on your system.
rls is a program i created to list recursively in an easier way than ls or find. the +b option tells it to list only block devices.
Code:
lt2a/forums /home/forums 63> rls -h
rls version 0.9.0
syntax:
rls [options] [names]
single letter options may be combined in a single command line token:
-0 -1 -2 -3 -4 -5 -6 -7 -8 -9 maximum depth
-a append '/' to directory names
-b show blocks allocated
-d -D show date (-d for local, -D for UTC)
-g -G show group name (-G for group number)
-h -H show this help and quit
-i show inode
-l show long format
-L show number of links
-m show mode
-n append nanoseconds to time (if available)
-N append nanoseconds to time (if available)
-p show where link points to
-q output nothing
-s show size
-S show time/date as raw seconds
-t -T show time and date (-t for local, -T for UTC)
-u -U show user name (-U for number)
-V show version number and quit
+a select directories (ascending)
+b select block devices
+c select character devices
+d select directories (descending)
+h +H show this help and quit
+f select regular files
+l select symlinks
+p select pipes
+s select sockets
+V show version number and quit
assignment options must be in separate command line tokens:
cd=<directory> change to this directory (multiple)
maxdepth=<num> maximum recursion depth
lt2a/forums /home/forums 64>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.