We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

how to change app background texture? [answered]

asked 2014-02-16 09:40:59 +0200

janick gravatar image

In sailfish, all apps have have a "sailfish skin effect" layer or texture blended on top of the background. How do I change this? Is it an image file that could be replaced or is it hard coded? I would like to try a smoother look without the fish skin effect.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Spam Hunter
close date 2015-10-01 16:07:35.989170

Comments

It would be nice if the background/texture combination would follow the ambience.

vattuvarg ( 2014-10-22 18:45:42 +0200 )edit

5 Answers

Sort by » oldest newest most voted
1

answered 2014-03-19 21:58:40 +0200

spacenewt gravatar image

updated 2014-03-20 02:42:05 +0200

Try graphic-shader-texture.png, this file is new with 1.0.4.20. I just made a new smooth semi-transparent picture to replace this one (same name, same size 16x16 px), and reboot, now I don't have to look at the "fish net" anymore, only a smooth background like before :)

edit flag offensive delete publish link more

Comments

Thanks, that did work.

janick ( 2014-04-01 20:41:40 +0200 )edit

@janick, you're welcome :) Although after a few trials and report from others, it doesn't really matter if the pic isn't made transparent. As long as it's "one solid color" it'll be made semi-transparent the same way in Silica algorithm.

spacenewt ( 2014-04-02 16:12:45 +0200 )edit
0

answered 2014-02-16 11:08:07 +0200

Mariusmssj gravatar image

Is it hard coded as part of the API. Silica components have a background transparency to work as part of the ambiance.

edit flag offensive delete publish link more

Comments

1

Thanks for your answer. However, it would be nice to configure the pattern in the future, but that's another story. I was just playing with highlight colors and thought that changing bg pattern would be interesting.

janick ( 2014-02-17 06:49:32 +0200 )edit

If you want to completely disable this pattern and use a custom app_background different to your ambience wallpaper open terminal and run

gconftool-2 -s /desktop/jolla/background/portrait/app_picture_filename -t string '/home/nemo/Pictures/Jolla/Your_custom_app_background.jpg'

You can alter the path to your picture ad libitum. (the command is a one liner so take care) ;)

Regards,

J4ZZ ( 2014-02-19 22:58:48 +0200 )edit

@J4ZZ - The original background image is .png not .jpg - just sayin' :)

Spam Hunter ( 2014-02-20 03:18:11 +0200 )edit

I know, just wanted to tell *.jpg works as well ;)

J4ZZ ( 2014-02-20 03:57:48 +0200 )edit
1

@J4ZZ - That's cool mate, I didn't know .jpg worked as well. I thouhgt it must be .png for transparency - Everyday is a school day! :)

Spam Hunter ( 2014-02-20 22:38:50 +0200 )edit
0

answered 2014-02-19 17:23:37 +0200

Spam Hunter gravatar image

updated 2014-03-04 17:39:44 +0200

Hi Janick,

Textured File

I deliberately turned the image to take up less room on this page.

Regards,

edit flag offensive delete publish link more

Comments

Does the background change if that pyramid grid is altered?

vattuvarg ( 2014-02-19 19:40:49 +0200 )edit

Wow, replacing that will be my next move. Cool, thanks.

janick ( 2014-02-19 22:11:04 +0200 )edit

I replaced the image with no effect. The replacement was similar sized png with all pixels black.

janick ( 2014-02-23 11:43:16 +0200 )edit

btw, strangely, that pyramid texture is 480x854 pix in size. Thus not jolla native size.

janick ( 2014-02-23 13:15:33 +0200 )edit

@Markkyboy - Is that pyramid patterned image (the one with green text) the original size? ...or did you change it to fit the forum page?

vattuvarg ( 2014-02-23 13:45:48 +0200 )edit
0

answered 2014-02-23 12:27:25 +0200

vattuvarg gravatar image

updated 2014-03-19 23:37:38 +0200

@janick - I presumed the background was 540x960px and created a new one with gimp. Indexed to 256 levels of grey (i hope).

Edit - Replaced the squircleNoise background with the symmetric sagradaFamilia one. It is now 480x854px as the pyramidSkin. (I picked the name because of MWC 2014). Does anyone know how to change the masque pattern?

Edit - Updated the sagradaFamilia texture. ...and still hope there is a way just to experience the difference to the original pyramid texture.

Edit after Ohijärvi release
Created a new full size (540x960px) shader texture (gaudian.shader) and uploaded it. No time to test it tonight, though. Need to sleep.

gaudian.shader.png

edit flag offensive delete publish link more

Comments

ok and wgat did you do with it? And what was the results?

janick ( 2014-02-23 13:20:17 +0200 )edit

I haven't done anything with it. :( I just thought you should have something to use for your experiments.

vattuvarg ( 2014-02-23 13:47:03 +0200 )edit

Maybe the diffusor texture is loaded at boot time?

vattuvarg ( 2014-02-23 22:43:46 +0200 )edit

Did anyone get the Gaudian Shader pattern to work as the texture? I didn't...

vattuvarg ( 2014-10-22 18:43:34 +0200 )edit
0

answered 2014-03-19 21:21:42 +0200

vattuvarg gravatar image

updated 2014-03-19 21:23:53 +0200

The masking pattern is also used for the glass effect. ...so the itch to change the pattern is bad... If I say "please", maybe?

edit flag offensive delete publish link more

Comments

That pattern is tiny. ...but it's worth a try nonetheless.

vattuvarg ( 2014-03-19 22:22:32 +0200 )edit

It's used by tiling it up, as in repeat the pattern with simple script so it can be used many places without making a big picture that takes longer to load. This is the same way to do it for web pages for example.

spacenewt ( 2014-03-19 22:33:05 +0200 )edit

So the size could be changed too?

vattuvarg ( 2014-03-19 22:38:35 +0200 )edit

Look at the tiles your bathroom, only in the virtual world you can use the same tile over and over and it doesn't matter how big it has to fill, it just keeps repeating until it reaches the size limit set by the developer.

spacenewt ( 2014-03-19 22:55:09 +0200 )edit

So the sagradaFamilia pattern could be used without a performance penalty? The bigger pattern should need more processor effort to render. I'm just guessing.

vattuvarg ( 2014-03-19 23:12:42 +0200 )edit

Question tools

Follow
3 followers

Stats

Asked: 2014-02-16 09:40:59 +0200

Seen: 1,190 times

Last updated: Mar 20 '14