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
Code:$ dpkg -L quick-usb-formatter ... /usr/share/apps/solid/actions/quickusbformatter.desktop ...
Code::~$ locate solid/actions /usr/share/kde4/apps/solid/actions
A possible fix: quick-usb-formatter/CMakeLists.txt
Replacing the line
Code: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:
Code:solid-hardware unmount %i
Code:Exec=solid-hardware unmount %i && /usr/bin/quickusbformatter -udi %i
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:
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
-
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.
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
-
Originally posted by Rog131 View Post...Last edited by michal.kvasnicka; Mar 04, 2013, 03:09 AM.
- Top
- Bottom
Comment
-
Feedback
So ... 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 distrosCode:[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
-
Originally 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
-
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
Comment