From owner-freebsd-ports@FreeBSD.ORG Wed Aug 16 07:54:46 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B20A616A4DF; Wed, 16 Aug 2006 07:54:46 +0000 (UTC) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (daemon.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id E61F243D55; Wed, 16 Aug 2006 07:54:45 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.6/8.13.6) with ESMTP id k7G7tHvE076052; Wed, 16 Aug 2006 09:55:17 +0200 (CEST) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.13.6/8.13.6/Submit) id k7G7tHH8076051; Wed, 16 Aug 2006 09:55:17 +0200 (CEST) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: Alexander Leidinger Date: Wed, 16 Aug 2006 09:55:16 +0200 User-Agent: KMail/1.9.3 References: <200608151647.32496.kono@kth.se> <200608151901.17564.kono@kth.se> <20060816002254.3d6f0ecd@Magellan.Leidinger.net> In-Reply-To: <20060816002254.3d6f0ecd@Magellan.Leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608160955.17621.kono@kth.se> Cc: freebsd-mozilla@freebsd.org, freebsd-ports@freebsd.org Subject: Re: gtk file chooser weirdness in linux-firefox X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 07:54:46 -0000 On Wednesday 16 August 2006 00:22, Alexander Leidinger wrote: > Quoting Alexander Konovalenko (Tue, 15 Aug 2006 19:01:17 +0200): > > On Tuesday 15 August 2006 15:19, Stanislav Sedov wrote: > > > On Tue, 15 Aug 2006 16:47:31 +0200 > > > > > > Alexander Konovalenko mentioned: > > > > Hi! > > > > > > > > For a long time I am experiencing weird problem when trying to choose > > > > file from File->Open_File or when I want to change "download > > > > action/helper application" in the preferences. The problem is that > > > > GTK file chooser does not list all files in the selected directory. > > > > > > > > Check it out here: > > > > http://daemon.nanophys.kth.se/~kono/buggy_file_chooser.png > > > > > > > > So some GTK library want to convince me that in /usr/X11R6/bin > > > > folder there are only three files? there are 539! > > > > > > > > I tried to right-click and activate hidden files in the chooser, > > > > tried from the root account, no luck. > > > > > > > > Any suggestions? > > > > > > That's because Linux apps access files rooted in /compat/linux first, > > > and only falls back if file isn't found. So firefox merely lists > > > contents of /compat/linux/usr/X11R6, not /usr/X11R6. > > > > ok, you are right, but in /usr/compat/linux there is no home folder for > > example, however file chooser of linux-firefox shows it together with > > other folders from FreeBSD root folder. Isn't it weird to mix folders > > from /usr/compat/linux and / ? Is there any configuration of this? > > No, there's no config of this. The linuxolator depends upon this > behavior. Without it it it either couldn't find the linux libs, or you > aren't able to access your files with the native path. > > If you need to access a file which isn't visible, you just have to type > in the full name. This way you aren't able to access a file which is > also available with different content but the same name > in /compat/linux, and you aren't able to browse with the mouse, but you > can at least access it. > > > And how to jump to the real / folder from linux-app file chooser > > (currently I just created a soft link to it)? There is button called > > "Filesystems" but that does not go to freebsd /. > > There's no way to go to see the real / (except you do a null mount to > somewhere else or something like this). > > Bye, > Alexander. thanks for clarifying. /Alexander Konovalenko