LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2012, 05:17 PM   #46
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263

Quote:
Originally Posted by ralvex View Post
Good!
I make other xfce-*-plugin's pkg right now. I send in this repository soon.
Overall your 64 bit package is working great. Merci Beaucoup! And, thanks for including Mousepad. Greatly appreciated!
One problem is it won't run NetworkManager as user. It will as root, but the applet won't load as user. Probably has the something to do with not being able to shutdown or reboot the computer from the log off menu. Most likely a permission problem, I would guess. I've installed wicd until I can figure it out.
Again, Many Thanks.
Viva La France!
 
Old 04-30-2012, 07:01 PM   #47
ralvex
LQ Newbie
 
Registered: Apr 2012
Location: Etampes (France)
Distribution: SalixOS x64
Posts: 17

Rep: Reputation: 8
Quote:
Originally Posted by cwizardone View Post
Overall your 64 bit package is working great. Merci Beaucoup! And, thanks for including Mousepad. Greatly appreciated!
One problem is it won't run NetworkManager as user. It will as root, but the applet won't load as user. Probably has the something to do with not being able to shutdown or reboot the computer from the log off menu. Most likely a permission problem, I would guess. I've installed wicd until I can figure it out.
Again, Many Thanks.
Viva La France!

@cwizardone

I not use network-manager, i can not help you for this.
For shutdown and reboot: i use SalixOS 13.37 and logout-applets it's OK, can be you're system is configured differently?

EDIT: I added several xfce4-plugins (rebuilt for Xfce-4.10) in the repository ;-)

Last edited by ralvex; 04-30-2012 at 07:42 PM. Reason: add update
 
Old 04-30-2012, 09:56 PM   #48
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by ralvex View Post
@cwizardone
I not use network-manager, i can not help you for this.
For shutdown and reboot: i use SalixOS 13.37 and logout-applets it's OK, can be you're system is configured differently?
Not to worry. I'll figure it out.


Quote:
Originally Posted by ralvex View Post
EDIT: I added several xfce4-plugins (rebuilt for Xfce-4.10) in the repository ;-)
Thanks, again, for all you have done!
 
Old 04-30-2012, 11:41 PM   #49
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Rep: Reputation: 125Reputation: 125
This Xfce 4.10 is sweeet. I really like the vertical panel and settings manager and mime editor is nice too have too. Finally there is option for presentation in power manager Great desktop got even greater. Many thanks for packages.

Suspend, restart, shutdown etc were greyed out for me too, but I've installed GConf and ORBit2 with slackpkg and then grabbed few 4.8 dependancy packages from rworkmans repository upower, udisks, sg3_utils and ggnome-disk-utility then modified my .xinitrc so xfce would be launched like this: exec ck-launch-session startxfce4

Power management seems to work well now, as for other deps, I'm not sure what is needed and why, maybe someone can explain further.
 
Old 05-01-2012, 03:52 AM   #50
ralvex
LQ Newbie
 
Registered: Apr 2012
Location: Etampes (France)
Distribution: SalixOS x64
Posts: 17

Rep: Reputation: 8
I'm making a complementary repository for Salixos and Slackware (with dependencie's management via "slapt-get") to simplify Xfce-4.10's installation.

http://download.tuxfamily.org/salixbang/depot/ (ready NOW!!! for testing Google+ page)

Last edited by ralvex; 05-01-2012 at 06:29 PM. Reason: update
 
Old 05-01-2012, 08:29 PM   #51
hernanmedellin
Member
 
Registered: Mar 2006
Location: Monterrey, México
Distribution: Slackware64 Current
Posts: 33

Rep: Reputation: 14
Thumbs up

Quote:
Originally Posted by ralvex View Post
I'm making a complementary repository for Salixos and Slackware (with dependencie's management via "slapt-get") to simplify Xfce-4.10's installation.

http://download.tuxfamily.org/salixbang/depot/ (ready NOW!!! for testing Google+ page)
These packages can be used in current?

Thanks.
 
Old 05-01-2012, 11:00 PM   #52
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by hernanmedellin View Post
These packages can be used in current?
Thanks.
So far, so good. So, yes.
 
Old 05-02-2012, 02:03 AM   #53
ralvex
LQ Newbie
 
Registered: Apr 2012
Location: Etampes (France)
Distribution: SalixOS x64
Posts: 17

Rep: Reputation: 8
I made this repository for 13.37's release. Package's release in -current are more recent, i do not think it creates problem.
 
Old 05-02-2012, 03:10 AM   #54
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Rep: Reputation: 125Reputation: 125
Just an update to my earlier post. An in depth explanation about xfce dependencies can be found in rworkman xfce 4.8 repository NOTES I've found the same apply to to 4.10.

Also I had a little problem with mounting. When external disk or usb key with NTFS file system was plugged in, gvfs would mount it as Read Only. A quick fix for that is a symlink to ntfs-3g ln -s /bin/ntfs-3g /sbin/mount.ntfs

Other than that, no more problems were detected so far. Many thanks to ralvex for the effort on XFCE 4.10 it's a really nice refreshment for 13.37
 
Old 05-02-2012, 03:18 PM   #55
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Other than the NetworkManager issue, Xfce 4.10, has worked fine.
Wicd works with Xfce 4.10, but NetworkManager 0.9.2 and it's applet report, "no networks devices available." Tried NetworkManager 0.9.4 and it's applet 0.9.4.1, but the applet won't even load. Both work well with KDE 4.8.2.
I had considered giving up on NetworkManager and using Wicd, the latest version, but when I booted up and it told me there were no available networks in the area and I"m looking straight at the router not more than 12 feet away, Wicd went into the trash.
If I figure it out, the solution will be posted here.

Edit in: Both versions of NetworkManager mentioned above work as root, but not as user.

Last edited by cwizardone; 05-02-2012 at 09:12 PM. Reason: Added, NM works as root.
 
Old 05-02-2012, 09:51 PM   #56
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Well, halfway there. Found someone on a Arch forum was having a similar problem with KDE, so I changed part of their solution and at the command prompt entered, ck-launch-session startxfce4

Now NetworkManager works, but I can't edit any of the connections. Still plugging away at it...
 
Old 05-02-2012, 10:11 PM   #57
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
This problem is solved.

It was the .xinitrc file for Xfce 4.10.

I went to edit it and noticed it was 5,693 bytes in size. MUCH TOO BIG. Looked through it and it didn't make much sense to me so I renamed it.
Then I ran xwmconfig and picked KDE and looked at the resulting .xinitrc file. It was only about 560 bytes and looked pretty generic, so I edited it to start Xfce instead of KDE.
Worked.
Networkmanager is now working as it should and the log out options are no longer greyed out.
Probably not a pretty solutions, but it works.
 
1 members found this post helpful.
Old 05-03-2012, 05:06 AM   #58
ralvex
LQ Newbie
 
Registered: Apr 2012
Location: Etampes (France)
Distribution: SalixOS x64
Posts: 17

Rep: Reputation: 8
Quote:
Originally Posted by cwizardone View Post
This problem is solved.

It was the .xinitrc file for Xfce 4.10.

I went to edit it and noticed it was 5,693 bytes in size. MUCH TOO BIG. Looked through it and it didn't make much sense to me so I renamed it.
Then I ran xwmconfig and picked KDE and looked at the resulting .xinitrc file. It was only about 560 bytes and looked pretty generic, so I edited it to start Xfce instead of KDE.
Worked.
Networkmanager is now working as it should and the log out options are no longer greyed out.
Probably not a pretty solutions, but it works.

I not understand. The problem as a relation with my package?
xinitrc's file of my package not mention KDE.

This is in relation with your configuration? You are Kde installed before Xfce??

Last edited by ralvex; 05-03-2012 at 05:09 AM.
 
Old 05-03-2012, 08:00 AM   #59
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by ralvex View Post
I not understand. The problem as a relation with my package?
xinitrc's file of my package not mention KDE.

This is in relation with your configuration? You are Kde installed before Xfce??

I don't know if it comes from your package or not, but when I run xwmconfig and pick Xfce, this is what is generated:
(I added the "fce4" on lines 91 and 103).

Quote:
#!/bin/sh

# fix broken $UID on some system...
if test "x$UID" = "x"; then
if test -x /usr/xpg4/bin/id; then
UID=`/usr/xpg4/bin/id -u`;
else
UID=`id -u`;
fi
fi

# set $XDG_MENU_PREFIX to "xfce-" so that "xfce-applications.menu" is picked
# over "applications.menu" in all Xfce applications.
if test "x$XDG_MENU_PREFIX" = "x"; then
XDG_MENU_PREFIX="xfce-"
export XDG_MENU_PREFIX
fi

# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
if test "x$DESKTOP_SESSION" = "x"; then
DESKTOP_SESSION="xfce"
export DESKTOP_SESSION
fi

# $XDG_CONFIG_HOME defines the base directory relative to which user specific
# configuration files should be stored. If $XDG_CONFIG_HOME is either not set
# or empty, a default equal to $HOME/.config should be used.
if test "x$XDG_CONFIG_HOME" = "x" ; then
XDG_CONFIG_HOME=$HOME/.config
fi
[ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"

# $XDG_CACHE_HOME defines the base directory relative to which user specific
# non-essential data files should be stored. If $XDG_CACHE_HOME is either not
# set or empty, a default equal to $HOME/.cache should be used.
if test "x$XDG_CACHE_HOME" = "x" ; then
XDG_CACHE_HOME=$HOME/.cache
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"

# set up XDG user directores. see
# http://freedesktop.org/wiki/Software/xdg-user-dirs
if which xdg-user-dirs-update >/dev/null 2>&1; then
xdg-user-dirs-update
fi

# Modify libglade and glade environment variables so that
# it will find the files installed by Xfce
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:"
GLADE_PIXMAP_PATH="$GLADE_PIXMAP_PATH:"
GLADE_MODULE_PATH="$GLADE_MODULE_PATH:"
export GLADE_CATALOG_PATH
export GLADE_PIXMAP_PATH
export GLADE_MODULE_PATH

# For now, start with an empty list
XRESOURCES=""

# Has to go prior to merging Xft.xrdb, as its the "Defaults" file
test -r "/etc/xfce/xdg/xfce4/Xft.xrdb" && XRESOURCES="$XRESOURCES /etc/xfce/xdg/xfce4/Xft.xrdb"
test -r $HOME/.Xdefaults && XRESOURCES="$XRESOURCES $HOME/.Xdefaults"

BASEDIR=$XDG_CONFIG_HOME/xfce4
if test -r "$BASEDIR/Xft.xrdb"; then
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
elif test -r "$XFCE4HOME/Xft.xrdb"; then
mkdir -p "$BASEDIR"
cp "$XFCE4HOME/Xft.xrdb" "$BASEDIR"/
XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
fi

# merge in X cursor settings
test -r "$BASEDIR/Xcursor.xrdb" && XRESOURCES="$XRESOURCES $BASEDIR/Xcursor.xrdb"

# ~/.Xresources contains overrides to the above
test -r "$HOME/.Xresources" && XRESOURCES="$XRESOURCES $HOME/.Xresources"

# load all X resources (adds /dev/null to avoid an empty list that would hang the process)
cat /dev/null $XRESOURCES | xrdb -nocpp -merge -

# load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap

# run xfce4-session if installed
if which xfce4-session >/dev/null 2>&1; then

# check if we start xfce4-session with ck-launch-session. this is only
# required for starting from a console, not a login manager
if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then
if which ck-launch-session >/dev/null 2>&1; then
ck-launch-session startxfce4
else
echo
echo "You have tried to start Xfce with consolekit support, but"
echo "ck-launch-session is not installed."
echo "Aborted startup..."
echo

exit 1
fi
else
# start xfce4-session normally
startxfce4
fi

exit 0
fi

##################
# IMPORTANT NOTE #
##################

# Everything below here ONLY gets executed if you are NOT using xfce4-session
# (Xfce's session manager). If you are using the session manager, everything
# below is handled by it, and the code below is not executed at all. If you're
# not sure if you're using the session manager, type 'ps -e|grep xfce4-session'
# in a terminal while Xfce is running.

##################

# Use dbus-launch if installed.
if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
if which dbus-launch >/dev/null 2>&1; then
eval `dbus-launch --sh-syntax --exit-with-session`
# some older versions of dbus don't export the var properly
export DBUS_SESSION_BUS_ADDRESS
else
echo "Could not find dbus-launch; Xfce will not work properly" >&2
fi
fi

# this is only necessary when running w/o xfce4-session
xsetroot -solid black -cursor_name watch

# or use old-fashioned startup script otherwise

xfsettingsd &
xfwm4 --daemon

# start up stuff in $XDG_CONFIG_HOME/autostart/
if test -d "$XDG_CONFIG_HOME/autostart"; then
for i in ${XDG_CONFIG_HOME}/autostart/*.desktop; do
grep -q -E "^Hidden=true" "$i" && continue
if grep -q -E "^OnlyShowIn=" "$i"; then
# need to test twice, as lack of the line entirely means we still run it
grep -E "^OnlyShowIn=" "$i" | grep -q 'XFCE;' || continue
fi
grep -E "^NotShowIn=" "$i" | grep -q 'XFCE;' && continue

# check for TryExec
trycmd=`grep -E "^TryExec=" "$i" | cut -d'=' -f2`
if test "$trycmd"; then
which "$trycmd" >/dev/null 2>&1 || continue
fi

cmd=`grep -E "^Exec=" "$i" | cut -d'=' -f2`
if test "$cmd" && which "$cmd" >/dev/null 2>&1; then
$cmd &
fi
done
fi

xfdesktop&
orage &

panel=`which xfce4-panel`
case "x$panel" in
x|xno*)
;;
*)
$panel
ret=$?
while test $ret -ne 0; do
xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@xfce.org list
or on http://bugs.xfce.org
Meanwhile the panel will be restarted
EOF
cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@xfce.org list
or on http://bugs.xfce.org
Meanwhile the panel will be restarted
EOF
$panel
ret=$?
done
;;
esac

xsetroot -bg white -fg red -solid black -cursor_name watch

This is what I replaced it with (that works):

Quote:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
ck-launch-session startxfce4
else
startxfce4
fi

Last edited by cwizardone; 05-03-2012 at 08:13 AM.
 
Old 05-04-2012, 10:04 AM   #60
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
There are a couple of things going on with xinitrc, for those familiar with rworkman's xfce slackbuilds. First, the xfce devs dropped the xfce4-utils package and moved all of the relevant components into other tarballs. xinitrc is now part of xfce4-session, so if you run rworkman's xfce.SlackBuild (which calls for a patch to fix consolekit in xinitrc) it will fail because the package to which it should apply isn't there.

If you modify the slackbuild to apply the patch to xfce4-session instead, it will still fail in a couple of locations (2/3 blobs) because there have been a number of changes to xinitrc between 4.8 and 4.10.

I just included a call to create the variable XFCE4_SESSION_WITH_CK (replacing LAUNCH_XFCE_WITH_CK in rworkman's xinitrc patch), dropped the other blobs (I think they were addressed by upstream fixes, but haven't finished testing yet), and this xinitrc seems to work for me (Network Manager runs fine, and shut down/reboot/suspend buttons work for non-root users):

Code:
#!/bin/sh

# fix broken $UID on some system...
if test "x$UID" = "x"; then
  if test -x /usr/xpg4/bin/id; then
    UID=`/usr/xpg4/bin/id -u`;
  else
    UID=`id -u`;
  fi
fi

# If DESKTOP_SESSION is unset here then X was launched from the command line.
# If ConsoleKit is available, use it later when we run xfce4-session.
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  XFCE4_SESSION_WITH_CK=1
fi

# set $XDG_MENU_PREFIX to "xfce-" so that "xfce-applications.menu" is picked
# over "applications.menu" in all Xfce applications.
if test "x$XDG_MENU_PREFIX" = "x"; then
  XDG_MENU_PREFIX="xfce-"
  export XDG_MENU_PREFIX
fi

# set DESKTOP_SESSION so that one can detect easily if an Xfce session is running
if test "x$DESKTOP_SESSION" = "x"; then
  DESKTOP_SESSION="xfce"
  export DESKTOP_SESSION
fi

# $XDG_CONFIG_HOME defines the base directory relative to which user specific
# configuration files should be stored. If $XDG_CONFIG_HOME is either not set
# or empty, a default equal to $HOME/.config should be used.
if test "x$XDG_CONFIG_HOME" = "x" ; then
  XDG_CONFIG_HOME=$HOME/.config
fi
[ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"

# $XDG_CACHE_HOME defines the base directory relative to which user specific
# non-essential data files should be stored. If $XDG_CACHE_HOME is either not
# set or empty, a default equal to $HOME/.cache should be used.
if test "x$XDG_CACHE_HOME" = "x" ; then
  XDG_CACHE_HOME=$HOME/.cache
fi
[ -d "$XDG_CACHE_HOME" ] || mkdir "$XDG_CACHE_HOME"

# set up XDG user directores.  see
# http://freedesktop.org/wiki/Software/xdg-user-dirs
if which xdg-user-dirs-update >/dev/null 2>&1; then
    xdg-user-dirs-update
fi

# Modify libglade and glade environment variables so that
# it will find the files installed by Xfce
GLADE_CATALOG_PATH="$GLADE_CATALOG_PATH:"
GLADE_PIXMAP_PATH="$GLADE_PIXMAP_PATH:"
GLADE_MODULE_PATH="$GLADE_MODULE_PATH:"
export GLADE_CATALOG_PATH
export GLADE_PIXMAP_PATH
export GLADE_MODULE_PATH

# For now, start with an empty list
XRESOURCES=""

# Has to go prior to merging Xft.xrdb, as its the "Defaults" file
test -r "/etc/xfce/xdg/xfce4/Xft.xrdb" && XRESOURCES="$XRESOURCES /etc/xfce/xdg/xfce4/Xft.xrdb"
test -r $HOME/.Xdefaults && XRESOURCES="$XRESOURCES $HOME/.Xdefaults"

BASEDIR=$XDG_CONFIG_HOME/xfce4
if test -r "$BASEDIR/Xft.xrdb"; then
  XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
elif test -r "$XFCE4HOME/Xft.xrdb"; then
  mkdir -p "$BASEDIR"
  cp "$XFCE4HOME/Xft.xrdb" "$BASEDIR"/
  XRESOURCES="$XRESOURCES $BASEDIR/Xft.xrdb"
fi

# merge in X cursor settings
test -r "$BASEDIR/Xcursor.xrdb" && XRESOURCES="$XRESOURCES $BASEDIR/Xcursor.xrdb"

# ~/.Xresources contains overrides to the above
test -r "$HOME/.Xresources" && XRESOURCES="$XRESOURCES $HOME/.Xresources"

# load all X resources (adds /dev/null to avoid an empty list that would hang the process)
cat /dev/null $XRESOURCES | xrdb -nocpp -merge -

# load local modmap
test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap

# run xfce4-session if installed
if which xfce4-session >/dev/null 2>&1; then

  # check if we start xfce4-session with ck-launch-session. this is only
  # required for starting from a console, not a login manager
  if test "x$XFCE4_SESSION_WITH_CK" = "x1"; then
    if which ck-launch-session >/dev/null 2>&1; then
      ck-launch-session xfce4-session
    else
      echo
      echo "You have tried to start Xfce with consolekit support, but"
      echo "ck-launch-session is not installed."
      echo "Aborted startup..."
      echo

      exit 1
    fi
  else
    # start xfce4-session normally
    xfce4-session
  fi

  exit 0
fi

##################
# IMPORTANT NOTE #
##################

# Everything below here ONLY gets executed if you are NOT using xfce4-session
# (Xfce's session manager).  If you are using the session manager, everything
# below is handled by it, and the code below is not executed at all.  If you're
# not sure if you're using the session manager, type 'ps -e|grep xfce4-session'
# in a terminal while Xfce is running.

##################

# Use dbus-launch if installed.
if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
  if which dbus-launch >/dev/null 2>&1; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    # some older versions of dbus don't export the var properly
    export DBUS_SESSION_BUS_ADDRESS
  else
    echo "Could not find dbus-launch; Xfce will not work properly" >&2
    fi
fi

# this is only necessary when running w/o xfce4-session
xsetroot -solid black -cursor_name watch

# or use old-fashioned startup script otherwise

xfsettingsd &
xfwm4 --daemon

# start up stuff in $XDG_CONFIG_HOME/autostart/
if test -d "$XDG_CONFIG_HOME/autostart"; then
  for i in ${XDG_CONFIG_HOME}/autostart/*.desktop; do
    grep -q -E "^Hidden=true" "$i" && continue
    if grep -q -E "^OnlyShowIn=" "$i"; then
      # need to test twice, as lack of the line entirely means we still run it
      grep -E "^OnlyShowIn=" "$i" | grep -q 'XFCE;' || continue
    fi
    grep -E "^NotShowIn=" "$i" | grep -q 'XFCE;' && continue

    # check for TryExec
    trycmd=`grep -E "^TryExec=" "$i" | cut -d'=' -f2`
    if test "$trycmd"; then
      which "$trycmd" >/dev/null 2>&1 || continue
    fi

    cmd=`grep -E "^Exec=" "$i" | cut -d'=' -f2`
    if test "$cmd" && which "$cmd" >/dev/null 2>&1; then
      $cmd &
    fi
  done
fi

xfdesktop&
orage &

panel=`which xfce4-panel`
case "x$panel" in
	x|xno*)
		;;
	*)
		$panel
		ret=$?
		while test $ret -ne 0; do
			xmessage -center -file - -timeout 20 -title Error <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@xfce.org list
or on http://bugs.xfce.org
Meanwhile the panel will be restarted
EOF
			cat >&2 <<EOF
A crash occured in the panel
Please report this to the xfce4-dev@xfce.org list
or on http://bugs.xfce.org
Meanwhile the panel will be restarted
EOF
			$panel
			ret=$?
		done
		;;
esac

xsetroot -bg white -fg red  -solid black -cursor_name watch
Note that Network Manager may also require some configuration with gnome-keyring. If fixing up xinitrc doesn't do the trick, I'll dig into this a little more (I'm not the one who built Network Manager and got it working on the distro I use).

HTH

My build for XFCE 4.10-final will be present in the upcoming release of Porteus-1.2-RC2, which should be out early next week for those who want to try it before installing XFCE 4.10 on their slackware box (porteus runs from a CD, USB, sd card or hard drive and wouldn't require overwriting anything on your existing setup).

I can make my txz's available as well if folks are interested (32 adn 64-bit...OK, I have ARM as well). It's all based on rworkman's xfce 4.8 build scripts, bumped to current versions for xfce (left dependencies as-is) with some minor modifications and unneccesary (in my opinion) deps removed.

Last edited by Ahau; 05-04-2012 at 10:40 AM.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where can I find a newbies guide to XFCE or is XFCE not for newbies? Robert.Thompson Slackware 5 03-07-2011 10:27 AM
How to install xfce 4.6 at /opt/xfce? josealexandre Linux - General 2 03-01-2009 12:31 PM
XFce and Compiz : xfce doesn't manage the desktop naaman Linux - Desktop 0 07-16-2008 01:39 AM
XFCE Network ServersI use XFCE (sometimes) but I can not find my network folders on a holzster Ubuntu 0 10-24-2006 05:48 PM
Xfce problems with task bar and xfce-panel aeruzcar Linux - Software 4 06-26-2006 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration