Bug 203065 - x11-xm/xfce4: xfce4 under 9.3. Cannot create launcher
Summary: x11-xm/xfce4: xfce4 under 9.3. Cannot create launcher
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2015-09-12 22:44 UTC by MMacD
Modified: 2017-05-05 14:55 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description MMacD 2015-09-12 22:44:08 UTC
Brand-new install of 9.3 from disk1 iso.  Added xorg and xfce4 via pkg install.  Added nedit via pkg install.  Nedit loads and runs fine from the command line.  Tried to create xfce4 launcher for nedit.  Everything seemed to work well except the CREATE button failed to create the launcher -- it remained blank and unqualified.
Comment 1 Olivier Duchateau freebsd_committer 2015-09-14 16:00:06 UTC
(In reply to MMacD from comment #0)

I think, this problem came from revision r393663 [1]. After this revision, I noticed others issues with some Xfce applications.

Could you post, your version of devel/glib20?

pkg query %v glib

Possible workaround, you can create .desktop file, calls nedit.desktop

[Desktop Entry]
Comment=Nirvana editor

Copy this this in /usr/local/share/applications/, then open Thunar, right click on this file, go to Open With menu -> Create Launcher on the panel.

Don't create new item from generic launcher, only from .desktop file.

[1] https://svnweb.freebsd.org/ports?view=revision&revision=393663
Comment 2 MMacD 2015-09-18 11:24:42 UTC

I apologise for not replying more quickly--I've been offline. 

The glib version is 2.44.2_1 on both newly updated systems.

Fooling around, I've been able to create a launcher on the desktop in the usual way (right clicking the mouse, etc).  But it's a little broken:  the desktop complains that the launcher is untrusted and doesn't have the x bit set.  But it will let me set the bit and then copy the launcher to a panel, which is kludgy but works.  The desktop remains confused, though, requiring a reboot before new launcher icons appear or deleted ones go away.

Altho I can create a launcher for xpdf and pass it the handbook on the launcher's command line, there's something broken about the result.  When I try to run it, it loads for a moment but immediately goes away.  There doesn't seem to be a message in the window, and I can call "xpdf ~/fBSD_hbook.pdf" by hand in a terminal, so I don't know what's going on with that.  I'm still  experimenting.
Comment 3 Olivier Duchateau freebsd_committer 2015-09-18 16:34:07 UTC
(In reply to MMacD from comment #2)

GLib 2.44.1_1 is broken, support of kqueue/kevent has been disabled (revision r393663), that's why we need to reload session in order to see changes.
Currently there is not yet stable release (2.46.x).

To open PDF with xpdf, you can use xfce4-mime-settings (in Filter field, search pdf), then define your own command (keep in mind, everytime, you want to open PDF, Xpdf will be launched).

If you want to create .desktop file, you can use exo-desktop-item-edit. For example to open HandBook.

exo-desktop-item-edit -c ~/Desktop

.desktop file will appear in your desktop (normally).
Comment 4 Rene Ladan freebsd_committer 2017-03-19 13:41:54 UTC
maintainer reset.

As FreeBSD 9.3 is end-of-life, does the problem still exist under FreeBSD 10.3 or 11.0 ?
Comment 5 Martin Wilke freebsd_committer 2017-05-05 14:55:32 UTC
Feedback Timeout, As well FreeBSD 9.X is no longer supported.