! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
nautilus behaves different in 4.0.x and 4.2rc1
Status:
RESOLVED: INVALID
Product:
Xfce-utils
Component:
General

Comments

Description Xan 2004-12-04 14:48:00 CET
Hi,

When I run nautilus in 4.0.x and in 4.2rc1 it behaves diffent. The difference is
related to associated files and recognize the type of files.

- A non-completed .avi file in 4.0.x is recognized as .avi file, while in 4.2rc1
is recognized as "unknown type"
- Some types of files (for example .ogg audio) that has associated programs, in
4.0.x when I click into that files, the default associated program is opened. In
4.2rc1, nautilus says me that "there is no associated program to this file".

I don't know why nautilus behaves different in the two xfce, but it's clear that
it's a problem of xfce4.2rc1: the nautilus is the same program; the difference
is version of xfce.

Please, if you need some configuration files (of nautilus, xfce), say me. I will
give you charmed.

Regards,
Xan.

PS: I install the xfce4.2rc1 with gui-installer in home directory.
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-12-04 21:40:13 CET
as i said on the mailing list, i really don't see how this could be an xfce bug.

please check the values of the following environment variables, both when xfce
4.0.x and 4.2rc are running:

XDG_CONFIG_HOME
XDG_CACHE_HOME
XDG_DATA_DIRS
XDG_CONFIG_DIRS

it's possible that they'll be unset, but please report that if that's the case.
Comment 2 Xan 2004-12-08 11:39:02 CET
How can I check this values in both xfce?. Can you say me the command line that
I have to run?

After you say me that, I will report the values here.

Thanks,
Xan.
Comment 3 Jasper Huijsmans editbugs 2004-12-08 12:23:20 CET
(In reply to comment #2)
> How can I check this values in both xfce?. Can you say me the command line that
> I have to run?
> 
> After you say me that, I will report the values here.
> 
> Thanks,
> Xan.

Open a terminal and type:

echo $XDG_CONFIG_DIRS

Repeat that for the other variables.
Comment 4 Brian J. Tarricone (not reading bugmail) 2004-12-08 21:33:51 CET
open a terminal, and type 'echo $XDG_CONFIG_HOME' (without the quotes).  do that
for each of the variables, and separately using xfce 4.0.x and 4.2rc1.
Comment 5 Xan 2004-12-09 19:11:15 CET
In xfce 4.0.6:

xan@canostra:~$ echo $XDG_CONFIG_HOME

xan@canostra:~$ echo $XDG_CACHE_HOME

xan@canostra:~$ echo $XDG_DATA_DIRS

xan@canostra:~$ echo $XDG_CONFIG_DIRS

xan@canostra:~$

and in 4.2rc1:

xan@canostra:~$ echo $XDG_CONFIG_HOME

xan@canostra:~$ echo $XDG_CACHE_HOME

xan@canostra:~$ echo $XDG_DATA_DIRS
:/home/xan/temporal/xfce4rc1/xfce4dir/share
xan@canostra:~$ echo $XDG_CONFIG_DIRS
:/home/xan/temporal/xfce4rc1/xfce4dir/etc/xdg
xan@canostra:~$


My home directory where I installed xfce4.2rc1 (with gui-installer) is
/home/xan/temporal/xfce4rc1/xfce4dir/

I hope this will serve you.
What's the relation between this variables and nautilus behaviour on associated
apps?

Thanks,
Xan.
Comment 6 Jasper Huijsmans editbugs 2004-12-12 10:23:13 CET
Those values sound very broken. At least try to add the system locations to that
as well.

In your ~/.bash_profile or ~/.bashrc add something like:

===
XDG_DATA_DIRS=/usr/share:/usr/local/share:/home/xan/temporal/xfce4rc1/xfce4dir/share
XDG_CONFIG_DIRS=/etc/xdg:/home/xan/temporal/xfce4rc1/xfce4dir/etc/xdg

export XDG_DATA_DIRS XDG_CONFIG_DIRS
===

Then log out and back in and see what happens. I'm not sure nautilus uses these
dirs at all, but it is worth a try.
Comment 7 Xan 2004-12-12 12:25:03 CET
It works.
I added to .bashrc your lines, and it works, but not of all:
When I run nautilus --no-desktop in terminal, all works fine, in both xfce
(4.2rc1 and 4.0.6), but when I run nautilus --no-desktop in the panel launcher,
in 4.0.6 it works fine, but in 4.2rc1 not (I have the error above). Why?

the contents.xml of the panel are:
[...]
<Control id="-2" popup="1">
        <Command term="0" sn="0">nautilus --no-desktop</Command>
        <Tooltip>Gestor de fitxers Nautilus</Tooltip>
        <Icon id="-1">/usr/share/pixmaps/gnome-home.png</Icon>
      </Control>
<Control id="-2" popup="1">
        <Command term="0" sn="0">nautilus --no-desktop</Command>
        <Tooltip>Gestor de fitxers Nautilus</Tooltip>
        <Icon id="-1">/usr/share/pixmaps/gnome-home.png</Icon>
      </Control>
[...]

and the contents of the config of 4.0.6:
[...]
<Control id="-2" popup="1">
        <Command term="0" sn="0">nautilus --no-desktop</Command>
        <Tooltip>Gestor de fitxers Nautilus</Tooltip>
        <Icon id="-1">/usr/share/pixmaps/gnome-home.png</Icon>
      </Control>
[...]

No apparent reason for this different behaviour!!!

Thanks for all,
Xan.
Comment 8 Brian J. Tarricone (not reading bugmail) 2004-12-12 20:24:41 CET
that's because your bash startup files aren't getting sourced on xfce startup. 
running from a shell works, because the env vars are getting set.  the panel
doesn't start a shell, so it never notices the changes. you need to put this
stuff in xinitrc or something.

regardless, i don't know why these env vars are getting set anyway; we're
certainly not doing it.  this isn't really xfce's problem, as i originally thought.
Comment 9 Xan 2004-12-14 11:05:17 CET
Well, okay.
I already think that this is a xfce bug in some way (perhaps a nautilus bug
too), in the sense that a desktop user than me does not see tech reason, else
see what's changed: the version of xfce and the nautilus behaviour.

I desconcerned how the panel and the shell nautilus command have different
behaviours.


Anyway, thank you very much for your patiente and efforts to solve my problem.
Thank you very much.

Xan.

Bug #571

Reported by:
Xan
Reported on: 2004-12-04
Last modified on: 2009-07-15

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information