Topic: [Solved] Changing icons in Openbox theme

Hi all,

Install #! to Hard Drive last night, and am getting my hand dirty with customizing the UI.

I would like to change the icon-set to this one.

From what I've read on the web, what I needed to do was change .gtkrc-2.0:

gtk-icon-theme-name="akumin_beta_09"

which is a directory in /usr/share/icons/

(Note: the file says "# DO NOT EDIT!  This file will be overwritten by LXAppearance. # Any customization should be done in ~/.gtkrc-2.0.mine", but when I edit that file, it does nothing at all, it stays with the original icons?)

However, when I relog, I get the same icons again, and wifi has changed to something even different, most likely gnome-colors-stratler?

I suspect this is because the icon size in the systray is either 22x22 or 32x32, which the icon theme does not have:

anakin@stormbird:/usr/share/icons/akumin_beta_09$ ls -l
total 20
drwxr-xr-x  8 root root 4096 Dec  3 11:02 16x16
drwxr-xr-x  9 root root 4096 Dec  3 11:02 24x24
drwxr-xr-x  3 root root 4096 Dec  3 11:02 256x256
drwxr-xr-x 11 root root 4096 Dec  3 11:02 48x48
-rw-------  1 root root 1816 Dec  3 11:02 index.theme

What's the name of the application that provides the task/desktop-bar and systray, and in which file can alter the settings for them?

TIA!

Anakin

Last edited by Anakinholland (2011-12-13 06:40:11)

Use what you like. If you don't like it, improve it. If you can't, look for something else.

Re: [Solved] Changing icons in Openbox theme

Hi,

All that you need to do is copy (or move) the folder containing the icon theme to /usr/share/icons.

For example, sudo mv ~/downloads/akumin_1.1 /usr/share/icons And change the theme through the User Interface Settings. Once you've logged out and in again, the new theme will be there.

About the panel, I'm assuming you mean tint2. There is a thread with some configuration ideas on here. http://crunchbanglinux.org/forums/topic … t2-config/  You can get to the file through right-clicking Settings>tint2>Edit config file.  smile

Last edited by carukia (2011-12-03 12:29:26)

Re: [Solved] Changing icons in Openbox theme

carukia wrote:

Once you've logged out and in again, the new theme should be there.

FTFY smile

I agree that it should, but it's not. I tried .local/share/themes, .themes and /usr/share/themes but none of these work for some reason.

I managed to use the interface to install the package through User Interface Settings -> Icons -> Install, but that didn't work out as intended, as I wasn't able to revert to another theme, it just stayed active... sad

So, since I was only a couple days in, and only a few minor changes, I opted for a full reinstall of the OS, partly because I made a boo-boo with an mv-command as root, partly because it would be way quicker to clean up the scene lol

On another note: I wasn't able to install any openbox-themes either... I saw that there's 112 themes installed on my system:

root@stormbird:/usr/share/themes# find ./ -name themerc|grep openbox|wc -l
112

but there's only 33 full themes visible in the UI!?

Cheers for the info on tint2, most helpful!

Anakin

Use what you like. If you don't like it, improve it. If you can't, look for something else.

Re: [Solved] Changing icons in Openbox theme

Hi,

The icon theme needs to be put in /usr/share/icons rather than /usr/share/themes. smile

Re: [Solved] Changing icons in Openbox theme

^ Yeah, typo on my end, in the post, not the terminal smile

As you can see in the initial post, the ls -l was done in the proper place big_smile

Last edited by Anakinholland (2011-12-03 20:23:41)

Use what you like. If you don't like it, improve it. If you can't, look for something else.

Re: [Solved] Changing icons in Openbox theme

I've just downloaded the icon theme and it install without a problem but I'm just wondering if you've extracted the .tar.gz which is inside the folder you get from the .zip. If not then that's the problem. After extracting the tar.gz put the folder from in /usr/share/icons. smile

Re: [Solved] Changing icons in Openbox theme

carukia wrote:

I've just downloaded the icon theme and it install without a problem but I'm just wondering if you've extracted the .tar.gz which is inside the folder you get from the .zip. If not then that's the problem. After extracting the tar.gz put the folder from in /usr/share/icons. smile

Mate, give me a little credit? smile Again , the "ls -l" in the initial post shows us the content of the directory, which is in /usr/share/icons. big_smile

so, just making sure we're on the same page, you get new icons for battery-state, which are in the status sub-directory, for instance? I only see a different WiFi-indicator, "nm-signal-100.svg".

Cheers,

Anakin

Use what you like. If you don't like it, improve it. If you can't, look for something else.

Re: [Solved] Changing icons in Openbox theme

I think the information has become too scattered in the topic, and probably ill-explained (the title on the initial post was definitely wrong, should've been tint2, not openbox) from my end, risking a "TLDR; next topic" kind of reaction... So, a recap:

An icon theme (like this GTK theme)s installed in either /usr/share/local/icons or ~/.local/share/icons

- How do I tell tint2 to use them in the system tray?

An Openbox theme (like this one) is installed in either /usr/share/local/themes or ~/.local/share/themes or ~/.themes

- How do I tell "User Interface Settings" that they're there? (See couple of posts up, only 25% of the themes show up in the list), or do I use a command of sorts?
    Addition: solved this to some extend by myself I think. Menu -> Settings -> Openbox -> GUI Config tool does show the new themes. But, that only affects the windows themselves and the Openbox-menu. The menus and menu-bars inside the application-windows (say, Geany) remain statler, and EasyGrey is not in list to select?
   
TIA,

Anakin

Use what you like. If you don't like it, improve it. If you can't, look for something else.

Re: [Solved] Changing icons in Openbox theme

I think we're a little mixed up on terms here.
OpenBox theme: configured with settings > openbox > gui config tool. Affects borders (aka windows decorations) on windows, rollbars and openbox menu.

GTK theme: affects how GTK applications looks. Changed at settings > user interface settings

Icon theme: only affects icons, in best case system wide. Also changed at user interface settings, under the icons tab.

Last edited by GuruX (2011-12-04 13:49:16)

Re: [Solved] Changing icons in Openbox theme

Well, at last I managed to solve the riddle myself...

In all my enthousiasm, I started working on the issue at first, starting out by editing .gtkrc-2.0 AND .gtkrc-2.0.mine, but couldn't get it to work.

After that I started hacking and slashing but couldn't for the life of me get it to work, turns out I hadn't removed the latter file again, so it kept overruling every setting I made...!

I removed the file, and I now have a very sweet and cool working setup with the Faenza icon-set in both thunar and tint2!! big_smile

Now for the icons in the launcher-panels, which are set per application as I understand it.

Cheers,

Anakin

Use what you like. If you don't like it, improve it. If you can't, look for something else.