XFCE 4.12 and 4.16: How to remove swap partition from Thunar and desktop?

Technical issues/questions of an intermediate or advanced nature.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

XFCE 4.12 and 4.16: How to remove swap partition from Thunar and desktop?

Post#1 by Rava » 31 Dec 2022, 13:31

Does anyone know a hack that disables the display of the swap partition as icon on the XFCE desktop and as device entry in the listing of thunar?

It cannot be mounted anyway. Above the screenshot what happens when you try mounting the device on the destkop, with the desktop icon.
Below the listing in Thunar with the context menu option of "mount" - which results in the same error as displayed above the yellow line.
Image
Cheers!
Yours Rava

User avatar
AcnapyxoB
Samurai
Samurai
Posts: 191
Joined: 24 Dec 2014, 10:15
Distribution: Porteus 5.01
Location: Planet Earth

XFCE 4.12 and 4.16: How to remove swap partition from Thunar and desktop?

Post#2 by AcnapyxoB » 31 Dec 2022, 14:48

Rava wrote:
31 Dec 2022, 13:31
Does anyone know a hack that disables the display of the swap partition as icon on the XFCE desktop and as device entry in the listing of thunar?
For Thunar:
right click on Devices and uncheck device that You don't like
https://disk.yandex.com/i/ynWZ0c44RWlA0w
From desktop:
Settings/Desktop/Icons (on the bottom) uncheck File System.
Porteus v5.01 KDE x86_64

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

XFCE 4.12 and 4.16: How to remove swap partition from Thunar and desktop?

Post#3 by Rava » 31 Dec 2022, 22:11

AcnapyxoB wrote:
31 Dec 2022, 14:48
For Thunar:
right click on Devices and uncheck device that You don't like
https://disk.yandex.com/i/ynWZ0c44RWlA0w
From desktop:
Settings/Desktop/Icons (on the bottom) uncheck File System.
Thanks Boxypanca.
Anyhow, I formatted the last NTFS partition that was there from the years defunct sm-Witless-7 into ext3 (I had to reboot first since some of my modules got linked from sda4 to sda1 ) … but now that only ext3 or ext4 partitions make up sda… the annoying swap partition ino longer visible by itself.
I dunno if that is because there is no longer not a single internal NTFS partition? That's the only change I did, but without using AcnapyxoB's tips the swap partition of sda6 is no longer displayed, not on the desktop, nor in thunar.
Cheers!
Yours Rava

Post Reply