Snapshot for distribution (SOLVED)

Post Reply
Message
Author
old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Snapshot for distribution (SOLVED)

#1 Post 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
Last edited by old_guy on Wed Feb 14, 2018 4:33 pm, edited 1 time in total.

User avatar
dolphin_oracle
Developer
Posts: 19923
Joined: Sun Dec 16, 2007 1:17 pm

Re: Snapshot for distribution

#2 Post 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?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapshot for distribution

#3 Post 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.

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: Snapshot for distribution

#4 Post 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

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapshot for distribution

#5 Post 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?

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: Snapshot for distribution (SOLVED)

#6 Post 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

Post Reply

Return to “General”