Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Upgrade Problem

Started by dhinds, January 05, 2018, 10:16:57 PM

Previous topic - Next topic

dhinds

Quote from: pavroo on January 14, 2018, 12:43:48 PM
Small suggestion - remove tint2 from the openbox autostart.sh - you use xfce4-panel if I remember well, so it should look like:
#! /bin/bash

nitrogen --restore && \
#tint2 &
xscreensaver --nosplash &


There is no openbox-autostart.sh

The results of a catfish files search shows an "openbox-autostart" in

/usr/lib/x86_64-linux-gnu

The contents of that file are:#!/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 "$@"



pavroo

Yes, there is, still the same, we talk about for a while:
~/.config/openbox/autostart.sh
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on January 14, 2018, 02:33:11 PM
Yes, there is, still the same, we talk about for a while:
~/.config/openbox/autostart.sh

You mean the one in

/home/dhinds/.config/openbox

The contents of that one is:

#! /bin/bash

nitrogen --restore && \
tint2 &
xscreensaver --nosplash &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &


dhinds

So it should read:

#! /bin/bash

nitrogen --restore && \
xscreensaver --nosplash &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &


Removing:

tint2 &

Is that correct?

pavroo

#49
Yes:
/home/dhinds/.config/openbox/autostart.sh

If you use xfce4-panel and load it manulaly, I suggest to change tint2 to xfce4-panel so you do not have to load it manually.
Simply set the /home/dhinds/.config/openbox/autostart.sh file as follow:
#! /bin/bash

nitrogen --restore && \
xfce4-panel &
xscreensaver --nosplash &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

save the file, reboot and tell me whatever happend.
Don't load anything manually, the autostart script has to do that for you.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

#50
The xfce4-panel is the only one that DOES load automatically when I boot Sparky Multimedia and that is what makes loading the other ones easy since I use the whisker menu and have them included as "favorites".

Once tint2 is loaded, it has a gexec button which has "sparky-polkit"
already typed.

dhinds

The catfish file search results on "/" didn't show autostart.sh.

But using spacefm file search and including hidden files did

pavroo

#52
So set the /home/dhinds/.config/openbox/autostart.sh file as follow:
#! /bin/bash

nitrogen --restore && \
xscreensaver --nosplash &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

then save the file and reboot.
And don't load anything manually.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Doing that now.

I have also been updating and upgrading continuously (daily) and sio far during this session nothing has frozen. 

pavroo

#54
When you do that and reboot, with no loading extra scripts by you, show me:
pidof polkit-gnome-authentication-agent-1
and tell does the wallpaper start itself?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on January 14, 2018, 03:14:32 PM
So set the /home/dhinds/.config/openbox/autostart.sh file as follow:
#! /bin/bash

nitrogen --restore && \
xscreensaver --nosplash &
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

then save the file and reboot.
And don't load anything manually.

After changing autostart.sh and rebooting the same situation persists:

Nothing except the xfce4-panel loads automatically.  Everything else has to loaded manually (which is easy, as I described it:

tint2 is loaded via the whisker menu's favorites;

tint2's gexec icon loads sparky-polkit.

and nitrogen and conky are loaded via the whisker menu's favorites.

Having to do that is not a major problem.

However, I may do a fresh installation of Sparky Mult-Media on the new hard drive and wondered if support is there from debian for a partition format that creates snapshots (i.e. btrfs, zfs or nilfs2).

What do you know about that?

I am aware that debian has worked on adding zfs support but don't know how far along it is.  (I did add native zfs capacity to the liquorix kernel for it via synaptic already, though).

pavroo

Can you show me:
ls -l ~/.config/openbox/autostart.sh
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on January 14, 2018, 04:21:03 PM
Can you show me:
ls -l ~/.config/openbox/autostart.sh

-rwxr-xr-x 1 dhinds dhinds 129 Jan 14 08:55 /home/dhinds/.config/openbox/autostart.sh

pavroo

It's ok, but... the script doesn't load the tools it should. Never seen before that it doesn't launch tools.
I have no more ideas, sorry, give up.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on January 14, 2018, 04:31:00 PM
It's ok, but... the script doesn't load the tools it should. Never seen before that it doesn't launch tools.
I have no more ideas, sorry, give up.

In the same location there is an autostart file (without the .sh).

That is available via the "Advanced Settings > Openbox > Openbox Autostart" menus that appear when right clicking on the desktop.

The contents of that are:

xfce4-panel
sparky-polkit
tint2


But only the xfce4-panel loads.

What can you tell me about debian support for btrfs, zfs or nilfs2?

If the support for one or more of those is there, installing to one would provide snapshots to fall back to.

View the most recent posts on the forum