← Back to team overview

torios team mailing list archive

Re: Yet another Update!

 

Hi Israel, Jack and all other ToriOSers,

I have used mkusb from a USB without persistence. I used sftp to get it
from my 'production computer', and it worked in an Ubuntu based system.
I use it in 9w, which comes with an iso file, and can run from CD, an
older version so far, but yes, it does work.

I have continued testing, and there is a bug associated with the menus
to select the source file: Both when selected via the built in directory
and file selectors of 'dialog' and 'zenity', there are problems with
directory and file names containing non-standard ascii characters.

For example, in the Swedish locale, the directory 'Downloads' is renamed
to 'Hämtningar', and the letter ä (a-umlaut) makes it fail. It works if
I let 'find' find it from a level above (for example my home directory).
And it works if I make a symbolic link to it with a 'proper name', using
only standard alphanumeric characters. I think both built-in selectors
see the Swedish characters 'åäö' and probably many other non-standard
character in a different way than bash commands.

And yes, I set

LC_ALL=C
LANG=C

in the beginning of the script file mkusb as global environment
variables, it does not help.

Maybe I have to make a home-made file selector. Anyway, this is not a
problem, when mkusb is getting the information about the file via a
parameter, so a work-around would be to select the file in a separate
script, but that will make it more awkward to install mkusb. Maybe I can
save the string to disk and let another function of mkusb read it from
disk, and that way 'wash' the bad character, while still inside the one
and only script file.

Any ideas from you would be very welcome :-)

Best regards
Nio

Den 2014-07-28 17:31, Israel skrev:
> Hi Nio!!
> Thanks, I think we should include mkusb as our default startup disk
> creator (if that is ok).
> Does it work with CD/DVD drive?  I have never used dd on an optical disk.
> mkusb also follows all the requirements of ToriOS, it is fast light and
> easy to use.
> It is also very clear and simple to use :)
> 
> On 07/28/2014 08:34 AM, Nio Wiklund wrote:
>> Hi Israel,
>>
>> Nice to read about your work :-) I'm sure ToriOS will be a great distro,
>> when you are satisfied enough for iso testing.
>>
>> Best regards
>> Nio
>>
>> Den 2014-07-28 15:04, Israel skrev:
>>> Hi everyone!
>>> As you may know to shutdown the computer using 'shutdown -h now'
>>> you must be root.  So adding a 'shutdown' option to a menu requires
>>> something different.
>>> Most DE use dbus UPower for suspend and ConsoleKit for shutdown/restart...
>>> Anyhow... I added a simple shutdown dialog for ToriOS that uses these. 
>>> It is a simple hacky workaround (it uses system... eventually I will
>>> make it nice calling the actual functions, etc..)
>>> at this point as I am testing it.  I have uploaded it to a PPA... not
>>> the testing PPA... but a different PPA.
>>> https://launchpad.net/~israeldahl/+archive/ubuntu/muchotesting
>>> This is the extremely bleeding edge PPA where I will roll out changes
>>> first to make sure things don't go haywire :)
>>>
>>> The other news I have is about the Numix-Circle icons...
>>> I have been using them in JWM (which I use some of the time... I still
>>> need to do a few things to get it where I can daily use it and configure
>>> it easily... mainly easily add another panel).
>>> And they look nice.  Numix icons are SVG, so I had to convert them using
>>> a handy-dandy Bash script that uses inkscape to convert them....
>>> imagemagick was not working the way I wanted it to... though it works
>>> fine to scale the images down to a different size.  I have scaled the
>>> icons to 24x24 and they work just fine for me.
>>>
>>> Anyhow... if anyone wants to try out the new thing, feel free.
>>> But, you will have to switch PPAs to do it.
>>> Otherwise once I have tested things more, I will be pushing these
>>> changes to the master branch and update the PPA.
>>>
>>> The WM (maybe you could call it a DE by now?) is getting closer to being
>>> ready for another ISO for testing... but there are still a few things
>>> that need to be addressed (the Menu is a big one)
>>>
> 
> 



Follow ups

References