Please help with "misc" icon in KDE

Hi

can somebody try the following simple thing (which drives me crazy…):

  • create a folder named “misc” anywhere on your computer
  • try to create an icon view of that folder on your desktop.
    (or just go to dolphin, and drag and drop the “misc” folder onto the desktop and create an “icon” view… and see what happens when using that…)

When I do that, it does create the folder, the icon settings looks fine, but KDE interprets it as something link with the “misc” from Yast!!! So the icon symbol is in fact the “config” one and when I click on the icon, instead of opening the folder with dolphin it asks me for the root privilege to open yast.

So the bottom line is: I CANNOT get a working icon on my desktop linked to the FOLDER called “misc”…

any hint on how to solve this pls?

thanks!

OK. I created ~/misc, draged and droped it on the desktop, right clicked on the folder’s icon, clicked on the icon in the top, left to the name “misc” and changed the icon (just for fun). When I click on the icon, it justs open the folder ~/misc as expected. I don’t see where’s the problem.

for me too, everything works fine

emsellem wrote:
> any hint on how to solve this pls?

since two other people have tried to duplicate your problem symptom
and could not, perhaps it is time for you to declare your operating
system and KDE version…

and, enter the following into a terminal and copy paste the results
back to here


zypper lr -d

using the instructions here:
http://forums.opensuse.org/showthread.php?t=451526


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Even if you don’t know your quark from your meson, your contributions
to open-source software are helping physicist at the Large Hadron
Collider… Lundstedt in Linux Journal Nov '10

sure, sorry to hear you cannot reproduce the problem…

I am using KDE 4.5, opensuse 11.3.

thanks for any help. This is VERY weird… (looking at the icon settings, all looks normal, but the icon itself is not defined properly somewhere otherwise it wouldn’t open Yast instead of opening the folder so it makes NO sense).
One more detail: /misc is a link to /home/misc (ln -s). Maybe this is important to reproduce the problem…

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------------------±-----------------------------------------------±--------±--------±---------±-------±-----------------------------------------------------------------------------------------±-------
1 | ExtraKDE4.5 | ExtraKDE4.5 | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/Extra/openSUSE_11.3_KDE_Distro_Factory |
2 | KDE4.5 | KDE4.5 | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/Distro:/Factory/openSUSE_11.3 |
3 | Libdvdcss repository | Libdvdcss repository | No | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/11.3/ |
4 | Science | Science | Yes | Yes | 99 | rpm-md | Index of /repositories/science/openSUSE_11.3 |
5 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes | Yes | 99 | rpm-md | Index of /update/11.3 |
6 | Xorg | Xorg | Yes | Yes | 99 | rpm-md | Index of /repositories/X11:/XOrg/openSUSE_11.3 |
7 | download.opensuse.org-Education | openSUSE BuildService - Education | Yes | Yes | 99 | rpm-md | Index of /repositories/Education/openSUSE_11.3 |
8 | download.opensuse.org-STABLE | openSUSE BuildService - OpenOffice.org | Yes | Yes | 99 | rpm-md | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.3 |
9 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.3 |
10 | download.opensuse.org-oss | Main Repository (Sources) | Yes | Yes | 99 | yast2 | Index of /source/distribution/11.3/repo/oss |
11 | download.opensuse.org-python | openSUSE BuildService - devel:languages:python | Yes | Yes | 99 | rpm-md | Index of /repositories/devel:/languages:/python/openSUSE_11.3 |
12 | download.opensuse.org-standard | Main Repository (Contrib) | Yes | Yes | 99 | rpm-md | Index of /repositories/openSUSE:/11.3:/Contrib/standard |
13 | ftp.uni-erlangen.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | Index of /pub/mirrors/packman/suse/11.3/ |
14 | mpl | mpl | No | Yes | 99 | rpm-md | Index of /repositories/home:/ocefpaf/openSUSE_11.3 |
15 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | Yes | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
16 | repo-debug | openSUSE-11.3-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.3/repo/oss |
17 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/non-oss |
18 | repo-oss | openSUSE-11.3-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/oss |
19 | repo-source | openSUSE-11.3-Source | No | Yes | 99 | yast2 | Index of /source/distribution/11.3/repo/oss

sure, sorry to hear you cannot reproduce the problem…

I am using KDE 4.5, opensuse 11.3.

thanks for any help. This is VERY weird… (looking at the icon settings, all looks normal, but the icon itself is not defined properly somewhere otherwise it wouldn’t open Yast instead of opening the folder so it makes NO sense).
One more detail: /misc is a link to /home/misc (ln -s). Maybe this is important to reproduce the problem…

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±------------------------------------±-----------------------------------------------±--------±--------±---------±-------±-----------------------------------------------------------------------------------------±-------
1 | ExtraKDE4.5 | ExtraKDE4.5 | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/Extra/openSUSE_11.3_KDE_Distro_Factory |
2 | KDE4.5 | KDE4.5 | No | Yes | 99 | rpm-md | Index of /repositories/KDE:/Distro:/Factory/openSUSE_11.3 |
3 | Libdvdcss repository | Libdvdcss repository | No | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/11.3/ |
4 | Science | Science | Yes | Yes | 99 | rpm-md | Index of /repositories/science/openSUSE_11.3 |
5 | Updates for openSUSE 11.3 11.3-1.82 | Updates for openSUSE 11.3 11.3-1.82 | Yes | Yes | 99 | rpm-md | Index of /update/11.3 |
6 | Xorg | Xorg | Yes | Yes | 99 | rpm-md | Index of /repositories/X11:/XOrg/openSUSE_11.3 |
7 | download.opensuse.org-Education | openSUSE BuildService - Education | Yes | Yes | 99 | rpm-md | Index of /repositories/Education/openSUSE_11.3 |
8 | download.opensuse.org-STABLE | openSUSE BuildService - OpenOffice.org | Yes | Yes | 99 | rpm-md | Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.3 |
9 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | Yes | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.3 |
10 | download.opensuse.org-oss | Main Repository (Sources) | Yes | Yes | 99 | yast2 | Index of /source/distribution/11.3/repo/oss |
11 | download.opensuse.org-python | openSUSE BuildService - devel:languages:python | Yes | Yes | 99 | rpm-md | Index of /repositories/devel:/languages:/python/openSUSE_11.3 |
12 | download.opensuse.org-standard | Main Repository (Contrib) | Yes | Yes | 99 | rpm-md | Index of /repositories/openSUSE:/11.3:/Contrib/standard |
13 | ftp.uni-erlangen.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | Index of /pub/mirrors/packman/suse/11.3/ |
14 | mpl | mpl | No | Yes | 99 | rpm-md | Index of /repositories/home:/ocefpaf/openSUSE_11.3 |
15 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | Yes | No | 99 | yast2 | cd:///?devices=/dev/sr0 |
16 | repo-debug | openSUSE-11.3-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.3/repo/oss |
17 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/non-oss |
18 | repo-oss | openSUSE-11.3-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.3/repo/oss |
19 | repo-source | openSUSE-11.3-Source | No | Yes | 99 | yast2 | Index of /source/distribution/11.3/repo/oss

by the way: when I drag and drop the misc folder from dolphin, it automatically create an icon with the name “Miscellaneous” and the symbol of “Systems Settings”… makes no sense… (sorry for the duplicate in the previous post, my internet connection is terrible today)

emsellem wrote:
> by the way: when I drag and drop the misc folder from dolphin, it
> automatically create an icon with the name “Miscellaneous” and the
> symbol of “Systems Settings”… makes no sense… (sorry for the
> duplicate in the previous post, my internet connection is terrible
> today)

strange! i don’t understand how the machine can know that “misc”
should have an icon named “Miscellaneous” !!! i wonder if you named
one “cat” if the system would expand that to “Catastrophic” ??

first, (i’m not a KDE4 user, so i only know what i read, but) is your
desktop set for “folder view”?

and, if you create a folder in your home directory named test, and
then in dolphin go to ~/test and drag and drop it onto your desktop,
does it also have the “systems setting” symbol, expand to
“Testosterone” and open YaST if clicked ?? (or any of those strange
things?)

if so, please use YaST to create a new user (say Test) and then log
out of your current session and back in as Test and:

create in Test’s home a “misc” folder and see if when you drag drop it
to the desktop if it is also is connected to YaST, with a new icon name…

OH, and read this http://tinyurl.com/33qc9vu and then trim back your
enabled repos some…i do not know what is causing your problem, but
maybe . . .


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Even if you don’t know your quark from your meson, your contributions
to open-source software are helping physicist at the Large Hadron
Collider… Lundstedt in Linux Journal Nov '10

Just tried with a different temporary user. Still the same: drag and drop of the “misc” folder (icon) makes it automatically with the icon of the systems settings, “seems” to have the right set up (when I open the icon settings), but does call yast Miscellaneous when I click on it (asking me the root passwd).

I know it’s funny, but this drives me crazy.
So any hint of what I can do???

emsellem wrote:
> Just tried with a different temporary user. Still the same: drag and
> drop of the “misc” folder (icon) makes it automatically with the icon of
> the systems settings, “seems” to have the right set up (when I open the
> icon settings), but does call yast Miscellaneous when I click on it
> (asking me the root passwd).
>
> I know it’s funny, but this drives me crazy.
> So any hint of what I can do???
>
>
ok, lets start at the beginning:

-how much experience do you have with Linux?

-are you dual booting with any other operating system?

-the 11.3 you are on now, is it installed over an older version? or is
it a fresh format/install?

-did you install from a live CD or DVD?

-and did your install image come from software.opensuse.org or some
other place?

-did you do this prior to installing? http://tinyurl.com/25ydj4a if
not, do it now and if it reports any errors tell us about it…

-did you have this problem from the very first use? i mean, did you
have this problem before you moved to KDE4.5 ?

-in your first post you say “create a folder named “misc” anywhere on
your computer” but, you tell me how you create a folder ‘anywhere’
outside of your home folder? did you do that as root? how?

-did you (for example) log into your KDE4 system as root and then
create a folder in the root directory named “misc” that then fell into
place between /media and /mnt? or just how did you create the folder
and where did it land when first created?

-then, did you pick it up in dolphin and drop it into
/home/[yourID]/misc is that what you did?

-in another post you write “/misc is a link to /home/misc (ln -s)”
which really confuses me because:
–did you create it as a link? how?
–why is it a link to “/home/misc” and not “/home/[yourID]/misc”?
–or do you have a user named “misc”?

i think i’m beginning to get an idea of what is going on in your
machine there–i think it may be a classic PEBKAC or PICNIC…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Programming: a race between software engineers building bigger/better
idiot-proof programs, and the universe building bigger/better idiots.
So far, the universe is winning. Rick Cook

Tried, nothing wrong here. Check whether you enabled some mime-type called misc?

>> -how much experience do you have with Linux?

I would say “advanced” : managing my own system since Suse 6.xx (and at that time it was a lot of hacking to make it work). But not “nerd” level :slight_smile:

>> -are you dual booting with any other operating system?

nope
(I did that in the past, but now using Vmware only for ppt’s :-)) and wine for a couple of stuff.

>> -the 11.3 you are on now, is it installed over an older version? or is
>> it a fresh format/install?

Fresh. But with an old “home” although I did remove all .kde/.kde4 and related instances to avoid inconsistencies. I also tried with a new user. No luck.

[Did originally try the usual upgrade - I always try for each new release -, and as usual I have to rely on a fresh start because upgrades are usually not robust (sorry…).]

>> -did you install from a live CD or DVD?
DVD. 64 bit. on a Latitude E64300 Dell.

>> -and did your install image come from software.opensuse.org or some
>> other place?
straight openSuse download.

>> -did you do this prior to installing? Picasa Web Albums - carl fletcher - 11.3 Slideshow if
>> not, do it now and if it reports any errors tell us about it…

Didn’t do it. But will report in a second post if something comes up. Since I updated the kernel (several times) + Factory KDE 4.5 since then I don’t expect this to be the cause.

>> -did you have this problem from the very first use? i mean, did you
>> have this problem before you moved to KDE4.5 ?

Never. (I would have posted something then :slight_smile: But I often use shell-based commands in konsole/xterms so I am only now switching more and more to a dolphin/icons etc usage.

>> -in your first post you say “create a folder named “misc” anywhere on
>> your computer” but, you tell me how you create a folder ‘anywhere’
>> outside of your home folder? did you do that as root? how?

I tried as root and as a normal user. I do this in a shell (using tcsh as normal user, bash as root) as a std “mkdir misc”. Note that I am using my laptop using standard xterm/shell 95% of the time, and 5% of the time rely on dolphin (for pics, cp/mv, and a few other things). I used this misc directory for ages and just relink with “ln -s” every time I have a reformatting of the “/” partition for a new Suse/OpenSuse.

>> -did you (for example) log into your KDE4 system as root and then
>> create a folder in the root directory named “misc” that then fell into
>> place between /media and /mnt? or just how did you create the folder
>> and where did it land when first created?

I first create a “misc” folder (mkdir) under /home. Then did "ln -s /home/misc .’ with root so that /misc is linked to /home/misc. Never had a pb with this and I do this also with a couple of directories.
Note that if I create a “misc” folder somewhere else (just in case the pb is that link to “/”), without any ln-s link it reacts in the same way, doing this as a user or as root.

>> -then, did you pick it up in dolphin and drop it into
>> /home/[yourID]/misc is that what you did?

see above. I have another folder created in the same way “science” for which I have a link between /science and /home/science. Did drop it as an icon and it works with NO problem. When I click on the icon “science” it opens the folder “science”… :slight_smile: But not with misc (and the icon gets a name “Miscellaneous” automatically).

>> -in another post you write “/misc is a link to /home/misc (ln -s)”
>> which really confuses me because:
>> --did you create it as a link? how?
>> --why is it a link to “/home/misc” and not “/home/[yourID]/misc”?
>> --or do you have a user named “misc”?

see above. “misc” is the name of the directory/folder. The username is my name. So to recap:

  • I am user XXX, and I do, in a shell/konsole window (xterm) create a directory “misc” under /home. I then go to “/” and do (as root) “ln -s /home/misc .” which does create a link so that /misc == /home/misc. That’s all. It works for other folders (including the iconification on the desktop) but with that “misc” it creates an icon with the “system settings” logo and a link to Yast (although opening the setup of the icon it looks like all is ok and it even computes the size of the folder as it should…). Puzzling. (note that I have used that misc folder since ages, but I thought that using it so often I would create now an icon on the desktop… does not work out so far)

>> i think i’m beginning to get an idea of what is going on in your
>> machine there–i think it may be a classic PEBKAC or PICNIC…

I would be just happy to have the pb solved (also because it is puzzling/odd) and sorry if this is just a stupid mistake on my side.

cat /usr/share/applications/YaST2/groups/misc.desktop

[Desktop Entry]
X-SuSE-translate=true
X-SuSE-DocTeamID=ycc_misc
Type=Application
Categories=Qt;X-SuSE-YaST;

X-KDE-ModuleType=Library
X-KDE-RootOnly=true
X-KDE-HasReadOnlyMode=true
X-KDE-Library=yast2

X-SuSE-YaST-Group=Misc
X-SuSE-YaST-SortKey=99

OnlyShowIn=X-SuSE-YaST;
Icon=yast-misc

Name=Miscellaneous
X-KDE-SubstituteUID=true

Exec=yast2

Does the following command provide some useful output?

grep -R -i misc /usr/share/applications/* | grep MimeType

Does that one output something special which could be related to “misc” somehow:

update-desktop-database -v
mkdir ~/misc
xdg-mime query filetype ~/misc
inode/directory
xdg-mime query default inode/directory
X_dolphin.desktop
  • X_dolphin.desktop is specific to my installation. Most people should get dolphin.desktop here.
    If you don’t get inode/directory in the first place, that is the problem.

emsellem wrote:
> - I am user XXX, and I do, in a shell/konsole window (xterm) create a
> directory “misc” under /home. I then go to “/” and do (as root) “ln -s
> /home/misc .” which does create a link so that /misc == /home/misc.

that will not work, instead just as root issue:


ln -s /home/XXX/misc /home/misc

you can’t make that easier by going to “/” or even “/home” as i think
you meant, because you still must identify the directory you want to
link to /home/misc even if you in either / or /home when you issue ‘ln
-s /home/misc’

try it that way as see if the mystery is solved…

> I would be just happy to have the pb solved (also because it is
> puzzling/odd) and sorry if this is just a stupid mistake on my side.

i think you have maybe discovered a bug (except no one here can
duplicate it–so, it almost must be something sour in your
system–expecially since you said yours has not always been like
that…so, maybe something you did to get to factory KDE4.5, which if
i had known earlier i wouldn’t have stuck my head in, because people
who TEST beta software are supposed to know how to solve the problems
which arise OR discuss them in
http://forums.opensuse.org/english/get-help-here/pre-release-beta/
and/or recognize bugs and report them)…

otherwise i am officially stumped…except i think those others who
are on the track of trying to figure out how your system came to
believe that everything named “misc” is directly connected to the to
the YaST module Miscellaneous may be on to the right track…

and, i GUESS if you figure that out you will have learned there is a
bug…why not nose around inthe pre-release-beta forum and bugzilla
and see if another has discovered your symptom…

actually, the way i might solve the problem if it were mine would be
to just use a different naming convention…like one of these, or
hundreds of other possibilities:
/home/etc
/home/varied
/home/diverse
/home/stuff


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Programming: a race between software engineers building bigger/better
idiot-proof programs, and the universe building bigger/better idiots.
So far, the universe is winning. Rick Cook

To answer the various posts: (thanks by the way for the support…)

  • I get inode/directory fine. and dolphin.desktop too.
  • nothing interesting within /usr/share/applications besides the existence of the misc.desktop
  • yes of course, I do “ln -s /home/misc /misc”. Just wrote this too quickly, sorry for the confusion. But as mentioned the odd behaviour seems to depend on the naming “misc” not where it stands or if it is a link of any sort.

One thing I can certainly try out: when I click on the icon that I just created from the misc folder via dolphin, as mentioned, it tries to open yast. But the icon itself (when I open its setup) shows only the standard config (with the right icon symbol, right everything in fact even as mentioned computing the size of the folder etc). So there is something which defines the icon in a different way. Since it is on my desktop I should be able to see HOW this thing is configured. I’ll try to see where the bloody code comes from (which triggers yast2) and report if I find anything.

If anything I can indeed change “misc” to “stuff”. But to be frank, it is so odd that I really want to find how it can just do that.

cheers

emsellem wrote:
> If anything I can indeed change “misc” to “stuff”. But to be frank, it
> is so odd that I really want to find how it can just do that.

you may need to post to one of the mail lists…that is where most of
the devs, and the higher technos hang…see here how:
http://en.opensuse.org/openSUSE:Communication_channels
and, be sure to read/follow the “mailing list netiquette” or you might
be ignored, or worse…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Programming: a race between software engineers building bigger/better
idiot-proof programs, and the universe building bigger/better idiots.
So far, the universe is winning. Rick Cook

ok thanks. I have done so (post on the kde mailing list). Let’s see…

Thanks again for the input. Didn’t find anything so far which could direct me towards a solution, besides the misc.desktop which was mentioned earlier… It indeed looks like the icon is interpreted just as a yast2 access with some default icon logo and name. I checked my config/plasma-desktop-appletsrc file and everything looks fine there:
[Containments][1][Applets][121]
geometry=1217,713,123,58
immutability=1
plugin=icon
zvalue=0

[Containments][1][Applets][121][Configuration]
Url=file:///home/misc

cheers