← Back to team overview

torios-dev team mailing list archive

Re: More On Desktop Settings: RE: New Debian ISO

 


Hi Jack,
(inline)
On 05/08/2016 07:37 AM, Israel wrote:
...

On 05/08/2016 04:07 AM, Cinque Port Computers wrote:
Hi israel,

Installed: When choosing in 'Desktop Settings' , 'Choose Color' and/or 'Choose Gradient' , I can choose what I want to change but after clicking 'OK' nothing on the desktop seems to change concerning the background.

This is a very odd problem.
The issue is with pcmanfm.
For some reason it does not like SVG files.

The way I make pcmanfm use gradients is by creating an svg file in the users home directory... unfortunately pcmanfm does not like me to set it from my program... I can run the same exact command in a terminal and it works flawlessly.... It works just fine for png/jpg files (as you know)... assuming the file permissions/non-duplicate wallpaper entries...

My two options are to create a different file type (like use some library to actually make a png from the svg) or make an xbm... though that is quite a bit more complicated than the SVG... If you open an xbm image in a text editor and an svg image in another editor window you will know what I mean.
svg is an XML document.
xbm is basically a c/c++ header... it is a 'static char' array where each char (this is a single character) is mapped as an html color. Then there is an array of those characters in the place of individual pixels...

Anyhow... I don't understand enough about xbm images to generate one... svg gradients are super easy
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <svg>
       <defs>
<linearGradient id = "g1" x1 = "50%" y1 = "0%" x2 = "50%" y2 = "100%">
            <stop stop-color = "#770d3f" offset = "0%"/>
            <stop stop-color = "#194673" offset = "50%"/>
        </linearGradient>
    </defs>
    <rect x="0" y="0" width="1280" height="990" fill="url(#g1)" />
</svg>

Which is why I did this for pcmanfm...
I suppose I should just hide the color/gradient for now. Since there is no simple way to make pcmanfm recognize me setting the background...
Cheers,
JackT.



> To: nio.wiklund@xxxxxxxxx; torios-dev@xxxxxxxxxxxxxxxxxxx
> From: israeldahl@xxxxxxxxx
> Date: Sat, 7 May 2016 06:55:53 -0500
> Subject: Re: [Torios-dev] New Debian ISO
>
> Great I am going to mail the general list now
>
> On 05/07/2016 03:08 AM, Nio Wiklund wrote:
> > Den 2016-05-07 kl. 04:34, skrev Israel:
> >> Hi everyone,
> >> please test this new one, it should be really good.
> >> Ali is going to test and then we can release soon!!!
> >>
> >
> > Hi Israel and all other readers of the Torios-dev mailing list,
> >
> > I tested the current ToriOS-Debian-daily iso file (dated-2016-05-07),
> > and Israel has squashed the big swap bug :-)
> >
> > I see no show-stopping bug in this version. Please test it as soon as
> > possible, and please let us know, if you think it is good enough, or
> > if you have found a show-stopping bug!
> >
> > Remember to test the
> >
> > - live system,
> > - installer,
> > - installed system.
> >
> > I hope and think it is ready to be released :-)
> >
> > Best regards
> > Nio
>
>
> --
> Regards
>
>
> --
> Mailing list: https://launchpad.net/~torios-dev
> Post to : torios-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~torios-dev
> More help : https://help.launchpad.net/ListHelp


--
Regards




--
Regards


References