Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Any LXDE flashdrive GUI manager ? [solved]
Any LXDE flashdrive GUI manager ? [solved]
Hello,
I'm using LXDE. I lack a simple graphical interface to manage my usb sticks and drives. Openbox allows me to mount and unmount them, that's all. For example I could use format and rename options.
I tried to do so using Gparted, but it is a rather heavy and time-consuming solution. Moreover it ended once with an unusable, unformatable flashdrive (even with a command-line software) that only Windows could format... I do not remember picking exotic features or doing something unusual with Gparted or the flashdrive.
I guess an Openbox tweak or a gui daemon could do the job simpler than a dedicated software.
Thanks for your tips.
I'm using LXDE. I lack a simple graphical interface to manage my usb sticks and drives. Openbox allows me to mount and unmount them, that's all. For example I could use format and rename options.
I tried to do so using Gparted, but it is a rather heavy and time-consuming solution. Moreover it ended once with an unusable, unformatable flashdrive (even with a command-line software) that only Windows could format... I do not remember picking exotic features or doing something unusual with Gparted or the flashdrive.
I guess an Openbox tweak or a gui daemon could do the job simpler than a dedicated software.
Thanks for your tips.
Last edited by Laadna on 2018-10-03 22:53, edited 1 time in total.
Re: Any LXDE flashdrive GUI manager ?
When you need root in a gui, it's never simple. Creating new filesystems(AKA formatting) and renaming a partition needs root. There seem to be at least two main ways, either through libparted (GParted and QtParted), or through udisks2 (Gnome Disks and KDE part Editor) and they require some type of auth stuff like dbus/policykit/etc which has a lot of dependencies. If you want to add all the dependencies, then I guess you can use them. There are probably several filemanagers that can do this also, but I don't use them. You can find out about them maybe from wikipedia file manager comparison.
https://en.wikipedia.org/wiki/Compariso ... e_managers
The light and simple, reliable way to do it is through terminal, logged in as root.
https://en.wikipedia.org/wiki/Compariso ... e_managers
The light and simple, reliable way to do it is through terminal, logged in as root.
resigned by AI ChatGPT
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Any LXDE flashdrive GUI manager ?
What exactly do you want to do with the storage devices?Laadna wrote:a simple graphical interface to manage my usb sticks and drives
I would second bw123's recommendation to do stuff from the command line if possible.
deadbang
Re: Any LXDE flashdrive GUI manager ?
Like I said, mostly format and label volumes. I don't mind command-line for stuff I do on a regular basis, otherwise I forget how to do it and I lose a lot of time searching for it again.
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: Any LXDE flashdrive GUI manager ?
You are confusing Linux with Windows or Dos,For example I could use format and rename options.
There is no 'format' command on a linux system, but try typing at the terminal:
Code: Select all
man mkfs
I don't know of any reliable GUI's that are versatile and reliable enough to be of much use, for this kind of thing.
I have heard some people mention "parted", or something like that, but have never used or tried it my self, I think if you do a search :
key words:
Code: Select all
How to format a flash drive using Linux CLI
Might get you some information. Gparted and most other GUI tools for this are very limited
as you have all ready seen.
There is not much anyone here can do to help you with that, I find it easy to remember, if I first , for example:I don't mind command-line for stuff I do on a regular basis, otherwise I forget how to do it and I lose a lot of time searching for it again.
Code: Select all
$ mkdir format-usb-drive
$ cd format-usb-drive
$ pwd (just to make sure)
$ format-usb-drive$ (now I am sure)
$ cat > notes.txt
For commands that should be run as root, I do open the "notes" as a normal user, in another window, on one side, I have the terminal open, and am using "su", so am root,..
simply copy/paste from the notes.txt, to the terminal prompt. No real need to remember much.
A screen shot would help explain, and maybe later will show one.
Some commands, that are very long, and difficult to remember, I make a simple KSH script, give it a easy name to remember, when I need to run the command, I just type the script name at the terminal prompt.
A example, to start my QEMU VM, and run Debian, the actual command is:
Code: Select all
cd /home/garry/Images/ISO-images/debianwheezy/
ulimit -d 3000000
qemu-system-i386 -localtime -net user -net nic -m 1000 -drive format=raw,file=debian.img
'start-debian', all I do, at the CLI prompt:
Code: Select all
$ start-debian
=============== edited ===========
Here some screen shots to hope fully clarify.
I noticed the OP mentions they are using OpenBox WM, that is a good start, I am using the same, in the above, you see how I started the VM, and also have it on my screen.
In a nut shell , most , if not all GUI's are limited to only performing the tasks, and commands the designer decides to allow you to use. The terminal, however can be used to run any command , if it exists as a command you decide you need.
The only use full GUI, might be a good file manager, and also a good text editor. What is good ?, this is something only you can decide, based on trying various, and you will find what suites your needs best. I like "leafpad", but sometimes, I need to use "joe" or "nano", the same may apply to the file manager, one that you like, might not work so well for certain tasks, so you have another you can use when need be.
To sum it up, you make your own GUI, that utilizes a filemanager, text editor, and terminal that you prefer. Then you start building your "libraries", these are directories,with names that tell you what they are for, no need to remember, the name should be clear, and with no spaces in the name. Each directory contains files that include notes, with the commands you used, and in some cases scripts, that run when you type or copy/paste the script name into the terminal, in fact the scripts can be made t run if you just click or double click them, I avoid that for reasons, 1 being a rather mischievous parrot, but that is another topic.
In this (above) It is a simple command, and I no longer need the "notes", I have it memorized, but it is for a example. In the Xterm window, the "scrnshot-3", is the script (command), it is more complicated and is a script I wrote that takes my screen shots, resizes them,to make a thumbnail, and then uploads both to the server. I do not need to remember everything involved in doing that at the cli, I just type "scrnshot-3", and then select the area on the screen , or the entire screen, ...the "command" (script does the rest), the others ,scrnshot-1, etc, are for other situations, so the command is slightly different.
Any way, my point is, instead of wasting your time looking for a GUI, that might not even exists, or if it does, it probably still will not have certain commands,or options that you might want or need, so instead of looking for the "perfect GUI", start exploring the various commands used by linux to prepare and make a filesystem on a flash drive. Keep good notes, then later you can use those same notes to make your own GUI,... hope I am not wasting my time here.
Last edited by GarryRicketson on 2018-09-30 18:15, edited 1 time in total.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
Re: Any LXDE flashdrive GUI manager ?
gparted.Laadna wrote:Like I said, mostly format and label volumes.
btw, openbox has nothing to do with any of this.
Re: Any LXDE flashdrive GUI manager ?
If you used Windows to reformat your flashdrive, you likely ended up with a vfat (msdos) file system. Vfat/msdos is old and will not accept files greater than 4GB. On the plus side, it can be mounted by just about any OS. Some of the newer usb hard drives come preformated with ntfs.Laadna wrote: Moreover it ended once with an unusable, unformatable flashdrive (even with a command-line software) that only Windows could format... I do not remember picking exotic features or doing something unusual with Gparted or the flashdrive.
Depending on what you are using your flashdrives for, you can partition your drive with multiple partitions and format the partitions with ext2/ext4, ufs, ntfs ....
The ability to read/write to ntfs, with Linux, requires the fuse module. Someone correct me if I'm wrong, but I do not believe that windows can mount ext2/ext4 or ufs file systems.
Re: Any LXDE flashdrive GUI manager ?
No I didn't. As a matter of fact, this package is already installed (I do not remember installing it though, and my system is pretty new). Any idea on how to access/use it ? Both udisks (which gnome disks claims to use) and gnome-disk-utility commands typed in the terminal are "not found".Bulkley wrote:Laadna, have you had a look at gnome-disk-utility ? It might solve your issues. Maybe not but easy to install from repository and test. It does work on my Openbox.
@GarryRicketson : I'm sorry you spent all this time writing. It does not answer my question nor does it solve my problem. I specifically asked for a non-command line solution (which I can search online in a matter of seconds).
@shep : Thank you too, I am not asking for a Gparted support I just mentioned it to avoid someone suggesting it to me as a proper solution.
Re: Any LXDE flashdrive GUI manager ?
You used the term "manage" in your original post. If you mean access the contents you may need gvfs-backends.
https://packages.debian.org/stretch/gvfs-backends With this, the contents of the flash drive should show up in a complaint file manager - ie pcmanfm.
https://packages.debian.org/stretch/gvfs-backends With this, the contents of the flash drive should show up in a complaint file manager - ie pcmanfm.
Re: Any LXDE flashdrive GUI manager ?
I also have this package installed. I don't know what you mean. My previous question was : how can I access or use gnome-disk-utility, which may be a solution ?
I already have a gui file manager (it's pcmanfm by the way, I thought it was openbox 'cause it's supposed to be the default lxde file manager). With the file manager I access the content of a flashdrive. I can also mount and unmount it. What I can't do, and I want to do, is format/rename my flashdrives. Either within this file manager or with a dedicated software (as long as it's something light, ie not Gparted) I don't really care.
I already have a gui file manager (it's pcmanfm by the way, I thought it was openbox 'cause it's supposed to be the default lxde file manager). With the file manager I access the content of a flashdrive. I can also mount and unmount it. What I can't do, and I want to do, is format/rename my flashdrives. Either within this file manager or with a dedicated software (as long as it's something light, ie not Gparted) I don't really care.
Re: Any LXDE flashdrive GUI manager ?
you can probably find it with apropos
I don;t use gnome, but it might be called disks, or gnome-disk, gnome-something? try looking in /usr/share/doc/gnome-disk-utility or /usr/share/applications at it's .desktop file for the command to run it.
Code: Select all
apropos disk
apropos format
apropos partition
apropos gnome
resigned by AI ChatGPT
Re: Any LXDE flashdrive GUI manager ?
i wonder how you got the impression that gparted isn't light enough?Laadna wrote: (as long as it's something light, ie not Gparted)
Re: Any LXDE flashdrive GUI manager ?
It takes like 30 seconds to launch the software, during which my computer is freezing.
The package name is gnome-disks, thanks bw123 for the trick.
The package name is gnome-disks, thanks bw123 for the trick.
Re: Any LXDE flashdrive GUI manager ?
it takes a while to read in all the devices.Laadna wrote:It takes like 30 seconds to launch the software, during which my computer is freezing.
try Ctrl-R in gparted, does that also take 30s?
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: Any LXDE flashdrive GUI manager ? [solved]
Or invoke it from terminal and specify the device you want to tweak:
or whatever your flashdrive might be. Saves searching all partitions on all drives.
Code: Select all
sudo gparted /dev/sdc