maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [PATCH] Desaturate instead of blur (hildon-desktop) (https://talk.maemo.org/showthread.php?t=68512)

thp 2011-01-17 12:03

[PATCH] Desaturate instead of blur (hildon-desktop)
 
Another patch, after an idea by MohammadAG - removes the blurring and instead amplifies the desaturation. I'll leave it to others to clean up the patch and merge it into MHD or any of the builds that are floating around ;)

Get it here: "noblur" Patch against hildon-desktop_2.2.140-1+0m5

If you do not fear scratchbox, just:

Code:

apt-get source hildon-desktop
patch < /path/to/hildon_desktop_noblur.patch
cd hildon-desktop-2.2.140
dpkg-buildpackage -rfakeroot -b
cd ..
scp hildon-desktop_2.2.140-1+0m5_armel.deb n900:
ssh n900
sudo gainroot
dpkg -i hildon-desktop_2.2.140-1+0m5_armel.deb
killall hildon-desktop

http://thp.io/2011/maemo/hildon_desk...ur_appmenu.png

http://thp.io/2011/maemo/hildon_desk...ur_desktop.png

http://thp.io/2011/maemo/hildon_desk...ur_dialogs.png

F2thaK 2011-01-17 12:10

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
hmmm. cool. but why?

ivnvir 2011-01-17 12:15

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
is it faster?

F2thaK 2011-01-17 12:22

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

apt-get source hildon-desktop
patch < /path/to/hildon_desktop_noblur.patch
cd hildon-desktop-2.2.140
dpkg-buildpackage -rfakeroot -b
cd ..
scp hildon-desktop_2.2.140-1+0m5_armel.deb n900:
ssh n900
sudo gainroot
dpkg -i hildon-desktop_2.2.140-1+0m5_armel.deb
killall hildon-desktop
can you do this on N900?

thp 2011-01-17 12:23

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by f2thak (Post 922230)
hmmm. cool. but why?

Why not? It makes it easier to see what's behind the current popup, so when you go back, you can already target the next UI item (unscientific, non-evaluated guess). It also looks better IMHO, but you are free not to use it.

Quote:

Originally Posted by ivnvir (Post 922234)
is it faster?

Yes, because there is no need to blur iteratively multiple times (which is how the blur is implemented AFAICT).

MohammadAG 2011-01-17 14:49

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
THANKS!

I didn't expect you'd get this working in less than a day!
Again, thanks a heap!

Char 2011-01-17 14:54

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
a bit confused
how is this different from editing transitions.ini, disabling the blur and making the saturation zero?

MohammadAG 2011-01-17 15:40

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

Mentalist Traceur 2011-01-17 17:39

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Question: do those sources (or Mohammad's preopackaged deb) include the thing that enables portrait-mode status-menu opening (the hildon-desktop part, obviously, not the hildon-status-menu part)? Because that's far more valuable to me than this. (Or, indeed, than the entire SSU, probably - in that I would wait until I could figure out how to readd portrait mode status menu opening before bothering to upgrade to community SSU.)

tHMZ 2011-01-17 17:40

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 922360)
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

WOW thanks! And you included faster menu scrolling :D:D Huge thanks to both of you! :)

Char 2011-01-17 17:51

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 922360)
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

Ah, okay, thank you

anla 2011-01-17 18:55

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Hello guys.

A stupid question.

i get an error on application manager while trying to install it.

"unable to update hildon-desktop
incompatible application package"

Any solution?

Thanks

sony123 2011-01-17 19:26

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Suggestion: Can you make it a tunable variable via transition.ini?

hawaii 2011-01-17 19:26

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by Mentalist Traceur (Post 922426)
Question: do those sources (or Mohammad's preopackaged deb) include the thing that enables portrait-mode status-menu opening (the hildon-desktop part, obviously, not the hildon-status-menu part)? Because that's far more valuable to me than this. (Or, indeed, than the entire SSU, probably - in that I would wait until I could figure out how to readd portrait mode status menu opening before bothering to upgrade to community SSU.)

Yes, it supports portrait hildon-status-area. Patches applied to the SSU are done so on top of the existing modified code base, unless they conflict. You should be getting all of the previous modifications plus added ones - the filenames on MAG's hosting denote the applied patch.

MONVMENTVM 2011-01-17 20:03

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Thanks, that's nice, especially if it's saving some resources. I'm not seeing much of a difference in speed when the n900 is idled but I can imagine that there will be a greater difference when the CPU and GPU are under stress.

But would it be possible to make the background just way darker, instead of making it monochrome. Grey doesn't fit some themes like Okuda very well.

Carlito 2011-01-17 20:55

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by anla (Post 922495)
Hello guys.

A stupid question.

i get an error on application manager while trying to install it.

"unable to update hildon-desktop
incompatible application package"

Any solution?

Thanks

same problem here.

mattbutsko 2011-01-17 21:28

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
SuperBadass.

poogash 2011-01-17 21:32

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by Carlito (Post 922596)
same problem here.

you need to use the dpkg -i cmd in xterm (rooted)

mikki-kun 2011-01-17 21:38

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Wow, that looks now way better than the standart blur. Thanks for this patch I absolutely love it :) Works good with the Array-Theme.
Thanks as well for MohammadAG for making a .deb out of it :)

Making the N900 always one bit better :) You guys rock!

Cheers,

mikki-kun

rantom 2011-01-17 21:42

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 922360)
Disabling blur overrides 0 saturation, try it yourself, you'll see the background as it is, this patch makes it more ala Symbian^3 or MeeGo, a bit more resource friendly.

Oh and here's a deb with this applied on top of http://gitorious.org/community-ssu/hildon-desktop

http://mohammadag.xceleo.org/public/...rize_armel.deb

Doesn't work properly. It does install the drop-down menu for portrait (Status) but it's glitched. It only opens and then immediately closes, no functions to use. This only happens in portrait (and if portrait control-panel was also supposed to be here, it's not).

MohammadAG 2011-01-17 21:46

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Did you install the patched hildon-status-menu?
http://talk.maemo.org/showthread.php?t=66586
Skip the desktop steps; i.e:
Code:

wget http://mohammadag.xceleo.org/public/maemo/debfiles/portrait/hildon-status-menu/hildon-status-menu_0.3.39+0m5_armel.deb
dpkg -i hildon-status-menu_0.3.39+0m5_armel.deb
killall hildon-status-menu

Control panel is not related to the desktop.

rantom 2011-01-17 21:49

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 922624)
Did you install the patched hildon-status-menu?
http://talk.maemo.org/showthread.php?t=66586
Skip the desktop steps; i.e:
Code:

wget http://mohammadag.xceleo.org/public/maemo/debfiles/portrait/hildon-status-menu/hildon-status-menu_0.3.39+0m5_armel.deb
dpkg -i hildon-status-menu_0.3.39+0m5_armel.deb
killall hildon-status-menu

Control panel is not related to the desktop.

Nope, just the one in this thread. I'm installing it now. I'll edit this post once I've done it.

Alright, done it, seems to work fine. I've got the 6-line long portrait-status now, thanks.

happymonkey 2011-01-17 21:51

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
MohammadAG/thp a very nice mod. It's very unintelligent to force the n900 to work at blurring the background making it virtually impossible to make out details on anything but the selected window. I wonder would it be possible to have the selected window have a lesser opacity 0.7? Providing the possibility to see possibly vital information below the in focus window?

MohammadAG 2011-01-17 21:58

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
You can edit /usr/share/hildon-desktop/transitions.ini, the part that has radius and radius_more is what you want.
Change those 2 to 1, and play with brightness and saturation.

M00NB34M 2011-01-17 22:21

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Hey Mohammed!

Im a bit stumped to get this working with your previous hildon patch, the one with Kinetic scrolling + Matans desktop!

The deb you stuck on here doesnt wanna overwrite schemas and dpkg isnt liking it! Just errors encountered message! Whats am i doing wrong?

P.s. is there any way i can get portrait status bar working aswell without losing kinetic scrolling and Matans desktop?

Thanks!

OH AND A BIG BIG BIG BIG BIG BIG THANKS TO THP :) This seems AWESOME!!!!!

F2thaK 2011-01-18 04:56

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by thp (Post 922242)
Why not? It makes it easier to see what's behind the current popup, so when you go back, you can already target the next UI item (unscientific, non-evaluated guess). It also looks better IMHO, but you are free not to use it.



Yes, because there is no need to blur iteratively multiple times (which is how the blur is implemented AFAICT).

i will use it as its faster, thanks!
just wasnt sure if it had any uses other than looks..

also, all this needs is to be combined with single column thumbnail multitasking ! ultimate MOD then!

THANKS thp and MAG

Carlito 2011-01-18 08:44

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Can't get it working. Can't install. Says it isn't compatible. . .

rantom 2011-01-18 08:56

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by Carlito (Post 922871)
Can't get it working. Can't install. Says it isn't compatible. . .

I assume you have rootsh installed. If so, type root in X-Terminal. If not, install it from the Extras. Now type gainroot in X-Terminal. After that:

Code:

dpkg -i /location/of/file
That should do it.

maartenmk 2011-01-18 09:20

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by Carlito (Post 922871)
Can't get it working. Can't install. Says it isn't compatible. . .

I had the same, in my case it was because I already had a version of Modified Hildon-desktop with the same version number installed. After uninstalling that it worked.

Carlito 2011-01-18 09:39

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Got it! Thanks rantom!

Rommidze 2011-01-18 13:42

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Hello! Nice work, but just one thing - combination Ctrl + Backspace doesn't work anymore as it did before, but works the same way as it does on a computer. How do I get this function back or what is the replacement?

Carlito 2011-01-18 13:46

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Works like a charm over here! Just shows me the open apps in thumbs.

rantom 2011-01-18 13:53

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by Rommidze (Post 923002)
Hello! Nice work, but just one thing - combination Ctrl + Backspace doesn't work anymore as it did before, but works the same way as it does on a computer. How do I get this function back or what is the replacement?

I can confirm this, happened to me as well.

sansar95 2011-01-18 14:06

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by rantom (Post 922875)
I assume you have rootsh installed. If so, type root in X-Terminal. If not, install it from the Extras. Now type gainroot in X-Terminal. After that:

Code:

dpkg -i /location/of/file
That should do it.

Thanks this worked for me

MohammadAG 2011-01-18 14:08

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
You set it yourself in gconf, maybe a long time ago.
Read this: http://my.arava.co.il/~matan/repo/Mo...n_Desktop.html

Rommidze 2011-01-18 14:54

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 923021)
You set it yourself in gconf, maybe a long time ago.
Read this: http://my.arava.co.il/~matan/repo/Mo...n_Desktop.html

Well, I didn't set it my self. Maybe some of packages did so for me... But thanks, managed to enable the combination back!

Mentalist Traceur 2011-01-18 16:52

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by MohammadAG (Post 923021)
You set it yourself in gconf, maybe a long time ago.
Read this: http://my.arava.co.il/~matan/repo/Mo...n_Desktop.html

Keep in mind some of us still run the hildon desktop that doesn't use all the fancy keyboard shortcut configurations that Matan added.

So isn't it possible his got set for him upon install, or something?

MohammadAG 2011-01-18 17:33

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
I know, I don't run anything funny in postinst that would set them.

moepda 2011-01-18 17:41

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Quote:

Originally Posted by M00NB34M (Post 922638)
Hey Mohammed!

Im a bit stumped to get this working with your previous hildon patch, the one with Kinetic scrolling + Matans desktop!

The deb you stuck on here doesnt wanna overwrite schemas and dpkg isnt liking it! Just errors encountered message! Whats am i doing wrong?

here my output

/home/user # dpkg -i hildon-desktop_2.2.140-1+0m5_desaturize_armel.deb
(Reading database ... 43221 files and directories currently installed.)
Preparing to replace hildon-desktop 1:2.2.140-1+0m5 (using hildon-desktop_2.2.140-1+0m5_desaturize_armel.deb) ...
Unpacking replacement hildon-desktop ...
dpkg: error processing hildon-desktop_2.2.140-1+0m5_desaturize_armel.deb (--install):
trying to overwrite `/usr/share/gconf/schemas/hildon-desktop-keys.schemas', which is also in package modified-hildon-desktop
Errors were encountered while processing:
hildon-desktop_2.2.140-1+0m5_desaturize_armel.deb

any idea how to fix ?

many thans . moepda

MohammadAG 2011-01-18 17:49

Re: [PATCH] Desaturate instead of blur (hildon-desktop)
 
Code:

dpkg -r modified-hildon-desktop && dpkg -i hildon-desktop_2.2.140-1+0m5_desaturize_armel.deb


All times are GMT. The time now is 12:02.

vBulletin® Version 3.8.8