Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: Upgrading Sparky Openbox to v. 4.2  (Read 6521 times)

Offline dhinds

  • Sr. Member
  • ****
  • Posts: 259
Re: Upgrading Sparky Openbox to v. 4.2
« Reply #15 on: January 01, 2016, 09:19:44 pm »
I found that.
Edit the openbox autostart script again, and change the line from:
Code: [Select]
/usr/lib/policykit-1-gnome/policykit-gnome-authentication-agent-1 &to:
Code: [Select]
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &then log out and log in back.

Thanks for your response. I should mention that the problem occurred on the laptop and I have been using the desktop computer.

The change you describe sounds like it could be the cause of the problem.

I am using my Sparky Openbox installation now to write this but the openbox script located in the directory you referred to:

Quote
/usr/lib/x86_64-linux-gnu

does not contain the line you describe:

I will paste the contents of that script below.

Code: [Select]
#!/bin/sh

# Set a background color
BG=""
if which hsetroot >/dev/null 2>/dev/null; then
  BG=hsetroot
elif which esetroot >/dev/null 2>/dev/null; then
  BG=esetroot
elif which xsetroot >/dev/null 2>/dev/null; then
  BG=xsetroot
fi
test -z $BG || $BG -solid "#303030"

GLOBALAUTOSTART="/etc/xdg/openbox/autostart"
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart"

# Run the global openbox autostart script
if test -f $GLOBALAUTOSTART; then
    sh $GLOBALAUTOSTART
elif test -f $GLOBALAUTOSTART.sh; then
    sh $GLOBALAUTOSTART.sh
fi

# Run the user openbox autostart script
if test -f $AUTOSTART; then
    sh $AUTOSTART
elif test -f $AUTOSTART.sh; then
    sh $AUTOSTART.sh
fi

# Run the XDG autostart stuff.  These are found in /etc/xdg/autostart and
# in $HOME/.config/autostart.  This requires PyXDG to be installed.
# See openbox-xdg-autostart --help for more details.
if which xdg-autostart >/dev/null 2>/dev/null; then
   CMD=xdg-autostart
else
   CMD=/usr/lib/x86_64-linux-gnu/openbox-xdg-autostart
fi
exec $CMD "$@"

Nor is it in:

Code: [Select]
openbox-xdg-autostart
I found it. You meant the autostart.sh file in home/.config/openbox/

I made the change and will log out now.

That fixed it.

Good job, pavroo.
« Last Edit: January 01, 2016, 09:34:24 pm by dhinds »