Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 16:16
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Change color of the file selector in Rox Filer SOLVED
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Rattlehead


Joined: 11 Sep 2008
Posts: 228
Location: Madrid, Spain

PostPosted: Sat 28 Jan 2012, 01:29    Post_subject:  Change color of the file selector in Rox Filer SOLVED  

I have configured my ~/.gtkrc.mine so that Rox Filer's background is black, but the problem with that configuration is that the file selector (the square that you move with the arrow keys) is also black, so it becomes invisible. Anybody knows what should I add to modify such color?
Edited_time_total
Back to top
View user's profile Send_private_message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sat 28 Jan 2012, 02:41    Post_subject:  

Yep.
Right click in a Rox's empty area,click in 'Options', then in 'Colours' (one before the last) and then you could try to change 'Regular File','Directory' and 'Executable' in order to get more contrast.

_________________

Back to top
View user's profile Send_private_message 
Rattlehead


Joined: 11 Sep 2008
Posts: 228
Location: Madrid, Spain

PostPosted: Sat 28 Jan 2012, 03:35    Post_subject:  

Thank you for your answer, GustavoYz. I already tried that; it modifies the color of the fonts.

But what I want to change is the file selector, i.e. the square that you move from file to file using the arrow keys. Its default color is black, so when I turn Rox's background to black too, it cannot be seen. I know it is still there because pressing space does start the file selection.
Back to top
View user's profile Send_private_message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sat 28 Jan 2012, 04:14    Post_subject:  

If I didnt got it wrong, that depends on the GTK theme.
Find out which one is yours, go to /usr/share/themes and open the right folder to find out the gtkrc of the theme.
Then open it in Geany and change the hexa color after this tag "selected_bg_color:".
You've a color chooser on Geany, so once selected that color open it to see if is the one you're looking for. Then change it and try if its please you.

Btw, if its not what you're wondering, post a screencap.

_________________

Back to top
View user's profile Send_private_message 
Rattlehead


Joined: 11 Sep 2008
Posts: 228
Location: Madrid, Spain

PostPosted: Sat 28 Jan 2012, 04:49    Post_subject:  

Thanks Gustavo. I tried that, but the tag you mention does not appear in the file. I even searched in the gtkrc of other themes and it isn't there, either.

In any case, the name of the tag seems to suggest that it is some kind of background color, and that's not what I want to change, but the selector that I've marked with an arrow in the pink screenshot.

In the screenshot with black background you cannot see the selector because it melts with the background. Rolling Eyes
scr_black.png
 Description   
 Filesize   11.86 KB
 Viewed   553 Time(s)

scr_black.png

scr_pink.png
 Description   
 Filesize   9.61 KB
 Viewed   575 Time(s)

scr_pink.png

Back to top
View user's profile Send_private_message 
trapster


Joined: 28 Nov 2005
Posts: 2030
Location: Maine, USA

PostPosted: Sat 28 Jan 2012, 08:12    Post_subject:  

Choose or download a dark gtk theme. I like the default gtk theme in audacious which is aud-Default. The file selector border is white and rox background is black.
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sat 28 Jan 2012, 12:06    Post_subject:  

I'm pretty sure that you could change that in the gtk theme too, but your gtkrc.mine is overwriting everything.

As a last chance, you could use an image just for Rox's background.
Just got this from the official's rox page, add this to your gtkrc.mine:
Code:
pixmap_path "/home/yourhome/images"
style "rox" = "default"
{
  bg_pixmap[NORMAL] = "roxbg.png"
}
widget_class "*Collection*" style "rox"

_________________

Back to top
View user's profile Send_private_message 
Rattlehead


Joined: 11 Sep 2008
Posts: 228
Location: Madrid, Spain

PostPosted: Sat 28 Jan 2012, 15:22    Post_subject:  

Hey guys, thank you for your responses. I've been trying out your suggestions and, after a few things that didn't work, I can report success Smile

Here is my .gtkrc.mine in case someone runs into the same problem (for example, Rox in Lighthouse Puppy shows the same problem):

Code:
gtk-can-change-accels = 1

style "rox" = "default"
{

fg[NORMAL]      = "#ffffff"
fg[PRELIGHT]      = "#ffffff"
fg[ACTIVE]      = "#ffffff"
fg[SELECTED]      = "#909090"
fg[INSENSITIVE]      = "#909090"

bg[NORMAL]      = "#080808"
bg[PRELIGHT]      = "#000000"
bg[ACTIVE]      = "#000000"
bg[SELECTED]      = "#080808"
bg[INSENSITIVE]    = "#3f3f3f"
}
widget_class "*Collection*" style "rox"





And here's what I did:

I downloaded Audacious from their site, uncompressed it and, down at the end of the file tree, found a folder called 'skins', with a gtkrc file in it.

I did a text searched for 'bg', and found close to it a series of lines that start with 'fg' and the color is #ffffff. Copied them to .gtkrc.mine, restarted x and... bingo!

Just for the record, I also tried Gustavo's suggestion, creating a black square png and pointing .gtkrc to it as background. But the result was the same: black background, no selector visible.

As a bonus, along the process I have find the NUdark gtk theme, which I like a lot. Thank you very much guys. Smile

[/quote][/code]
Code:
scr_ok.png
 Description   
 Filesize   12.73 KB
 Viewed   546 Time(s)

scr_ok.png

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0611s ][ Queries: 13 (0.0041s) ][ GZIP on ]