! 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 !
PATH not set to find Xfce binaries in startxfce4


Description Ori Bernstein 2007-01-06 23:07:46 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061205 Iceweasel/ (Debian-
Build Identifier: 

When installing Xfce to a nonstandard prefix such as ~/coding/testing_root, the path doesn't include the Xfce executables by default, and startxfce4 fails.

Reproducible: Always

Steps to Reproduce:
1. Install to prefix not in path
2. run startxfce4
3. ???
4. Profit!
Comment 1 Ori Bernstein 2007-01-06 23:50:47 CET
Created attachment 927 
Set paths in startxfce4

patch attached to make "startxfce4" script set paths before running any apps, so that they're all found properly
Comment 2 Ori Bernstein 2007-01-06 23:54:23 CET
Created attachment 928 
Changes to makefile

The needed changes to Makefile.am in order to generate xfce.desktop from xfce.desktop.in (to be attached).
Comment 3 Ori Bernstein 2007-01-07 00:02:10 CET
Created attachment 929 
New file to replace xfce.desktop.in

The replacement for xfce.desktop. When this gets applied, please "svn move xfce.desktop xfce.desktop.in" and save this file over xfce.desktop.in.

Combined with the Makefile.am changes, this puts the full path to startxfce4 in the .desktop file for GDM, so that it will be found, even in a nonstandard prefix.

Sorry about the 3 part patch, but "svn diff" gave no obvious way to make an appliable patch in one go.
Comment 4 Nick Schermer editbugs 2011-06-17 20:36:39 CEST
Doesn't make any sense, startxfce4 is also in the non-existing $PATH, so how can this help?

Bug #2721

Reported by:
Ori Bernstein
Reported on: 2007-01-06
Last modified on: 2011-06-17


Xfce Bug Triage
CC List:
1 user



Set paths in startxfce4 (973 bytes, text/x-patch)
2007-01-06 23:50 CET , Ori Bernstein
no flags
Changes to makefile (764 bytes, text/x-patch)
2007-01-06 23:54 CET , Ori Bernstein
no flags
New file to replace xfce.desktop.in (1021 bytes, text/plain)
2007-01-07 00:02 CET , Ori Bernstein
no flags

Additional information