maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Show off your Maemo 2 - 4 screenshots (https://talk.maemo.org/showthread.php?t=5014)

Underscore 2008-05-05 23:32

Re: Show off your screenshots
 
Ohhhh, nononono. I was messing around with that anyways :D, trying to move the panels around. Definitely not your fault dude. I should've phrased that differently, didn't mean to make it sound like I was blaming you.

qwerty12 2008-05-06 20:51

Re: Show off your screenshots
 
Yo!Dude! :p :)

I found a v.simple way of removing home label.

Just run vi /usr/share/themes/$DEFAULTMBTHEME/gtk-2.0/gtkrc

(Defaultmbtheme (mb = matchbox) is a variable pointing to your currently set theme)

Change:
style "osso-TitleFont" {
font_name = "Nokia Sans 16.75"
}

to:

style "osso-TitleFont" {
font_name = "Nokia Sans 0"
}

Change theme and change back :)

The menu icon could be removed by taking the right image out but it will remove it for all windows. I'll seeif I can recompile hildon-desktop.

Your apps will still show the title, just not the desktop.
Quote:

I'm not sure removing the home label is possible. I think that if it was removed, application titles would be removed as well from the way things are configured.
The bit that displays the desktop is called hildon-desktop which is configured by the gtkrc file. Other windows are managed by matchbox, which uses the theme.xml.
Because the desktop is separate and uses a different file, it can be done independently of each other.

Here is my proof,with screenies :p. (look at times)

http://i28.tinypic.com/vfi809.png
http://i27.tinypic.com/2mwcmyb.png

Edit; Benson has provided a sed line here:
http://www.internettablettalk.com/fo...&postcount=506

Haven't tested it but it should work in theory.

YoDude 2008-05-06 21:14

Re: Show off your screenshots
 
Wow! ^this works on the echo theme (default) but when I go to /usr/share/themes/nuvoclear/gtk-2.0/gtkrc in Emelfm2 and hit edit, Emel crashes and Xterm reports "segment fault".???

Thanks BTW, this opens up a whole world of themes configured by hand. :)

briand 2008-05-06 21:37

Re: Show off your screenshots
 
YoDude --

Did you, by chance, have nuvoclear as your current theme at the time? If so, try the edit after (temporarily) switching to a different theme.

qwerty12 2008-05-06 21:39

Re: Show off your screenshots
 
Quote:

Originally Posted by YoDude (Post 178583)
Wow! ^this works on the echo theme (default) but when I go to /usr/share/themes/nuvoclear/gtk-2.0/gtkrc in Emelfm2 and hit edit, Emel crashes and Xterm reports "segment fault".???

Thanks BTW, this opens up a whole world of themes configured by hand. :)

I don't have nuvoclear installed (it's todo :)) but I think it seems more like a editor problem. If you can use vi (i know only the basics), try that or use my favourite, leafpad. I'll grab the nuvoclear to try it out.

Np :). i'm gonna try moving the close and minimise buttons to the left for fun :D. It's how I actually changed my font systemwide.

Benson 2008-05-06 21:46

Re: Show off your screenshots
 
You're probably using nuvoClear at the moment; try switching to a different theme, edit, and switch back?

If this is the problem, then YOU, not the shell, must expand $DEFAULTMBTHEME...

Wouldn't that be
Code:

sed -i '/style[ \t]\+"osso-TitleFont"/,/}/ { /font_name[ \t]\+=/ s/[0-9.]\+/0/ }' /usr/share/themes/$DEFAULTMBTHEME/gtk-2.0/gtkrc
Not sufficiently general, of course; it ought to match anything interpretable by GTK+, and I'm not sure what GTK+ uses to parse this, and specifically what whitespace and doublequoting is mandatory, but it should work.

Edit: Ha, beaten. :(

BTW, I'm now rockin' this on mine with nuvoClear; it's sweet for portrait, but I'm missing the menu button, too... Not that having a ninja menu bothers me, it's just odd that I don't have it on home, and do on app windows. Now that that's gone, all we need is the ability to extend the statusbar... why, oh why, is this not configurable?

qwerty12 2008-05-06 21:48

Re: Show off your screenshots
 
Ok, briand may be right. You are editing a gtk file with a program using gtk :p

I did it with vi:
http://i30.tinypic.com/1ny3gg.png

briand 2008-05-06 21:51

Re: Show off your screenshots
 
Quote:

Originally Posted by qwerty12
Ok, briand may be right.

you are not the first person to think, utter, or type these words. ;)

seriously -- glad to have helped.

YoDude 2008-05-06 23:30

Re: Show off your screenshots
 
Quote:

Originally Posted by briand (Post 178593)
YoDude --

Did you, by chance, have nuvoclear as your current theme at the time? If so, try the edit after (temporarily) switching to a different theme.


Yup, did that. The default theme was able to be edited using Emel however, the nuvoclear file seems much larger so it may in fact be a limitation of Emelfm...

I'll copy the file out, edit it with notepad or sutt'n', then copy over the existing one and see what happens. :)

Benson 2008-05-06 23:53

Re: Show off your screenshots
 
Just run this as root:
Code:

sed -i '/style[ \t]\+"osso-TitleFont"/,/}/ { /font_name[ \t]\+=/ s/[0-9.]\+/0/ }' /usr/share/themes/nuvoClear/gtk-2.0/gtkrc
Saves all the headaches of file transfer and UNIX/DOS conversions.


All times are GMT. The time now is 04:24.

vBulletin® Version 3.8.8