Can't operate nor uninstall Xfce4

Hello

I've just installed FreeBSD 9.0 i386 and I've wanted a good Windows Manager so I've installed xfce4. However, under /usr/ports/x11-wm/ there were multiple entries starting with "xfce4" such as xfce4-session, xfce4-desktop, xfce4-panel, xfce4-wm so I have done make for all entries starting with 'xfce4' and edited ~/.xinitrc to have
Code:
exec xfwm4

But after startx, the X shows just the cursor and no window at all.

Unsatisfied with the result, I decided to uninstall xfce4. The FreeBSD manual says:

pkg_delete xfce4

but it returns this:

Code:
no such package 'xfce4' installed

Any advice?
 
aurora72 said:
Hello

I've just installed FreeBSD 9.0 i386 and I've wanted a good Windows Manager

so I've installed xfce4. However, under /usr/ports/x11-wm/ there were multiple entries starting with "xfce4" such as xfce4-session, xfce4-desktop, xfce4-panel, xfce4-wm

so I have done make for all entries starting with 'xfce4'

Slow down. One of those files is a meta-port, a port that installs all the other ones needed. The Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html#X11-WM-XFCE) shows how to install it.

Even in a hurry, the pkg-message files in the port directories explain what individual packages do.

and edited ~/.xinitrc to have

Code:
exec xfwm4

But after #startx, the X shows just the cursor and no window at all.

That's a window manager, but only a part of xfce. More needs to be run, and startxfce4 is the command that does all the rest.

Unsatisfied with the result,I decided to uninstall xfce4. The FreeBSD manual says:

pkg_delete xfce4

but it returns this:

no such package 'xfce4' installed

Correct, because the actual package name has a version number:
Code:
% pkg_info -Ix xfce
gtk-xfce-engine-3.0.0_1 Xfce gtk theme engine
libxfce4gui-4.10.0_1 Xfce 4 widget library required by Xfce4 and Xfwm4
libxfce4menu-4.10.0_1 Widgets library for the Xfce desktop environment
libxfce4util-4.10.0 Extension library for the Xfce desktop environment
xfce-4.10           The "meta-port" for the Xfce 4 desktop environment
xfce4-appfinder-4.10.0_1 Application launcher and finder
xfce4-conf-4.10.0_1 D-Bus-based configuration storage system
xfce4-desktop-4.10.0_1 Xfce's desktop manager
xfce4-mixer-4.8.0_2 Xfce 4 volume mixer module for xfce4-panel
xfce4-notifyd-0.2.2_2 Visually-appealing notification daemon for Xfce
xfce4-panel-4.10.0_1 Xfce's panel
xfce4-print-4.6.1_8 Xfce 4 graphical frontend for printing
xfce4-session-4.10.0_1 Xfce's session manager
xfce4-settings-4.10.0_1 Xfce 4 settings application
xfce4-tumbler-0.1.25_1 Thumbnail service for Xfce desktop
xfce4-wm-4.10.0_1   Xfce's window manager
xfce4-wm-themes-4.10.0_1 Xfce 4 window decoration themes for xfwm4

pkg_info(1) needs the entire package name. But don't do that yet. Install the rest of xfce4 with the metaport x11-wm/xfce and try it. If you have not already installed the xorg metaport, that will be needed also: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html.
 
startxfce4 did the trick, it started the xfce4 desktop environment.

I didn't know the concept of "meta-port", it's understood now, thanks!
 
Back
Top