Page 1 of 1

Snapshot for distribution (SOLVED)

Posted: Wed Feb 14, 2018 12:40 pm
by old_guy
I configured my desktop then copied .conky and .config to /etc/skel ( had to edit conky-startup.sh -change myname to $USER) and made a snapshot resetting accounts. when I boot up the iso the demo account has my configurations but no conky. If I make an installation the user I setup has my configurations and the conky.
Why does the conky not show up when I boot up in the demo?
Earl

Re: Snapshot for distribution

Posted: Wed Feb 14, 2018 12:53 pm
by dolphin_oracle
old_guy wrote:I configured my desktop then copied .conky and .config to /etc/skel ( had to edit conky-startup.sh -change myname to $USER) and made a snapshot resetting accounts. when I boot up the iso the demo account has my configurations but no conky. If I make an installation the user I setup has my configurations and the conky.
Why does the conky not show up when I boot up in the demo?
Earl
Don't know, if it works for a regular user, it should work for demo, as long as all the spots to adjust have been made.

can you post your modified conky-startup.sh file that you have stored in the /etc/skel directory?

Re: Snapshot for distribution

Posted: Wed Feb 14, 2018 1:59 pm
by Adrian
Can you post here your conky-startup.sh, maybe there's another thing going on, maybe you have a folder hard-coded inside.

Re: Snapshot for distribution

Posted: Wed Feb 14, 2018 2:58 pm
by old_guy
My conky-startup.sh
sleep 20s
killall conky
cd "/home/$USER/.conky/MX-Gotham"
conky -c "/home/$USER/.conky/MX-Gotham/MX-Gotham" &
I edited the MX-Gotham colors and location

Re: Snapshot for distribution

Posted: Wed Feb 14, 2018 4:03 pm
by Adrian
Don't see anything wrong with it, just that cd is probably not needed. Sleep 20s is kind of long, but you should see it running in 20 seconds if the script runs.

Is the script exec bit set? Also where does it get copied (where in /etc/skel did you put it), and how do you plan to run this script automatically?

Re: Snapshot for distribution (SOLVED)

Posted: Wed Feb 14, 2018 4:37 pm
by old_guy
Thanks got me looking in the right place.

copied my .config to /etc/skel

Contained:
/etc/skel/.config/autostart/conky.desktop

[Desktop Entry]
Type=Application
Exec=sh "/home/earl/.conky/conky-startup.sh"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_IN]=Conky
Name=Conky
Comment[en_IN]=
Comment=

Changed to:

[Desktop Entry]
Type=Application
Exec=sh .conky/conky-startup.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_IN]=Conky
Name=Conky
Comment[en_IN]=
Comment=

Seems to work OK now.

Earl