Author Topic: updated make live usb script  (Read 1200 times)

musonio

  • Guest
updated make live usb script
« on: November 02, 2009, 06:56:46 PM »
A post by melodie made me notice that the Make live usb script is no longer available in kde4.
I took the script from a kde3 install I had in a vbox and modified it into two different files.
One of them is purely zenity, which allows for it to be run from lxde, gnome, etc.
The other one is for kde4, since it uses kdialog.
However, I had to substitute two kdialog progress bars with zenity's, since the f* dbus is a f* mess when executing as root. I tried all the options but without success.

I tested both scripts in a 2gb spare pendrive and it worked beautifully with a downloaded lxde image.
If anyone is interested in testing and polishing them, feel free to do it.



[attachment deleted by admin]

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: updated make live usb script
« Reply #1 on: November 02, 2009, 07:08:26 PM »
Interesting.  I haven't had trouble with mkliveusb in my kde4 minime install, but, I have a Live-cd it would interesting to test on.  Neal:  Will try that, probably tomorrow, and let you know.   ;D
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

musonio

  • Guest
Re: updated make live usb script
« Reply #2 on: November 02, 2009, 07:12:36 PM »
How is it possible that you didn't have trouble? The script uses dcop instead of dbus.
I'm just curious.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: updated make live usb script
« Reply #3 on: November 02, 2009, 07:18:32 PM »
I don't know.  I build a live-usb out of my updated kde4 packaging system weekly, and I did it just last weekend.  I don't know.  Maybe next weekend it won't work?
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

musonio

  • Guest
Re: updated make live usb script
« Reply #4 on: November 03, 2009, 04:02:00 AM »
MY Mistake. Send this post to the trashcan.
I didn't know that the liveusb script came in the remasterme package.

EDIT:
I tested it and the dcop stuff does not work, as was to be expected. At least in my system, there is no progress bar, just two kdialog windows that sit idle on the screen.
« Last Edit: November 03, 2009, 04:06:06 AM by musonio »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: updated make live usb script
« Reply #5 on: November 05, 2009, 08:29:14 AM »
The zenity version should be fine for both KDE & gnome, as zenity is installed on all PCLOS iso releases... it just needs to be listed in the requirements for whetever package it ends up in so that the script cannot be broken by someone removing it.