Where are the shared icons located?
Where are the shared icons located?
Hi everybody,
originally I was looking for a way to customize rox's toolbar icons (home, up and so on...). Then I started searching, and discovered that those icons are a part of a shared stock, that also abiword, gnumeric, geany and others do use in their toolbar (ok, you already knew that, I didn't!
The question is: where are located those icons?? I'm using Pizzapup, but have searched also in the latest 4.2 with non success...
thanks
eden6000
originally I was looking for a way to customize rox's toolbar icons (home, up and so on...). Then I started searching, and discovered that those icons are a part of a shared stock, that also abiword, gnumeric, geany and others do use in their toolbar (ok, you already knew that, I didn't!
The question is: where are located those icons?? I'm using Pizzapup, but have searched also in the latest 4.2 with non success...
thanks
eden6000
Hi, there are quite a few places where icons are kept and I'm not familiar with Pizzapup, but if you use Pfind and search for icon it will give you a list of where all the icons are kept, then you can follow the path to the directory.
I know there are some icons in your root folder, the folder is called .icons and is hidden, so you'll have to Ctrl+h within ROX to reveal it. In there it has a symlink to ROX's icons, which for Puppy 4.2 are kept in /usr/local/apps/ROX-Filer/
Happy editing.
I know there are some icons in your root folder, the folder is called .icons and is hidden, so you'll have to Ctrl+h within ROX to reveal it. In there it has a symlink to ROX's icons, which for Puppy 4.2 are kept in /usr/local/apps/ROX-Filer/
Happy editing.
Thanks Oakems for your kind reply...I already knew the locations you gave me, and I also already did a Pfind search for "gtk icons" or "gtk-stock", with no result.
Furthrtmore, in /usr/local/apps/ROX-Filer/Images there are some icons, those that are rox specific, like rox-select.png, or rox-show.details.png...but I'm missing the other ones, which should be the shared ones, like home, or up one level, or reload...
Furthrtmore, in /usr/local/apps/ROX-Filer/Images there are some icons, those that are rox specific, like rox-select.png, or rox-show.details.png...but I'm missing the other ones, which should be the shared ones, like home, or up one level, or reload...
Stock icons are part of your current Gtk icontheme.
In Puppy, this is usually /usr/share/icons/gnome or
/usr/share/icons/hicolor
There, they have different folders, for different sizes, like
/usr/share/icons/hicolor/24x24/stock
or
/usr/share/icons/hicolor/48x48/stock
Mark
In Puppy, this is usually /usr/share/icons/gnome or
/usr/share/icons/hicolor
There, they have different folders, for different sizes, like
/usr/share/icons/hicolor/24x24/stock
or
/usr/share/icons/hicolor/48x48/stock
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
Thanks MU.
So, in my Pizzapup I have only /usr/share/icons/hicolor (no gnome); inside it there are 5 directories all with a /stock/media dirs. Each of these /media dirs contains the same six icons (in different sizes) that are related to xfburn (once I tried to install it....).
BTW I discovered that some dirs inside /usr/share/themes contain some icons that can be related to what I'm looking for...for example changing GTK theme sometimes the refresh icon in rox changes too....but NEVER changes the home icon for ex. (in rox's toolbar).
So I'm still wondering where rox reads those default icons....
So, in my Pizzapup I have only /usr/share/icons/hicolor (no gnome); inside it there are 5 directories all with a /stock/media dirs. Each of these /media dirs contains the same six icons (in different sizes) that are related to xfburn (once I tried to install it....).
BTW I discovered that some dirs inside /usr/share/themes contain some icons that can be related to what I'm looking for...for example changing GTK theme sometimes the refresh icon in rox changes too....but NEVER changes the home icon for ex. (in rox's toolbar).
So I'm still wondering where rox reads those default icons....
You miss understood me slightly, I meant search for just "icon" because all icons will have a parent directory named icons. So Pfind will show you every location there is that has icons, its just a case of being methodical and working through the list, admittedly not a very fast way, but it works well and if its all you got.
Yes Oakems, I did the search you suggested, but, believe me, I haven't found what I'm looking for....one above all: the "home" icon in rox' toolbar, I've searched with "icon", "stock", "home", with no result...
Apart from this I have also discovered that it's also very important the "gtkrc" file inside the gtk themes directory, so it's not just a matter of where the icons are, but also the way you tell programs to show them.
still searching......
Apart from this I have also discovered that it's also very important the "gtkrc" file inside the gtk themes directory, so it's not just a matter of where the icons are, but also the way you tell programs to show them.
still searching......
I believe these icons can be located in /usr/share/themes{theme name}/gtk2.0/icons directory (if one exists) and can be changed from theme to theme. They are called from the /usr/share/themes/{theme name}/index.theme file, so you would need to make an entry in there to point to the location of the icons you wanted to use for each theme.
Some of the default ROX icons live in /usr/local/apps/ROX-Filer/images directory. You'll need to right-click on the ROX-Filer icon in /usr/local/apps directory and choose "Look inside" to find that sub-directory. These icons can be individually replaced if you are so inclined.
Hope that helps
Some of the default ROX icons live in /usr/local/apps/ROX-Filer/images directory. You'll need to right-click on the ROX-Filer icon in /usr/local/apps directory and choose "Look inside" to find that sub-directory. These icons can be individually replaced if you are so inclined.
Hope that helps
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Thanks WhoDo, any help is always appreciable. I already have searched into those directories, but there isn't what I'm searching...For ex. I'm using a theme called Smooth-Okaysh; inside the gtk2.0 directory there is no icon, only a gtkrc file, I post the content:
Then, inside /usr/local/apps/ROX-Filer/images there are 10 icons, but only 3 are related to rox's taskbar; for ex. none of them is the "home" icon...
BTW I don't want to make you all spend too much time on this, there are surely more important topics....
Code: Select all
# Theme Name : Smooth-Okayish
# Author(s) : Andrew Johnson <ajgenius@ajgenius.us>
# Description : A simple Smooth variant of Tigert's
# Pretty-Okayish
#
style "default" {
###### GTK Style Flags ######
GtkWidget::interior_focus = 1
GtkWidget::focus-line-pattern = "\2\1\2\1"
GtkWidget::focus_padding = 1
GtkButton::default_spacing = 8
GtkButton::default_border = {0, 0, 0, 0}
GtkButton::default_outside_border = {0, 0, 0, 0}
GtkCheckButton::indicator_size = 13
GtkRadioButton::indicator_size = 12
GtkPaned::handle_size = 8
GtkRange::trough_border = 2
GtkRange::slider_width = 13
GtkRange::stepper_size = 13
GtkRange::stepper_spacing = 0
GtkScrollbar::min_slider_length = 30
GtkMenuBar::internal-padding = 0
###### GTK Style Colours ######
fg[ACTIVE] = "#000000"
fg[SELECTED] = "#FFFFFF"
fg[NORMAL] = "#000000"
fg[PRELIGHT] = "#FFFFFF"
fg[INSENSITIVE] = "#999989"
bg[ACTIVE] = "#DDDDCF"
bg[SELECTED] = "#928DA2"
bg[NORMAL] = "#EEEEE0"
bg[PRELIGHT] = "#928DA2"
bg[INSENSITIVE] = "#EEEEE0"
base[ACTIVE] = "#D3C996"
base[SELECTED] = "#928DA2"
base[NORMAL] = "#FFFFFF"
base[PRELIGHT] = "#E5E5F7"
base[INSENSITIVE] = "#DDDDCF"
text[ACTIVE] = "#000000"
text[SELECTED] = "#FFFFFF"
text[NORMAL] = "#000000"
text[PRELIGHT] = "#000000"
text[INSENSITIVE] = "#747474"
###### Theme Engine Style ######
engine "smooth" {
fill {
style = solid
}
line {
style = smooth
thickness = 1
}
focus {
foreground[ACTIVE] = "#928DA2"
foreground[SELECTED] = "#928DA2"
foreground[NORMAL] = "#928DA2"
foreground[PRELIGHT] = "#928DA2"
}
grip {
style = midlines
count = 4
spacing = 0
}
check {
style = fast
}
arrow {
style = xfce
solid = TRUE
etched = FALSE
}
tabs {
style = square
}
}
} widget_class "*" style "default"
style "menu" {
###### Theme Engine Style ######
engine "smooth" {
fill {
style = solid
}
line {
style = smooth
thickness = 2
}
edge {
line {
style = flat
thickness = 1
}
}
check {
style = fast
xpadding =1
ypadding = 1
line {
style = none
thickness = 1
}
}
option {
style = circle
line {
style = none
thickness = 1
}
}
arrow {
style = xfce
solid = TRUE
etched = FALSE
}
}
}
class "*MenuItem*" style "menu"
widget_class "*MenuItem*" style "menu"
BTW I don't want to make you all spend too much time on this, there are surely more important topics....
please go to the rox options (rightclick).
choose:
Types - Themes
There set the icontheme.
Here you can choose hicolor or your Smooth-Okayish
Then the ones from that theme (in /usr/share/icons/) should be used.
Mark
choose:
Types - Themes
There set the icontheme.
Here you can choose hicolor or your Smooth-Okayish
Then the ones from that theme (in /usr/share/icons/) should be used.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
In the theme directory itself there should be an index.theme file. That contains the details of which icon set is being used by the theme. The Home, Up, Bookmarks, Rescan, Sort and Help icons are all set by the Gtk theme. To override the defaults you need to create the icons directory, add the icons you intend to use and then edit the index.theme file to point to that location.eden6000 wrote:Thanks WhoDo, any help is always appreciable. I already have searched into those directories, but there isn't what I'm searching...For ex. I'm using a theme called Smooth-Okaysh; inside the gtk2.0 directory there is no icon, only a gtkrc file, I post the content:...[snip]...
Then, inside /usr/local/apps/ROX-Filer/images there are 10 icons, but only 3 are related to rox's taskbar; for ex. none of them is the "home" icon...
BTW I don't want to make you all spend too much time on this, there are surely more important topics....
You can also customise other parts of the Gtk themes using the advice provided in the attached text file.
Hope that helps
- Attachments
-
- CustomizeGTKtheme.txt.gz
- Click to open
- (514 Bytes) Downloaded 442 times
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Mark I think he means the Home icon in the Gtk window toolbar, not the one on the desktop or in the application space of the ROX window.MU wrote:please go to the rox options (rightclick).
choose:
Types - Themes
There set the icontheme.
Here you can choose hicolor or your Smooth-Okayish
Then the ones from that theme (in /usr/share/icons/) should be used.
Mark
I could be wrong.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
No Mark, the theme you choose from inside Rox points to /root/.icons; inside there I have 7 tango-based themes (Pizzapup made it like this ), but they all contain only mime icons, so switching them changes only file and directories icons...The theme I mentioned before is a GTK theme, which is correctly located in /usr/share/themes
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
If you open /root/.gtkrc-2.0
You can over-ride the default gtkrc-2.0 theme By adding these lines, like I did below. First you can specify the path to the new freedesktop theme.
Then you can add any changes like I did below.
# ttuuxxx: the following is for the newer gtk2 icon theme
pixmap_path "/usr/local/lib/X11/mini-icons/"
style "normal" {
stock["gtk-close"] = {{"close-icon.png"}}
stock["gtk-go-up"] = {{"up-icon.png"}}
stock["gtk-home"] = {{"home-icon.png"}}
stock["gtk-refresh"] = {{"refresh-icon.png"}}
stock["gtk-zoom-in"] = {{"zoom-in-icon.png"}}
stock["gtk-zoom-fit"] = {{"zoom-fit-icon.png"}}
stock["gtk-jump-to"] = {{"jump-to-icon.png"}}
stock["gtk-sort-ascending"] = {{"sort-icon.png"}}
stock["gtk-help"] = {{"help-icon.png"}}
stock["rox-show-hidden"] = {{"hidden-icon.png"}}
stock["rox-show-details"] = {{"details-icon.png"}}
stock["rox-select"] = {{"select-icon.png"}}
}
You can over-ride the default gtkrc-2.0 theme By adding these lines, like I did below. First you can specify the path to the new freedesktop theme.
Then you can add any changes like I did below.
# ttuuxxx: the following is for the newer gtk2 icon theme
pixmap_path "/usr/local/lib/X11/mini-icons/"
style "normal" {
stock["gtk-close"] = {{"close-icon.png"}}
stock["gtk-go-up"] = {{"up-icon.png"}}
stock["gtk-home"] = {{"home-icon.png"}}
stock["gtk-refresh"] = {{"refresh-icon.png"}}
stock["gtk-zoom-in"] = {{"zoom-in-icon.png"}}
stock["gtk-zoom-fit"] = {{"zoom-fit-icon.png"}}
stock["gtk-jump-to"] = {{"jump-to-icon.png"}}
stock["gtk-sort-ascending"] = {{"sort-icon.png"}}
stock["gtk-help"] = {{"help-icon.png"}}
stock["rox-show-hidden"] = {{"hidden-icon.png"}}
stock["rox-show-details"] = {{"details-icon.png"}}
stock["rox-select"] = {{"select-icon.png"}}
}
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Iconthemes-Gnome-2.22.0+MacUltimate_Leopard+Dropline-Nou_411.sfs
http://puppyisos.org/isos/2008-07-to-12 ... /addons-2/
user: puppy
password: linux
Mark
http://puppyisos.org/isos/2008-07-to-12 ... /addons-2/
user: puppy
password: linux
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
http://dotpups.de/tests/Crashbit-06.04. ... .53.tar.gz
extract to /usr/share/themes/
This is the default theme from Ultrapup.
Mark
extract to /usr/share/themes/
This is the default theme from Ultrapup.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]
Ok, a little progress...putting it in /usr/share/themes didn't give any result, in sense that the GTK theme select in Pizzapup (I think you wrote it...) doesn't even see it.
So I placed it in /root/.icons directory: there you can select it from rox's options; but, again, the change is only in mime icons, nothing happens to rox's taskbar icons...I'm trying to think that Pizzapup had some particular setting....
So I placed it in /root/.icons directory: there you can select it from rox's options; but, again, the change is only in mime icons, nothing happens to rox's taskbar icons...I'm trying to think that Pizzapup had some particular setting....