SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-08-06 07:20:13

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Removing icons

Hi there,

it's really easy to install icons by using User Interface Setting but how do I remove them? The icons I have added are not in /usr/share/icons...

Offline

Help fund CrunchBang, donate to the project!

#2 2009-08-06 07:54:54

johnpriest
New Member
Registered: 2009-08-01
Posts: 4

Re: Removing icons

you'll find that most of them are found in /home/"user"/.themes, for me that would be /home/john/.themes.

if you cant view .themes try pressing ctrl+h and that should do the trick ^^

Offline

#3 2009-08-06 08:19:20

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Re: Removing icons

johnpriest wrote:

you'll find that most of them are found in /home/"user"/.themes, for me that would be /home/john/.themes.

if you cant view .themes try pressing ctrl+h and that should do the trick ^^

Well, there are no files in that folder (yes, show hidden files is activated) ...

Offline

#4 2009-08-07 20:28:32

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Re: Removing icons

bump... wink

Still can't find a solution for that.

Offline

#5 2009-08-07 20:32:36

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Removing icons

Have a look in the .icons folder of your home directory

Offline

#6 2009-08-07 21:22:53

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Re: Removing icons

omns wrote:

Have a look in the .icons folder of your home directory

I dunno why but there is none... hmm

Offline

#7 2009-08-07 22:32:46

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: Removing icons

Do a search for the icon theme name.

Offline

#8 2009-08-08 07:05:15

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Re: Removing icons

anonymous wrote:

Do a search for the icon theme name.

I have tried that as well but can't find anything. I just want to remove gnome-colors, gnome-brave-gnome-wine and so on and do an upgrade.

Offline

#9 2009-08-08 16:29:04

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: Removing icons

This is the script lxappearance uses to install icons, I however am no expert in deciphering it.

#!/bin/sh
# Script used to install new icon theme.
# Copyright (C) 2008 paulliu, pcman
# License: GNU GPL

# test argc
if (test $# -ne 1)
then
  echo Usage: $0 compressed_file
  exit
fi

# make temp dir
TMPDIR=`mktemp -d /tmp/icon-theme-XXXXXXX`

# decompress
if [ `basename -- $1 .tar.gz` != $1 ]
then
        tar -C $TMPDIR -xzf $1
elif [ `basename -- $1 .tar.bz2` != $1 ]
then
        tar -C $TMPDIR -xjf $1
fi

# create destdir
if [ -z "$XDG_DATA_HOME" ]
then
    export XDG_DATA_HOME="$HOME/.local/share";
fi
THEME_DIR="$XDG_DATA_HOME/icons"
mkdir -p "$THEME_DIR"

# install
cd $TMPDIR
DLIST=`find -name 'index.theme' -exec dirname {} \;`
for DIR in $DLIST
do
    basename "$DIR"
    mv -f "$DIR" "$THEME_DIR"
done

# clear temp dir
rm -rf $TMPDIR

Offline

#10 2009-08-08 17:39:59

iggykoopa
Script Master
Registered: 2008-12-13
Posts: 1,486

Re: Removing icons

heres pretty much what it does.

make temp dir to extract the files to

then it untar's the file into the temp directory

then it makes a directory HOME/.local/share/icons/theme-name

then copies everything over to the theme directory (it copies from wherever the index.theme is incase it's within a subfolder), and deletes the temp directory.


I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Offline

#11 2009-08-08 18:10:42

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: Removing icons

Thanks Iggy.

So Marvel make sure to check that directory and if you find your icon theme, then remove it.

And since you mentioned GNOME-Colors, I find using the PPA is an easier way to install and keep it updated.

Offline

#12 2009-08-08 20:56:04

Marvel
New Member
Registered: 2009-08-06
Posts: 7

Re: Removing icons

Hey guys, thanks! That's awesome. You rock! cool

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo