Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Snapshot for distribution (SOLVED)

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

Snapshot for distribution (SOLVED)

#1 Post by old_guy » Wed Feb 14, 2018 12:40 pm

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
Forum Veteran
Forum Veteran
Posts: 8683
Joined: Sun Dec 16, 2007 1:17 pm

Re: Snapshot for distribution

#2 Post by dolphin_oracle » Wed Feb 14, 2018 12:53 pm

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
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 8391
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapshot for distribution

#3 Post by Adrian » Wed Feb 14, 2018 1:59 pm

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
Forum Novice
Forum  Novice
Posts: 20
Joined: Sat Oct 28, 2017 4:30 pm

Re: Snapshot for distribution

#4 Post by old_guy » Wed Feb 14, 2018 2:58 pm

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
Forum Veteran
Forum Veteran
Posts: 8391
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapshot for distribution

#5 Post by Adrian » Wed Feb 14, 2018 4:03 pm

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
Forum Novice
Forum  Novice
Posts: 20
Joined: Sat Oct 28, 2017 4:30 pm

Re: Snapshot for distribution (SOLVED)

#6 Post by old_guy » Wed Feb 14, 2018 4:37 pm

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”