[SOLVED] icon-theme.cache and post install

Hi all,
after a problem with an app (in this case RawTherapee) that requires uptodate icon-theme.cache files under /usr/share/icons/THEME - I just want to ask for your opinion: Is this a feature that should be provided by the icon-theme package post install?
For example, xfce4-icon-theme has
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/Rodent
in it's xfce4-icon-theme.install,
while gnome-icon-theme and hicolor-icon-theme don't and require issueing gtk-update-icon-cache manually after installation/update.
So what do you think, does this call for a feature request?
Edit: Seems like I got the concept wrong and that a solution is not that simple / on the segfaulting programs side... see http://bugs.archlinux.org/task/14237. Thx Jan for explaining.
Last edited by gnidam (2009-04-15 11:31:30)

Apparently gtk-update-icon-cache didn't accept that i had a .icon-theme.cache in /usr/share/icons/hicolor/. After removing it gtk-update-icon-cache apparently created a new file "icon-theme.cache" and doesn't complain anymore. The thing that is wierd about this is that on my other comp i have the .icon-theme.cache and it doesn't complain when upgrading.. Marking this solved anyway
Last edited by fgrano (2008-10-31 13:47:28)

Similar Messages

  • [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]Icon theme set properly in .gtkrc-2.0.mine,no icons in Thunar

    Hi again. I seem to not be able to utilize the search function properly. I've arrived at these three threads:
    https://bbs.archlinux.org/viewtopic.php?id=48490
    https://bbs.archlinux.org/viewtopic.php?id=98261
    https://bbs.archlinux.org/viewtopic.php?id=103138
    None of them seem to help me. As you can see, I--like others-- am having a problem with icons in thunar. However, it's not because I don't know how the .gtkrc-2.0 file works or something silly like that. I just did this in Slackware with Awesome wm and it worked fine. I've created a .gtkrc-2.0 in my home directory, I have the include line pointing to .gtkrc-2.0.mine and I have this line:
    gtk-icon-theme-name = "icontheme"
    Considering that didn't work I installed lxappearance and set the theme from there. Turns out, it actually does work it seems. I can see in firefox that the icon theme is working. Also, some files in Thunar have their proper icons. In the filesystem, my root folder has it's appropriate icon as well. However, every other folder in thunar is just blank. No icon. I'm using Awesome wm. I hope you will see this isn't the same problem everyone else has had with Thunar and gtk icon themes. Hopefully the community does not frown on this post. I've searched, but if there is indeed a thread somewhere that I missed, would someone mind kindly directing me to it? Thank you, and thanks for reading.
    Last edited by xworld (2013-12-25 15:34:51)

    # DO NOT EDIT! This file will be overwritten by LXAppearance.
    # Any customization should be done in ~/.gtkrc-2.0.mine instead.
    gtk-theme-name="SlicknesS-black"
    gtk-icon-theme-name="black-white_2-gloss"
    gtk-font-name="Cantarell 11"
    gtk-cursor-theme-size=0
    gtk-toolbar-style=GTK_TOOLBAR_BOTH
    gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
    gtk-button-images=1
    gtk-menu-images=1
    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"
    include "~/user/.gtkrc-2.0.mine"
    As generated by lxappearance. Originally I had only the include line in .gtkrc-2.0 which I created myself but since that didn't work I tried lxappearance.
    gtk-icon-theme-name = "black-white_2-gloss"
    That's what I had in my .gtkrc-2.0.mine
    (thunar:788): Gtk-WARNING **: Unable to locate theme engine in module_path: "ubuntulooks",
    (thunar:788): Gtk-WARNING **: Unable to locate theme engine in module_path: "crux-engine",
    Output of starting thunar in terminal. That's always been like that for every linux I've ever had though and it never affected the icons before.
    As you can see, the icons are having an effect, but only on certain things. Also, I'm starting awesome with .xinitrc.
    #!/bin/sh
    # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
    userresources=$HOME/.Xresources
    usermodmap=$HOME/.Xmodmap
    sysresources=/etc/X11/xinit/.Xresources
    sysmodmap=/etc/X11/xinit/.Xmodmap
    exec xcompmgr &
    # merge in defaults and keymaps
    [ -f $sysresources ] && xrdb -merge $sysresources
    [ -f $sysmodmap ] && xmodmap $sysmodmap
    [ -f $userresources ] && xrdb -merge $userresources
    [ -f $usermodmap ] && xmodmap $usermodmap
    # Start the window manager:
    if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
    ck-launch-session dbus-launch --exit-with-session awesome
    else
    awesome
    fi
    Last edited by xworld (2013-12-20 21:29:05)

  • Missing themes after and archive/install

    After performing an archive/install I can open iDVD, but there are no themes available and the imovie I'm moving over does not play, it's just black. Can anyone can tell me where the themes are stored and if I can access them again?

    The iDVD themes will be stored in Library/Applications Support/iDVD/Themes. See if they are in there. Assuming that they are, try closing iDVD and then trashing the file named com.apple.iDVD.plist. iDVD will create a new .plist file on relaunch. Before relaunching, do a permissions repair using the Utilities/Disk Utility app on your Mac.

  • Netinstall  - Add Packages and Post-Install Scripts

    I used SIU to make a netinstall image, add 3 .pkg files to install after the restore completes, and apply some system configuration settings. I have had no issues restoring the image, but none of the post restore packages run, and the ByHost preferences are not being changed to match the client after install. The order of the workflow seems to be correct, so I am at a loss as to why I am getting the error "there was no software found to install" when the restore finishes, and the post process begin. Any help is greatly appreciated.
    I have also included a link to a screen shot of my Workflow.
    http://dl.getdropbox.com/u/12985/Screenshot%202008-09-24%2010h%2052m%2012s.png

    No, the server should be fine. I was trying to make sure that you didn't simply have an old version of the tools installed on some other system.
    You might try deleting the automator action cache files (~/Library/Preferences/com.apple.automator*.plist) on the server. Other than that, I have no simple ideas.

  • MDM 5.5 SP6 install and post-install config - SLDREG related question

    Hello,
    I've just installed MDM 5.5 SP6 on Oracle/Solaris and have the server running with no problems, repositories loaded, etc. I do receive the following error in the MDM Console which I understand to mean the sldreg utitlity cannot be found.
    Error: Unable to register server in System Landscape Directory: Call to SLDREG Utility in /usr/sap/sldreg failed, Error = 0x100.
    Set proper value for parameter 'SLDReg Utility Path' in server configuration file.
    If you are not using SLD, set parameter 'SLD Registration' to false in server configuration file so that the server does not try to register with SLD. This will avoid this error in the future.
    My questions are:
    1. should there be an ABAP install on the same box which would create the file structure referenced above?
    2. or can this parameter be set to look at a different /usr/sap directory?
    3. Or can I just drop that utility in that directory ?
    In other words, is there a recommendation to install an ABAP instance, thereby creating the referenced file structure on the same server as the MDM/Oracle instance? Or is there a workaround approach for this error.
    Thanks in advance for your help
    Glen Hoaglund
    Basis Consultant

    Hi Glen,
    There is a document available in Service Market Place "HowToRegisterMDM_SLD_P22.pdf".
    Please Refer this link:
    https://websmp210.sap-ag.de/installmdm -->Operations ---> MDM 5.5 - Monitoring Guides (ZIP File) in this Zip folder you will get "How To… Register MDM Servers in the SLD"
    Hope it helps you,
    Mandeep Saini

  • I am experiencing constant crashes when pages are loading or files uploading/downloading. Using a MacBook running OS X 10.5.8 and Firefox 3.6.8 - crash id is sqlite3Step. I have cleared history & caches and re-installed, but no change. Any suggestions?

    Problems with Flash content, media files (Facebook photos etc.), streaming media (iPlayer) and MobileMe/iDisk uploads

    Hi Tracy,
    I don't suspect Malware yet, Id guess Disk corruption or failing Hard Drive with Files not found.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.

  • (SOLVED) tango-icon-theme-extra needed ?

    Hi, there tango-icon-theme exists. I installed it on Lxde and it works fine.
      However there exists tango-icon-theme-extra. Who can tell me what does this pkg do ?
    Last edited by ShinChyn (2009-03-26 01:49:14)

    In my installation it currently provides mainly ...devices/multimedia-player-... icons.

  • Awesome menu icon themes

    I've just started playing around with awesome (normally use gnome). Is there anyway of setting an icon theme for the menus and things?
    The standard themes manually set the icons in theme.lua .
    theme.awesome_icon = "~/muh_icon.png"
    beautiful.awesome_icon
    In theme.lua there's a field theme.icon_theme which doesn't seem to do anything?

    It's somewhat complicated. Where do you want you change the icon theme?
    If you want to change the application icons that appear in the task bar, you must use lxappearance.
    If you want to change the applications icons in the menu bar (the one that functions like dmenu), you must set the variable theme.icon_theme=Your_icon_theme in your theme.lua, like you said in your post. But there are several things to consider:
    - The folder that contains the icon theme must be in the following format:
    /... /icons/Icon_theme/16x16/actions, animations,apps,...
    /22x22/
    /64x64/
    etc
    Not every theme follows that format. For example, faenza-icon-theme and faience-icon-theme from the official repositories have the directories with the categories first (apps, emblems, etc) and then the directories with the different sizes, so the script that loads the icons doesn't work.
    -The icon theme must consist only of .png images. Many icon themes have images in .svg, and apparently Awesome can't load them. numix-icon-theme-git and faba-icon-theme-git from the AUR consist of .svg images, so they won't work.
    moka-icon-theme-git from the AUR has .png icons and also has them stored in the correct directory format. Maybe you should try it.
    If you want to use a theme with .svg icons, you can convert them to .png with imagemagick. I use the following bash script:
    #!/bin/bash
    for directorio in */
    do
    echo $directorio
    for imagen in $directorio/*
    do
    echo $imagen
    convert -background transparent $imagen $directorio/`basename $imagen .svg`.png
    done
    rm $directorio/*.svg
    done
    notify-send "Finish" "Icon conversion finished."
    You must run it inside of every size folder (64x64, 128x128, etc), be sure to make a backup of the original icon theme.
    For example, I converted numix-circle-icon-theme-git with that script and now my menubar looks like this:
    If you want to change the application icons in the menu that appears when you click on the awesome icon or right click on the desktop, install archlinux-xdg-menu from the official repositories. After that copy /usr/bin/xdg_menu to your home directory and edit it like this:
    91 foreach my $dir (@xdg_data_dirs)
    92 {
    93 my $theme = "your_icon_theme";
    94 my $size;
    Then, execute it like it's mentioned in the wiki: https://wiki.archlinux.org/index.php/Xdg-menu, but using the script in your home folder for --root-menu. The icons must be stored in the directory format mentioned above.
    Now, the app menu looks like this:
    I hope these instructions are useful. Maybe it's a good idea to include them in the wiki.

  • 9iAS Db Cache and Forms

    Hi
    How do I get use of 9iAS DB Cache with my Forms deployment using forms server.
    null

    Mark,
    I was succesful on my 4th try. This is what I did differently and I'm not sure what triggered success.(a preface: database cache was not succesful but portal was). After install of db I followed these suggestions before install of 9ias(plus others offered by Tao Fan in a previous post:
    in the init.ora file:
    set o7_dictionary_accessibility=true(this is an o, not 0)
    comment out the 'dispatchers' line.
    rename the spfile in the <oracleHome>\database directory(i changed mine to xspfile.txt). Make sure you restart the db after any changes to the init.ora file. Set all oracle services to manual and disable the http server. Stop all services.
    Start your install. Mine hung at 100% complete with a command window open. Before I closed the command window I started the database service but not the listener. The install proceeded to fail during the db cache and portal install. I exited out of the install, started the dbTNSlistener, and any iSuitesagent services(not sure if this helped but I'm happy now!)Then, I restarted the machine. Then start/programs/iSuites/portalConfigAssistant and it worked.
    If none of this makes sense I can email you the documentation I kept while installing.

  • 9iAS installation problems w/ db cache and Portal

    I am still trying for a succesful installation of the 9ias software. I have followed all of the suggestions that have been posted and I am now getting TNS cannot resolve service name during the database cache part of the install. I checked services and it seems that this install didn't set up a TNSListener service for the 9iSuites home? I set the oracle_sid = icache as it instructs in the appendix, set the o7_dictionary_accessibility = true, and renamed the spfile to a .txt file so Oracle wouldn't find it. Subsequent to the database cache errors, the Portal install can't find the database either. I'm frustrated because I had the server up and running succesfully with an 8.1.7 db and I'm trying to switch to 9iDB. Any help would be greatly appreciated! My boss is getting a little impatient.
    Thanks.

    Mark,
    I was succesful on my 4th try. This is what I did differently and I'm not sure what triggered success.(a preface: database cache was not succesful but portal was). After install of db I followed these suggestions before install of 9ias(plus others offered by Tao Fan in a previous post:
    in the init.ora file:
    set o7_dictionary_accessibility=true(this is an o, not 0)
    comment out the 'dispatchers' line.
    rename the spfile in the <oracleHome>\database directory(i changed mine to xspfile.txt). Make sure you restart the db after any changes to the init.ora file. Set all oracle services to manual and disable the http server. Stop all services.
    Start your install. Mine hung at 100% complete with a command window open. Before I closed the command window I started the database service but not the listener. The install proceeded to fail during the db cache and portal install. I exited out of the install, started the dbTNSlistener, and any iSuitesagent services(not sure if this helped but I'm happy now!)Then, I restarted the machine. Then start/programs/iSuites/portalConfigAssistant and it worked.
    If none of this makes sense I can email you the documentation I kept while installing.

  • Oracle 10.2.0.1 client install during SLES10 AutoYast post-install

    Hello all,
    I'm stumped and could use a little help. I'm attempting to use the silent install method for the 10.2.0.1 Oracle client on a SLES10 SP2 via autoyast post install scripts. The script runs just fine if I use it to install after SLES10 has been completely installed. At first I suspected and environment issue, but I've doubled checked against the env during autoyast and post install completion env. Not sure what to check next, I've tried searching for minimum environment requirements for OUI, but found nothing.
    silentInstall2010-05-01_10-00-43AM.log reports:
    ** Error Dialog: OUI-10151:There was an error while loading library: areasQueries ***
    User Selected: S&top installation of this component only.
    java.io.IOException: No such file or directory
    This silent installation was unsuccessful.
    It was "generalQueries" until I added an ldconfig command in the script thinking something was wrong with the gcc env.
    Here is the script I'm using...
    #!/bin/bash
    BASEDIR=/installsvr/repos
    TMPDIR=/tmp/oracle_install
    HASORACLE=`grep $1 /etc/passwd`
    HASOINSTALL=`grep $2 /etc/group`
    if [ -z $HASORACLE ]
    then
    echo "Could not find an $1 account!"
    exit 1
    fi
    if [ -z $HASOINSTALL ]
    then
    echo "Could not find an $2 group!"
    exit 1
    fi
    if [ ! -f $BASEDIR/$3 ]
    then
    echo "Could not find file: $BASEDIR/$3"
    exit 1
    fi
    if [ ! -f $BASEDIR/$4 ]
    then
    echo "Could not find file: $BASEDIR/$4"
    exit 1
    fi
    FILENAME=`basename $3`
    # Setup install directories
    if [ ! -d /u01/app/oracle ]
    then
    mkdir -p /u01/app/oracle
    chown -R $1.$2 /u01
    chmod -R 775 /u01
    fi
    # Copy the install source
    # to a temp dir.
    su - $1 -c "mkdir $TMPDIR;cp $BASEDIR/$3 $TMPDIR/.;cd $TMPDIR;unzip $FILENAME >/dev/null 2>&1;rm -f $FILENAME"
    # Find the location of the "runInstaller"
    # and kickoff the command
    RUNINSTALLER=`find $TMPDIR -name runInstaller | head -1`
    RUNINSTALLERDIR=`dirname $RUNINSTALLER`
    if [ ! -d $RUNINSTALLERDIR ]
    then
    echo "Could not find directory: $RUNINSTALLERDIR"
    exit 1
    fi
    # Setup ldconfig prior to install run
    ldconfig
    su - $1 -c "TERM=xterm;cd $RUNINSTALLERDIR;./runInstaller -ignoreSysPrereqs -silent -responseFile $BASEDIR/$4"
    # Run a loop and wait for the
    # installer process to finish
    PROC=`ps -ef | grep "\-ignoreSysPrereqs \-silent \-responseFile" | awk '{print $2}'`
    while [ ! -z $PROC ]
    do
    echo "...waiting for oracle installer to finish..."
    sleep 5
    PROC=`ps -ef | grep "\-ignoreSysPrereqs \-silent \-responseFile" | awk '{print $2}'`
    done
    # Grace Period
    sleep 5
    # Cleanup
    rm -rf $TMPDIR
    # Finish
    echo "...running orainstRoot.sh"
    /u01/app/oracle/oraInventory/orainstRoot.sh
    echo "...running root.sh"
    echo "" | /u01/app/oracle/product/10.2.0/client/root.sh
    Thanks in advance,
    Chris

    Found the issue...it was in the script. Evidently, the process checker only worked after the OS install had completed and the script was run manually. I changed that section to...
    PROC=`ps -ef | grep ^$1 | tail -1 | awk '{print $2}'`
    while [ ! -z "$PROC" ]
    do
    echo "-- installOracle.sh: waiting for oracle installer to finish --"
    sleep 5
    PROC=`ps -ef | grep ^$1 | tail -1 | awk '{print $2}'`
    done
    ...and all is well.
    - Chris

  • Mavericks recovered hard drive space post-install

    I had about 12 gig free on my 15" 2012 MBP pre install. Installed 10.9 and now I have almost 36Gig free. Ran HD checks and no issues reporting. I looked at my backup and checked folder sizes in my profile pre and post install and all the data is there. I have an OCZ 256GB SSD drive installed and I've heard the stories about SSD and potential data loss but everything looks fine and is present post-install. I've read nothing about 10.9 compressing files so I am really stumped. I don't backup system files so I can't determine if some older files were purged. Still, thats a lot of data to recover. I then installed 10.9 on a new 27" Imac and hard drive space remained about the same and no extra space recovered. I'm a certified Mac tech and even all the techs I work with have never seen behavior like this on any version post-install. Anyone ever hear of this or have a similar experience?  Thanks!!

    Just installed Mavericks this morning and am surprised and alarmed in equal measure.
    My MacBook Pro Late 11 750GB HG had:
    156GB remaining before installing mavericks
    It now it has
    415GB remaining post installation.
    All my apps and files appear to be there so I am at a loss to work out what has happened.

  • Post Install Scripts

    I am creating an image with System Utility. One module i can add is called "Add Packages and Post-Install Scripts".
    I put one of my scripts in it:
    #!bin/sh
    defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Hello"
    But I get an error when trying to image saying "install setup failed: run postinstall script"
    I know the script works because i tested it.
    Any ideas?

    probably not…
    try using the defined installer variables instead of a specific path. there's a quick rundown here, though there's probably better documentation of it elsewhere: http://tinyurl.com/yejppmm
    basically, you probably want $3:
    $1: Full Path to Package
    $2: Full Path to target installation directory: /Applications
    $3: Mountpoint of installation disk: / or /Volumes/External_Drive
    $4: Root directory of currently booted system
    your script may be failing because the installer is trying to run it on the booted volume, which won't work. you want it to apply to the restored/newly installed volume.

  • Pc is not recognising PDF file ( icon ) in emails and to open these it is loading a 3rd party program on the web. I have installed Adobe several times. To open my files I need to drag them to my Adobe program. any ideas??

    Pc is not recognize PDF file ( icon ) in emails and to open these it is loading a 3rd party program on the web. I have installed Adobe several times. To open my files I need to drag them to my Adobe program. any ideas??

    Hi aadeshs
    This problem is on my laptop  running Vista ( Business) on Adobe 10.0  ,   for many years I did NOT have a problem with this . No forum Pages on this. 
    Also i would like to know how screen readers can better interact with PDF as my wife has difficultys on some email attachments on her laptop , again there seems no easy avenue for someone in her situation surfing websites and forums  for Hours maybe ok ok for sighted people, but not if you are blind & use a screenreader.  No Support Help from Adobe is available.
    thanks
    oliver654837

Maybe you are looking for

  • Desperate and hopeless...isn't this against the law???

    I give up! I don't understand why verizon contuously makes mistakes on my bill? when I call to discuss the additional charges they agree as to the refund however I NEVER RECEIVE IT> I have been paying over 3000.00 in verizon cell phone bills in the p

  • COPA Re-alignment fro new value field

    Hi, I would like to know if the COPA realignment would popolate the values for a new value field for the past transactions. Regards Venkata Devaraj

  • Having trouble with Aperture images in a slideshow in iMovie

    I've searched for answers to this but can't seem to find out what I'm doing wrong.... I'm trying to put together a slideshow in iMovie with my images from Aperture. They look horrible, color is way off and they're grainy. It was my understanding that

  • The same error keeps popping up but whatever i press it wont go away!

    ''Problem signature: Problem Event Name: APPCRASH Application Name: AppleMobileDeviceHelper.exe Application Version: 7.8.420.0 Application Timestamp: 48763498 Fault Module Name: Secur32.dll Fault Module Version: 6.0.6001.18000 Fault Module Timestamp:

  • Why is AVCHD 25p clips imported in as 25i ?

    Hi there, On the video recorder, I set my video settings to 1920 x 1080 25p. When I ingest in FCPX, I selected "create optimized media". Then in the browser, when i select the clip & goto the info tab, it says my clip is 1920 x 1080 25i. But in the c