Go Back   maemo.org - Talk > Talk > General
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #11  
Old 2008-03-13, 17:17
chrisak chrisak is offline
 
Join Date: Aug 2007
Posts: 187
Thanks!: 21
Thanked 23 Times in 20 Posts
Default Re: moving the scrollbar to the left side

Move microb scrollbar to the left side... instructions here:

http://kb.mozillazine.org/Layout.scrollbar.side
Reply With Quote
The Following 2 Users Say Thank You to chrisak For This Useful Post:
  #12  
Old 2008-03-13, 19:10
fiferboy's Avatar
fiferboy fiferboy is offline
 
Join Date: Dec 2007
Location: Hamilton, Ontario, Canada
Posts: 475
Thanks!: 110
Thanked 771 Times in 180 Posts
Default Re: moving the scrollbar to the left side

You mean like in the screenshot I have attached here?

Pretty easy, actually. Just took some searching and the realization that a local .gtkrc-2.0 file is not looked at in Maemo.

Pick your favourite theme to edit and go to the appropriate directory in xterm (ex. "/usr/share/themes/glasser/gtk-2.0/")

As super-user ("sudo gainroot" after installing "becomeroot" package) edit the "gtkrc" file in that directory.

Add the line:

Code:
gtk-scrolled-window-placement = top-right
somewhere in there (I did it after the short HID section near the top). Restart your tablet (may be unnecessary, but I was having some stability issues that may have been caused by this change or by another application I was using). Make sure you have the theme you modified selected, and most applications will now be left-handed! To get the web browser left handed, follow the link earlier in this thread. xterm is the only application I have come across that ignores this change.

I regret there is no easier way to do this. Having to make this change for every theme sucks. The problem seems to stem from the fact that hildon looks at the file "~/.osso/current-gtk-theme" to get the theme information. There is only one line in this file (pointing to the current theme location) so you can not include a second line without having it overwritten each time you change themes.

If this process is too difficult for a lot of people I could package up the default themes as left-handed themes. Let me know if there is interest.
Attached Images
 
Reply With Quote
The Following 6 Users Say Thank You to fiferboy For This Useful Post:
  #13  
Old 2008-07-26, 06:49
l3xl3 l3xl3 is offline
 
Join Date: Jul 2008
Posts: 6
Thanks!: 0
Thanked 0 Times in 0 Posts
Default Re: moving the scrollbar to the left side

sorry for the n00b query, but how do you edit the gtkrc file? I got as far as getting into the directory...i think. not much knowledgeable with xterm commands, not at all actually :S a step by step guide (with images if possible) would be very much appreciated...as a lefty I'm sick of changing hands using the stylus or using my right thumb to scroll (which doesn't work very well unless I grew my nail)

thanks in advance
Reply With Quote
  #14  
Old 2008-07-26, 06:56
l3xl3 l3xl3 is offline
 
Join Date: Jul 2008
Posts: 6
Thanks!: 0
Thanked 0 Times in 0 Posts
Default Re: moving the scrollbar to the left side

just a follow up, I'm using becomeroot. But i used to have easyroot... does that make a difference at all? I read somewhere that easyroot's "easier" to use or is it basically the same thing, as easyroot's being described as an alternative to becomeroot. What about rootsh?
Reply With Quote
  #15  
Old 2008-07-26, 11:49
codeMonkey codeMonkey is offline
 
Join Date: Feb 2008
Location: UK
Posts: 755
Thanks!: 1,825
Thanked 406 Times in 262 Posts
Default Re: moving the scrollbar to the left side

They're all quite similar, but Rootsh is now the preferred method, because you get to do things like:
Quote:
rootsh apt-get update
and it'll update without leaving you inside the root shell.
Reply With Quote
  #16  
Old 2008-08-10, 15:41
santa_matt santa_matt is offline
 
Join Date: Aug 2008
Location: Flint MI
Posts: 30
Thanks!: 5
Thanked 0 Times in 0 Posts
Default Re: moving the scrollbar to the left side

Quote:
Originally Posted by fiferboy View Post
Pretty easy, actually. Just took some searching and the realization that a local .gtkrc-2.0 file is not looked at in Maemo.

Pick your favourite theme to edit and go to the appropriate directory in xterm (ex. "/usr/share/themes/glasser/gtk-2.0/")

As super-user ("sudo gainroot" after installing "becomeroot" package) edit the "gtkrc" file in that directory.

Add the line:

Code:
gtk-scrolled-window-placement = top-right
Will this work on a 770? I have added this line to four different themes now and it appears to have done nothing. I have even made exited and then gone back in to make sure it took. Is there a better place to add it? I have tried several places but I notice that gtkrc appears to have blocks of info delineated by {}'s. Can you show us a bit more of where you placed in in your gtkrc? If this is not for the 770 has someone come up with a method for the 770? A search reveals this is pretty much the only thread about left handed scroll bars and the only one containing a "How to".

santa_matt
Reply With Quote
  #17  
Old 2009-09-10, 15:30
sampieter sampieter is offline
 
Join Date: Sep 2009
Location: Curaçao, Netherlands Antilles
Posts: 38
Thanks!: 26
Thanked 6 Times in 4 Posts
Default Re: moving the scrollbar to the left side

Bit more info for the browser's scrollbar:

- enter about:config in the address field
- in 'Name', type layout.scrollbar.side
- in 'Value', type 3
- hit the enter button of your nokia
- click on the 'Set preferences' button on the browser page

voila

(thank you fiferboy at the #maemo channel & HowieG at this thread:
http://talk.maemo.org/showthread.php?t=21905 )
Reply With Quote
The Following 2 Users Say Thank You to sampieter For This Useful Post:
Reply

Tags
left handed scroll bars


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:30.