Announcement
Collapse
No announcement yet.
quick usb formatter
Collapse
This topic is closed.
X
X
-
OT: Sorry jacking the thread but, I am in my 3rd year of medical skool I want my Phd before my gray hair gets here.
@dmeyer: A neckbeard never, but there is no spoon! LoL
@claydoh: I had a crappy USB stick that "refused" formatting yet worked on my friend's Xbox 360. I was only able to format it on there. I told my room mate it was a Microsoft Conspiracy!
So is this thing solved yet michal.kvasnicka?
- Top
- Bottom
Comment
-
Not solved yet, as the ppa build server is being slloooowwww, slower than usual.
https://launchpad.net/~claydoh/+archive/utils/+packages
the packages will be there, some of the 32 bit packages are built, the 64 bit ones are still waiting, some hours wait though.Last edited by claydoh; Mar 02, 2013, 06:04 PM.
- Top
- Bottom
Comment
-
Quick Usb Formatter - at here
quick-usb-formatter_0.4.1-0ubuntu1_amd64.deb (Raring)
The desktop file
The Kubuntu is using:Code:$ dpkg -L quick-usb-formatter ... /usr/share/apps/solid/actions/quickusbformatter.desktop ...
The path is wrong -> No solid actions.Code::~$ locate solid/actions /usr/share/kde4/apps/solid/actions
A possible fix: quick-usb-formatter/CMakeLists.txt
Replacing the line
with theCode:install(FILES quickusbformatter.desktop DESTINATION ${DESKTOP_SOLID_ACTION_DIR})
Code:install(FILES quickusbformatter.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
By the http://techbase.kde.org/Development/...Addons_for_KDE
DATA_INSTALL_DIR - the parent directory where applications can install their data
Then
Code:$ dpkg -L quick-usb-formatter ... /usr/share/kde4/apps/solid/actions/quickusbformatter.desktop ...
Test1
Failure

Konsole output
Code:****************** DETECTED USB DEVICES ("/dev/sdd1") ********************************************** >> Volume is mounted, trying to unmount it >> Volume as been unmounted **** FORMATTING AS FAT 32 EXEC COMMANDS : mkdosfs ("-n", "TEST1", "-v", "/dev/sdd1") mkdosfs 3.0.14 (23 Jan 2023) /dev/sdd1: No such file or directory UNABLE TO FORMAT
The solid action is mounting the USB device and the quick-usb-formatter is unmounting it -> The device is removed from the device list (/dev/sdd1) -> An error message: "/dev/sdd1: No such file or directory"
By the http://techbase.kde.org/Development/...Device_Actions & "solid-hardware --help"
The device can be unmounted by the command:
Trying with the quick-usb-formatter/quickusbformatter.desktop exec key:Code:solid-hardware unmount %i
There is an error:Code:Exec=solid-hardware unmount %i && /usr/bin/quickusbformatter -udi %i
From the Natty (?) onwards the Ubuntu has needed the admin rights to format things.Code:****************** DETECTED USB DEVICES ("/dev/sdd1") ********************************************** >> Volume is unmounted **** FORMATTING AS FAT 32 EXEC COMMANDS : mkdosfs ("-n", "TEST2", "-v", "/dev/sdd1") mkdosfs 3.0.14 (23 Jan 2023) /dev/sdd1: Permission denied UNABLE TO FORMAT
Trying with the quick-usb-formatter/quickusbformatter.desktop exec key:
The wait/sleeps are there to give the system time to end the processes.Code:Exec=sleep 2 && solid-hardware unmount %i && sleep 1 && kdesudo bash -c "/usr/bin/quickusbformatter -udi %i"
With these fixes the quick-usb-formatter seems to work here - famous last words ?
The root password is needed.

Success...
Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
-
OK ... thanks for your lesson how to operate Linux system at family environment. But I am very sure that your advice is completely out of reality...Originally posted by Simon View PostYIKES!!
In my opinion this is like handing your kids a can of gasoline and a box of matches... You should either;A) educate them on how the system works
B) deal ALL the system administration yourself
How often do you really need to format a USB? I normally wipe the files. If I had kids I would educate them in terminal;
using dmesg to find the drive dev id, unmount the drive, and format.
and then tell them to just use the KDE Partition Manager. On second thought, I wouldn't even give my wife root access if I had a wife.Code:dmesg | tail sudo umount /dev/sdc sudo mkdosfs -n 'MyUSB' -I /dev/sdc
Good Luck!
Last edited by michal.kvasnicka; Mar 04, 2013, 02:26 AM.
- Top
- Bottom
Comment
-
So ... the deb packages on https://launchpad.net/~claydoh/+archive/utils/+packages are still non-working? Am I right?Originally posted by Rog131 View Post...Last edited by michal.kvasnicka; Mar 04, 2013, 03:09 AM.
- Top
- Bottom
Comment
-
Feedback
Well - you could test and tell usSo ... the deb packages on https://launchpad.net/~claydoh/+archive/utils/+packages are still non-working? Am I right?
An Example
(at here)
Downloading the quick-usb-formatter_0.4.1-0ubuntu1_amd64.deb, installing it.

testing...

Not working at here - there is no solid action to format.
A fix - working at here.
Opening a file manager with proper rights (kdesudo dophin).
Splitting the window - left window: /usr/share/apps/solid/actions/ - right window: /usr/share/kde4/apps/solid/actions
Drag & drop the quickusbformatter.desktop from the left window to the right window.
Picking the "Link Here" option.

testing...
Working at here - there is the option to format.

But the format is not working.
A fix - working at here.
Opening the /usr/share/apps/solid/actions/quickusbformatter.desktop with a text editor. Editing the "Exec" line.

Here the working exec key is:
Code:Exec=sleep 2 && solid-hardware unmount %i && sleep 1 && kdesudo bash -c "/usr/bin/quickusbformatter -udi %i"
Last edited by Rog132; Mar 04, 2013, 04:47 AM.A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
Searching FAQ's: Google Search 'FAQ from Kubuntuforums'
- Top
- Bottom
Comment
-
-
The git code (probably what Chakra uses for their current releases) does incorporate the change which make it easier to use on other distrosBuilding it now for testing in raring, we'll see how she goes. It compiled locally and works fine, formatting all basic types, except for ntfsCode:[COLOR=#333333]install(FILES quickusbformatter.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)[/COLOR]
- Top
- Bottom
Comment
-
Ok testers needed
https://launchpad.net/~claydoh/+archive/utils
The only bug i can see outside of the lack ntfs formatting, is that the applet will crash if it is left open , when selecting another (or the same) flash drive to format in the device notifier.
- Top
- Bottom
Comment
-
Wow, still going at this? Maybe the USB device is busy and you need to shut something off?
Well over here is my bash script I cooked up check it out.
- Top
- Bottom
Comment
-
K ,,,will do tomorrow , I'm in my Slackware install at the moment ,,,,,why no NTFS ? although that wouldn't be optimal for a flash drive anyway now would itOriginally posted by claydoh View PostOk testers needed
https://launchpad.net/~claydoh/+archive/utils
The only bug i can see outside of the lack ntfs formatting, is that the applet will crash if it is left open , when selecting another (or the same) flash drive to format in the device notifier.
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
Oh, probably because I didn't make it a dep of the package, or similar.Originally posted by vinnywright View PostK ,,,will do tomorrow , I'm in my Slackware install at the moment ,,,,,why no NTFS ? although that wouldn't be optimal for a flash drive anyway now would it
VINNY
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.

If you weren't always messing around with the "matrix" then maybe you'd find a wife







Comment