startxfce4 from /opt/xfce/bin

Brian J. Tarricone bjt23 at cornell.edu
Mon Jan 23 20:16:05 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/23/2006 11:15 AM, Nick C wrote:
> Hello!
> 
> I have just compiled latest SVN version of XFce4 with --prefix=/opt/xfce.
> Everything was compiled without any errors ;-), but now I do not know how
> to start svn version of Xfce4.
> 
> It says, that I need to put xfce44.desktop in /usr/share/xsessions/. And I
> did that. The file xfce44.desktop contains this information:
> 
> [Desktop Entry]
> Encoding=UTF-8
> Name=Xfce 4.4 Session
> Comment=Run Xfce 4.4 as your desktop environment
> Exec=/opt/xfce/bin/startxfce4
> Icon=/opt/xfce/share/pixmaps/xfce4_xicon1.png
> Type=Application
> 
> and GDM recognize that file, so I have it in GDM login under Session menu.
> But everytime I try to start svn version of Xfce from /opt/xfce, it loads
> Xfce 4.2.3.x (latest stable) from /usr, that I have installed using
> installer from xfce.org.
> 
> So, I am asking is it possible to have 2 versions of Xfce, one stable and
> one in development (this one is in /opt/xfce so it is completely isolated
> from stable release from /usr) and now how to start svn version?

Assuming the copy in /opt/xfce actually compiled and linked correctly
(sometimes there are problems when there is another copy in /usr), you
should be able to do this by changing your PATH so /opt/xfce/bin is
before /usr/bin.  Just edit startxfce4, or create a custom script that
sets the path and then runs startxfce4, and modify the .desktop file
accordingly.  You may also want to set XDG_DATA_DIRS and XDG_CONFIG_DIRS.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFD1St16XyW6VEeAnsRAjIXAJ48si/vF1WtwuyPjXD/wtLkfd7DrQCggNC6
Yv82fq31Qb3fdIJ5hJSCp+k=
=sH83
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list