Removing Drive Icons from the Desktop
Removing Drive Icons from the Desktop
Hi all,
I'm booting from a USB stick.
After booting, drive icons for the hard disk partitions (sda1, sda2, etc.) appear on the screen, totaling 5 partitions.
I can unmount these using the command umount /mnt/sda1 and so on.
However, I want these icons to disappear completely, except for sda4.
Is this possible?
If yes, how?
Thank you very much.
I'm booting from a USB stick.
After booting, drive icons for the hard disk partitions (sda1, sda2, etc.) appear on the screen, totaling 5 partitions.
I can unmount these using the command umount /mnt/sda1 and so on.
However, I want these icons to disappear completely, except for sda4.
Is this possible?
If yes, how?
Thank you very much.
- ncmprhnsbl
- DEV Team
- Posts: 4091
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing Drive Icons from the Desktop
seems like it's all or nothing in this case.
see: rightclick on desktop> Desktop Settings.. > Icons > Default icons (box) > Removable Devices > Disks and Drives
somebody else might know some trick to do what you want.
EDIT: a workaround might be to:
1. do the above
2. then in thunar, go to /mnt/, rightclick on sda4 > Send To > Desktop (Create Link)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Removing Drive Icons from the Desktop
Hi ncmprhnsbl,
I removed the relevant entries in the file
/home/guest/.config/xfce4/desktop/icons.screen.latest.rc
But after restarting, the entries are back and the icons are arranged differently.
I removed the relevant entries in the file
/home/guest/.config/xfce4/desktop/icons.screen.latest.rc
But after restarting, the entries are back and the icons are arranged differently.
Removing Drive Icons from the Desktop
hi, go to setting desktop you have three panel the last is icon deselect what you want on,and after if you want you can create a link to the device you want show up PS: i suppose you have changes activated,
Removing Drive Icons from the Desktop
Hi beny,
However, I want these icons to disappear completely, except for sda4.
And that cannot be realized!
As ncmprhnsbl said:
"seems like it's all or nothing in this case." !!
However, I want these icons to disappear completely, except for sda4.
And that cannot be realized!
As ncmprhnsbl said:
"seems like it's all or nothing in this case." !!
Removing Drive Icons from the Desktop
hi roro you can do this with thunar open thunar you have the list of the mounted device click with the right mouse button you have a "send to" that can create a link on desktop try it
Removing Drive Icons from the Desktop
Hi beny,
"you have the list of the mounted device" ???
How do I get this list?
"you have the list of the mounted device" ???
How do I get this list?
Removing Drive Icons from the Desktop
hi roro, porteus have a script that remake the fstab at boot everytime, and if you don't have a cheatcode that mask hard disk you can have the list of the device discovered by fstab,ok not mounted but if you choose one you have to enter the password or use the sudo option,if you use the xfce4 and thunar like file manager you have this in the left panel named places,also if you boot the usb key on a windows system on a notebook you have the list of the partitions,the windows policy allow you to open or not the hard disk,but again click on the device on thunar right mouse button menu and you have a "send to" option choose desktop and you have the link on desktop of your partion ready to use
- Ed_P
- Contributor
- Posts: 8574
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Removing Drive Icons from the Desktop
This works roro.
Code: Select all
cat /var/log/porteus-livedbg | grep "/dev/"
Removing Drive Icons from the Desktop
hi roro, open thunar go on preferences,file manager prefernces,advanced, take a look if you have the volume management activated, with gvfs you can see all the devices when are connected also the usb devices,maybe you don't have activated it
Removing Drive Icons from the Desktop
With this command, it should be possible to remove the icon for sda1 from the screen.
But how do I get the xzm module for gvfs?
But how do I get the xzm module for gvfs?
Code: Select all
gvfs-set-attribute -t boolean /mnt/sda1 metadata::hidden true
- ncmprhnsbl
- DEV Team
- Posts: 4091
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Removing Drive Icons from the Desktop
porteus comes with gvfs (in 002-xorg)
and it seems that gvfs-set-attribute is an older feature that has been dropped from more recent gvfs.
might be possible to the same with gio directly ..something like
Code: Select all
gio set -t 'string' /mnt/sda1 'metadata::hidden' 'true'
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Removing Drive Icons from the Desktop
Hi ncmprhnsbl,
I've now tried gio too.
No success
What roro wants is probably not possible?
I've now tried gio too.
No success
What roro wants is probably not possible?
Removing Drive Icons from the Desktop
hi roro, also the old way work in this task example:terminal sudo fdisk -l give you a list of the modules mounted and hard disk to so you can open another terminal sudo ln -s /mnt/sdx1 Desktop, btw if you use the key on other computer with a different devices index,maybe the device name is different,but this is a thing that you know,ok as you wish is a link so you can remove without issue if don't match device name.