Wicd - easy icon theme creation

What is it?
It's a small bash script for easy creation of new wicd icon themes, because IMHO the original wicd icons are kinda ugly...
All it does, is the whole "give it the right name"-thing.
What is wicd?
Wicd is a nice networkmanager for wired and wireless connections
http://www.archlinux.org/packages/extra/i686/wicd/
http://wicd.sourceforge.net/
Instructions
* Create new folder
* Save the script right there
* Copy the files you want to use to the same directory (read on for a link with samples)
* Edit the DIR variable of the script and run it.
Changes?
* version 01
Initial upload, nothing special so far
* version 02
replaced $CP, $MKDIR, $ECHO with cp, mkdir, echo
wicd_iconset.sh
#!/bin/sh
# easy creation of wicd iconthemes
# version 02
# what it does:
# creates DIR
# copies files to DIR (WARNING: existing files in DIR will be overwritten)
# provides instructions how to use the new theme
DIR="./new/"
echo "Checking required files"
FILES=(no-signal.png signal-25.png signal-50.png signal-75.png signal-100.png wired.png wicd-client.png wired-gui.svg)
FOUND=1
for f in ${FILES[@]}
do
if [ -r $f ]; then
echo " [found] $f"
else
echo " [missing] $f"
FOUND=0
fi
done
if [ $FOUND == 1 ]; then
echo "Everything looks fine"
echo ""
read -sp "Press ENTER to continue"
echo ""
echo ""
echo "Creating directory $DIR"
mkdir -p $DIR
echo "Copying files"
echo -n " no-signal.png "
PNG_SIGNAL_NO=(both-no-signal.png idle-no-signal.png receiving-no-signal.png transmitting-no-signal.png)
for png_no in ${PNG_SIGNAL_NO[@]}
do
cp no-signal.png ${DIR}$png_no
echo -n "."
done
echo " finished"
echo -n " signal-25.png "
PNG_SIGNAL_25=(signal-25.png bad-signal-lock.png bad-signal.png both-bad-signal-lock.png both-bad-signal.png idle-bad-signal-lock.png idle-bad-signal.png receiving-bad-signal-lock.png receiving-bad-signal.png transmitting-bad-signal-lock.png transmitting-bad-signal.png)
for png_bad in ${PNG_SIGNAL_25[@]}
do
cp signal-25.png ${DIR}$png_bad
echo -n "."
done
echo " finished"
echo -n " signal-50.png "
PNG_SIGNAL_50=(signal-50.png low-signal-lock.png low-signal.png both-low-signal-lock.png both-low-signal.png idle-low-signal-lock.png idle-low-signal.png receiving-low-signal-lock.png receiving-low-signal.png transmitting-low-signal-lock.png transmitting-low-signal.png)
for png_low in ${PNG_SIGNAL_50[@]}
do
cp signal-50.png ${DIR}$png_low
echo -n "."
done
echo " finished"
echo -n " signal-75.png "
PNG_SIGNAL_75=(signal-75.png good-signal-lock.png good-signal.png both-good-signal-lock.png both-good-signal.png idle-good-signal-lock.png idle-good-signal.png receiving-good-signal-lock.png receiving-good-signal.png transmitting-good-signal-lock.png transmitting-good-signal.png)
for png_good in ${PNG_SIGNAL_75[@]}
do
cp signal-75.png ${DIR}$png_good
echo -n "."
done
echo " finished"
echo -n " signal-100.png "
PNG_SIGNAL_100=(signal-100.png high-signal-lock.png high-signal.png both-high-signal-lock.png both-high-signal.png idle-high-signal-lock.png idle-high-signal.png receiving-high-signal-lock.png receiving-high-signal.png transmitting-high-signal-lock.png transmitting-high-signal.png)
for png_high in ${PNG_SIGNAL_100[@]}
do
cp signal-100.png ${DIR}$png_high
echo -n "."
done
echo " finished"
echo -n " wired.png "
cp wired.png ${DIR}wired.png
echo ". finished"
echo -n " wicd-client.png "
cp wicd-client.png ${DIR}wicd-client.png
echo ". finished"
echo -n " wired-gui.svg "
cp wired-gui.svg ${DIR}wired-gui.svg
echo ". finished"
echo ""
echo "How to use the new theme?"
echo " * Backup the old theme"
echo " cp -r /usr/share/pixmaps/wicd /usr/share/pixmaps/wicd_old"
echo " * Change owner of the new theme"
echo " chown root:root ./new/*"
echo " * Copy theme"
echo " cp ./new/* /usr/share/pixmaps/wicd/"
echo "Enjoy."
else
echo "Aborting (please copy the missing files to the same directory)"
fi
Sample icons
http://up.nullcat.de/3a81aba5X532dX4041 … ple.tar.gz
Any advices or comments?
When it comes to bash scripting i'm a beginner, so please be gentle.
Last edited by rebugger (2009-07-03 08:23:26)

Handy.
Thanks for icons (or more precisely for the translation script), there are indeed much nicer.
One note: I had in my existing icons a no-signal.png that your script didn't create. Not a problem adding it, just thought I'd let you know.

Similar Messages

  • What is an easy web-page creation program for use with MacBook Pro?

    Can anyone suggest an easy web-page creation program for use with MacBook Pro?  I have used FrontPage with my PC, but am changing to a MacBook Pro.

    It largely depends on your skill level. Do you want to write web page code, or do you want to just design something and have it turn into a web page automatically?
    If you are more of a designer, try these:
    RapidWeaver
    Freeway Pro
    Muse
    If you want to write web page code, try these:
    Coda
    BBEdit
    Dreamweaver
    If you really don't want to write the code and want the best experience for your viewers, and you want to spend the least amount of time on it, my recommendation is:
    No program at all.
    Instead, sign up with a web site company like:
    WordPress.com (hosted by them) or WordPress.org (hosted on your server)
    Squarespace
    Wix
    The reason is that these companies have fully operational, nicely designed web site templates that you just fill in with your words and pictures, and they are ready to go. They also give you these benefits:
    Already designed to the latest web standards
    Already designed to resist hackers
    Already designed to work on all browsers
    Already designed to automatically adjust the page for readability on desktop, laptop, tablet, and smartphone screen sizes
    Already designed for accessibility
    Already designed for Search Engine Optimization so that your page will be found on Google
    Already designed with social media links built in if you want
    It is not like the old days where you build a site in Front Page and you assume it will only be seen on a desktop computer. If you build it yourself with a web page program, do you have the knowledge to make a site that works on all of the different web browsers and mobile devices, and is friendly to search engines and social media? If you don't have those skills, working with a website company can be a lot better, faster, and more reliable than trying to hammer all of that out yourself using code in some app.

  • Change KDE Icon theme from XFCE

    I just installed okular and some other KDE applications since the GNOME3 ones currently look pretty bad in my XFCE desktop. The GTK/QT themes are easy to get to match, but  there's a KDE port of my icon theme, and I don't know how to change to it. Do I have to install KDE's control center / system settings program and if so what package is it part of or is there just some file I can hand edit?
    Thanks.

    Well, so far I figured out that the KDE control center is part of the kdebase-workspace package which brought in about 85MB of dependencies and other stuff. So I'd still prefer to find a textual solution, but when I tried diffing my .kde4 folder before and after, I got different results different times, so I'm still working on that. Will post if I figure anything out and perhaps whip upsome bash script to change it.

  • KDE 4.5: tray icons theme

    Hi,
    Does a tray icons theme exist as a separate entity? If it does, how am I supposed to change it?

    Teho wrote:
    pressh wrote:I don't oppose monochrome icons per se, it just looks too ugly when some random colored icon is in between.
    That shouldn't happen in KDE, the icons are forced in certain order; Normal apps, static icons. The whole idea was to differentiate those two, as far as I know.
    That's exactly right Teho. The monochrome and colored icons do not get mixed together, but having a colored set of icons adjacent to a monochrome set still looks a little odd. In any case, my main complaint with the monochrome icons is that they detract from overall usability. Colored icons make it easier to distinguish one app from another. So, for me at least, the new icons look nice; they're just less useful.
    By the way, I really don't like the way the system tray opens a pop-up menu for hidden icons. It sucked when Windows added that "feature" and it sucks no less when a FOSS desktop copies the idea. Since the system tray is just a plasmoid, you'd think we could still have the option of either the old style or new style as distinctly separate widgets for the panel. Why do they completely replace one with another?

  • .svg icon themes not showing

    i have a bunch of my icon themes in an .icons directory in my home directory. all the themes i have in there show up but the ones that only consist of one folder of icons labeled 'scalable'. they don't show up in openbox, or xfce. am i missing a library, or something? not as bright as i thought i was?

    Firstly - Thank you both for the feedback.
    I have solved the first part of my challenges at least.....
    The data was from a US source, and hence the themes referenced map tables such as MAP_RIVERS_US
    but the actual tables themselves were MAP_RIVERS_CA
    This would cause the WHERE clause above not to include it as table_name<>base_table value...
    I have renamed the tables ending in CA to US as this was easier than modifying all the theme definitions. Now they are showing up in the ALL_SDO_THEMES view and at least some of them are previewable in Oracle MapBuilder (others still coming up blank-not usre yet why)
    On we go....thanks again for your help!

  • Cannot use elementary icons themes after upgrading to GTK+-2.22.0 ?

    Hello All,
    After upgrading to GTK+-2.22.0, elementary icons look horribly wrong for some reason. I thought maybe i need to download the icons themes again (https://launchpad.net/elementaryicons/+download) so i did download the latest elementary icons and install them in ~/icons. However, the icons themes dont look the way they should look. Therefore, I am not sure what i did wrong, or if it had to do with upgrading to GTK+-2.22.0 and i am wondering if i am missing something or need to change some setting.
    I am using Xface4 as my Desktop Environments.
    Any help would be much appreciated.

    After upgrading, almost all of my icon themes are broken, including Elementary, which is the only one I actually care about.
    *EDIT*
    Recent update to libpng seems to have solved it for me.  They still don't display properly in the "Appearance -> Theme -> Customize... -> Icons" dialog, but they display properly in Nautilus and on the panels.
    Last edited by futuremonkey (2010-10-05 12:17:02)

  • Little question about a Claws-Mail tray icon theme, and how to use it.

    There is a Claws Mail tray icon theme available on gnome-look.org:
    http://gnome-look.org/content/show.php/ … tent=71540
    These are the instructions the author gives to install the theme:
    Claws Mail Tango trayicon theme
    Claws-Mail version = 3.3.0
    copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
    So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?

    Stalafin wrote:
    There is a Claws Mail tray icon theme available on gnome-look.org:
    http://gnome-look.org/content/show.php/ … tent=71540
    These are the instructions the author gives to install the theme:
    Claws Mail Tango trayicon theme
    Claws-Mail version = 3.3.0
    copy icons claws-mail-3.3-0/src/pixmaps, recompile and install.
    So what am I supposed to do (especially since the newest Claws Mail version is 3.4.0...)?
    I would recommend using ABS. just makepkg -o first so the sources get DL'd and unpacked. copy your icons and makepkg -e so the sources are not extracted again and therefore your new icons overwitten.
    finally, enjoy some awesomeness:

  • Icon theme not loaded correctly

    Hey there,
    i don't know how to fix this one, maybe a specialist in icons and icon themes know the answer: Well, im using the PNG version of Snowish icons at the moment. As you can see here http://img155.imageshack.us/my.php?imag … scrmo2.png, the icons are all shown correctly but one. The backward button. It's the ugly default (gnome-icon-theme) one. How can i fix that one, or search for the problem?

    Restarting Sonata and also re-login didn't work. Also it did not work to select another icon theme, and then Snowish again. I checked the folder and the file "media-seek-backward.png" is present in all sizes. It just gets not used by Sonata, so my guess it is a problem IN Sonata.
    Maybe one of you knows the mysterium answer/solution.

  • Icon-theme changes problem[SOLVED]

    I have murrine-engine, aurora-engine installed. I have installed gtk-engine-equinox and are trying to use equinox-evolution theme with Faenza icon-theme. I had a nice desktop for a couple of days. Yesterday it reverted back to the original icon-theme. Now I cannot change the icon-theme at all. I don't get it. Why is it OK one day but not the next? I have the themes in /usr/share/themes and ~/.themes. Same with icons. Same icons in both directorys. I'm running x86_64 and gnome.
    OK. Had to remove all other icon-themes from ~/.themes. Why is it so?
    Last edited by jai134 (2011-01-23 19:02:50)

    I know how to change themes using the method you described; however, the icon theme that is displayed is tango. I clearly chose tamiga, and the rox file in ~/.config points to the tamiga icon theme. So my question is why isn't the tamiga theme being used? Does it have something to with the inherits line in the icon cofig file? Is there some other problem? Some icon themes display correctly, but not others.
    Thanks for trying!
    john

  • Icon theme problem

    Hello. I have installed icewm, rox, gnome-icon-theme, and tango-icon-theme. I use rox filer to manage the icon the themes and desktop. The problem is that some icon themes display correctly (eg gtsand) and others don't (eg tamiga). In the case of tamiga, the tango icon theme is being used instead of the tamiga theme. Here's what I've tried:
    1. installed tamiga  icon theme to /usr/share/icons and ~/.icons (not at the same time)
    2. checked to see that rox is using theme (~/.config/rox.soruceforge.net/ROX-Filer/options)
    3. tried adding icon path to ~/.gtkrc-2.0 (I don't think rox uses this)
    4. tried editing the "inherits" line in the index.theme file (Inherits=Tango,gnome,hicolor). when I switched the positions of tango and gnome, the gnome icon theme was used. added Gnome and GNOME.
    5. browsed the forums
    Any help is appreciated. Thanks.
    john

    I know how to change themes using the method you described; however, the icon theme that is displayed is tango. I clearly chose tamiga, and the rox file in ~/.config points to the tamiga icon theme. So my question is why isn't the tamiga theme being used? Does it have something to with the inherits line in the icon cofig file? Is there some other problem? Some icon themes display correctly, but not others.
    Thanks for trying!
    john

  • [SOLVED] [Openbox] Icon-theme not working(?)

    Hi!
    I hope you guys could help me with the following problem.
    Currently I'm running Openbox, compton, tint2, gtk2/3 on my Arch-system.
    The problem I'm having right now is that tint2 tray icons are not showing Faenza-Dark but showing gnome(?) dark icons. I would like to have white/grey icons instead of dark ones!
    My tint2 config:
    # Tint2 config file
    # Generated by tintwizard (http://code.google.com/p/tintwizard/)
    # For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
    # Background definitions
    # ID 1
    rounded = 0
    border_width = 0
    background_color = #FFFFFF 20
    border_color = #FFFFFF 0
    # Backgrounds
    panel_background_id = 1
    taskbar_background_id = 0
    task_background_id = 0
    task_active_background_id = 1
    systray_background_id = 0
    clock_background_id = 0
    # Panel
    panel_monitor = 1
    panel_position = bottom center horizontal
    panel_size = 0 38
    panel_items = LTSC
    panel_margin = 0 0
    panel_padding = 0 0 5
    font_shadow = 0
    panel_background_id = 1
    wm_menu = 1
    panel_dock = 0
    panel_layer = top
    # Launcher
    launcher_icon_theme = Numix
    launcher_padding = 10 10 10
    launcher_icon_size = 22
    launcher_tooltip = 0
    launcher_apps_dir = /home/archie/.config/tint2/launchers
    # Taskbar
    taskbar_mode = single_desktop
    taskbar_padding = 0 0 10
    # Tasks
    urgent_nb_of_blink = 20
    task_icon = 1
    task_text = 0
    task_centered = 1
    task_maximum_size = 58 0
    task_padding = 10 4
    # Systray
    systray_padding = 0 10 6
    systray_sort = left2right
    systray_icon_size = 22
    systray_icon_asb = 100 0 0
    systray_icon_theme = Faenza-Dark
    # Clock
    time1_format = %I:%M %p
    time1_font = Open Sans 9
    time2_format = %D
    time2_font = Open Sans 9
    clock_font_color = #ffffff 80
    clock_padding = 10 0
    # Tooltip
    tooltip = 0
    # Mouse
    mouse_middle = close
    mouse_right = none
    # Autohide
    autohide = 0
    /home/archie/.config/gtk-3.0/settings.ini:
    [Settings]
    gtk-theme-name=Greybird
    gtk-icon-theme-name=Faenza-Dark
    gtk-font-name=Open Sans 9
    gtk-cursor-theme-name=Vanilla-DMZ
    gtk-cursor-theme-size=0
    gtk-toolbar-style=GTK_TOOLBAR_ICONS
    gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
    gtk-button-images=0
    gtk-menu-images=0
    gtk-enable-event-sounds=1
    gtk-enable-input-feedback-sounds=1
    gtk-xft-antialias=1
    gtk-xft-hinting=1
    gtk-xft-hintstyle=hintfull
    gtk-xft-rgba=rgb
    I'm running tint2-svn and already tried the normal one.
    Could some tell me a hint?
    Last edited by beta990 (2014-01-13 21:58:18)

    Thanks for posts!
    I have done all the steps, but real key was to reboot the system! Even pkill X didn't work. It's now solved.
    To give users with the same issue a solution:
    - Set icon-theme with lxappearance
    - Be sure that gtk3.0/settings.ini has fallback and icon-theme the same value (not know if it really needed)
    - Reboot! pkill X didn't work for me.
    Thanks again.

  • DMZ mouse icon theme not taking on full effect

    I just installed the DMZ vanilla mouse cursor theme and it is not working right. It will resort back to the default xcursor theme (the crappy black one) when i hover over the panels and background, and the title bars. I am using xfce4.4 and i got the icon theme from the aur.
    thanks.
    Last edited by theringmaster (2007-11-08 19:09:16)

    thayer wrote:
    Not sure if this helps, but both versions of dmz are available in the standard repos as pre-built packages:
    xcursor-vanilla-dmz
    xcursor-vanilla-dmz-aa
    No that did not solve the problem, but thanks anyway.
    I tried installing this same cursor theme on my gnome arch (via virtual box) and it worked flawlessly. This makes me think that xfce4.4 is having a problem with this theme. conflict maybe??
    Last edited by theringmaster (2007-11-08 21:49:59)

  • [pcmanfm] How to deactivate no-icon-theme-message [solved]

    Hello guys,
    I don't need any icon theme because I use a shell in most of the cases. But as I have to use pcmanfm it always appears that annoying message. Can it be deactivated in any way?
    Thank you in advance
    orschiro
    Last edited by orschiro (2009-06-17 07:23:44)

    @ Sharpsy,
    that worked thank you. Haven't thought about that idea, because I wasn't sure whether it works when Tango isn't installed.
    Thank you.

  • [PKGBUILD] icon-theme.cache is already present

    Hi,
    I created a PKGBUILD to test « perroquet » (http://perroquet.b219.org/index.html), it's also the mean to do my first PKGBUILD ;-) so any comments are welcome. The PKGBUILD is here : http://pastebin.com/m943685e
    Unfortunately, when I want to install my package, I get this error:
    $ sudo pacman -U perroquet-1.0.0-1-x86_64.pkg.tar.gz
    Mot de passe :
    Chargement des données du paquet...
    Vérification des dépendances...
    (1/1) Analyse des conflits entre fichiers [##################################################] 100%
    Erreur: la préparation de la transaction a échoué (conflit de fichiers)
    perroquet: /usr/share/icons/hicolor/icon-theme.cache est déjà présent dans le système de fichiers
    it is in french, so to traduce roughly: « /usr/share/icons/hicolor/icon-theme.cache is already present in the filesystem »
    this file /usr/share/icons/hicolor/icon-theme.cache is in the package and in my system, what should I do ? delete the file in pre-install script ?

    ok, thanks.
    But I don't understand why I have this problem. Since my post someone put a PKGBUILD on AUR for perroquet and there is nothing about icon-theme.cache: http://aur.archlinux.org/packages/perro … t/PKGBUILD (I can't try yet, I'm at work with Fedora ;-))
    Last edited by boulde (2010-01-07 08:47:33)

  • [SOLVED] Key missing (faenza-icon-theme)

    Hi,
    When updating I encountered this message :
    Erreur : faenza-icon-theme: key "F9E712E59AF5F22A" is unknown
    :: Importation de la clé PGP 9AF5F22A, « Daniel Micay <[email protected]> », créée le 2012-12-06 ?
    It asks to import the key.
    It seems that the key is unknown, I've already refreshed the keys by
    "sudo pacman-key --refresh-keys"
    Is it safe to had this key ?
    Is it always safe ?
    Thank you in advance.
    Last edited by jijijaco (2013-01-16 14:14:48)

    I've juste seen that archlinux-keyring needed to be updated too. Updating it before faenza-icon "solved the issue" without manually adding the key.
    Thank you anyway.

Maybe you are looking for

  • When I mark a message as 'not junk', is there a way to have it automatically move to the inbox?

    Apple Mail keeps putting good messages into the Junk folder. I mark them as 'not junk', but then they just sit there. It is really tedious to have to move them back to the inbox, and change the colour back to black. Is there any way to do this automa

  • Higlighting currency fields in interactive report

    I have an interactive report where two cells need to be highlighted if the values in these two cells are not equal. Both cells have the currency mask (FML999G999G999G999G990D00) in the column attributes. I have modified the sql for the first column b

  • Copy Quotation to contract

    Hi all, Copy Rate categories of the respective Quotation items to the Rate category field of the Contract. (Rate category field is configured on the contract). Thanks In Advance, Regards, Siva.

  • Exporting from Acrobat 3D PDF to CAD formats

    Hello, Good day, hope all is great. According to the Adobe Knowledgebase Acrobat 3D 8 can export a PDF into different CAD formats like parasolid. http://www.adobe.com/go/kb402271 I am using the trial version of Acrobat 3D and have not been found out

  • Cannot save edited clips

    Cannot save edited clips