Gparted starts scanniing all drives/partitions. How to choose what drive to scan and only it

Moderator: Forum moderators

Post Reply
User avatar
bigpup
Moderator
Posts: 6315
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 741 times
Been thanked: 1301 times

Gparted starts scanniing all drives/partitions. How to choose what drive to scan and only it

Post by bigpup »

BookwormPup64 10.0.6
Frugal install using save folder.

When Gparted is started it will scan all drives on the computer and all partitions.
If you have several drives this can take a long time.

In the older versions of Puppy Linux.
When you selected to run Gparted a drive selection window would first pop up.
You used this to select what drive you wanted Gparted to work on. The selected device.
Gparted started and only scanned that specific drive and then displayed it in Gparted main window.

I wanted Gparted in BookwormPup64 to start this way. Provide this drive list when first started.
All the needed programs are in BookwormPup64 except the gparted.desktop file with the correct exec= command.

What needs to run is the gparted_shell file.

In usr/share/applications find the gparted.desktop file and open it in a text editor.
change the exec= command to this:

Code: Select all

exec=gparted_shell

Save the change.

Now when I click on menu entry for Gparted.
It first shows the drive selection list.
Choose the drive you want to work on.
Gparted scans only that specific drive and displays it in it's main window.

You do loose the ability to select another drive in the running Gparted.
To select a different drive.
Close Gparted and start it again.
Select a different drive from the list.

Note:
Choose all drives option in the list to be able to select other drives in the running Gparted.
.

Screenshot.jpg
Screenshot.jpg (29.93 KiB) Viewed 157 times

.
.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Jasper
Posts: 1630
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 698 times
Been thanked: 367 times

Re: Gparted starts scanniing all drives/partitions. How to choose what drive to scan and only it

Post by Jasper »

Good tip :thumbup2:

If you are using a different OS, you might find the script is located in

/usr/sbin

Simply, create a symlink in

usr/bin

and it should function as described.

Post Reply

Return to “BookwormPup”