I want to develop a simple YAD opening screen to be started from fluxbox startup that will have a Welcome to VSIDO installation message and a blurb about setting up your network using ceni
Then one button on the dialogue that states Start Ceni / OK
This will ultimately be a dual role Welcome, one for the LiveCD and one for after the installation is completed and on first boot. The second option might include another button to execute the vsido-welcome screen
Greatest lifelong appreciation to anyone willing to give it a go...
Here is an image and the idea I am looking to do... this is done in YAD to the point of adding the command to run Ceni. I would like input on the verbiage and look of the message and content
This will run from autostart on the LiveCD and on first boot of a new installation of VSIDO
(http://www.zimagez.com/miniature/screenshot2015-07-0619-09-34.php)
(http://www.zimagez.com/zimage/screenshot2015-07-0619-09-34.php)
Very nice!
Bad ass!! ???
I got a functional yad script doing what I want done... It is not perfect (it is a hack of several examples I found)
I want a single functional button... In this I have two and a Close button that I do not want... I have tried for the last hour to get this working the way I would like it but I keep failing... In other words, this is ugly as shit but it does work
(http://www.zimagez.com/miniature/screenshot2015-07-0623-11-19.php)
(http://www.zimagez.com/zimage/screenshot2015-07-0623-11-19.php)
Name this vsido-start / make it executable and then execute it to see it's functions
#! /bin/bash
action=$(yad --width 380 --entry --title "VSIDO Messge Center" \
--image=vsidoorb_blk_sm_140 \
--button="Run Ceni:0" --button="gtk-close:1" \
--text "Welcome to VSIDO. Due to changes from Debian and udev, it is not possible to see every Network Interface that udev now creates
${custom_text}
It is recommended that you run Ceni to establish your network before you begin. Ceni is a Siduction script used for setting up networks on several distros and is very easy to use
${custom_text}
Simply select your Network Interface and then Accept-Enter and finally Yes to exit Ceni. Your network is then ready to go and connectibity to the Internet established
${custom_text}" \
--button "Run Ceni:2" \
"Run Ceni")
ret=$?
[[ $ret -eq 1 ]] && exit 0
if [[ $ret -eq 1 ]]; then
gdmflexiserver --startnew &
exit 0
fi
case $action in
Run*) cmd="xfce4-terminal -e ceni" ;;
Reboot*) cmd="xfce4-terminal -e ceni" ;;
Suspend*) cmd="xfce4-terminal -e ceni" ;;
*) exit 1 ;;
esac
eval exec $cmd
Anyone that can get this functional with a single Run Ceni button is King for a Day
Got it the way I wanted it by being persistent...
(http://www.zimagez.com/miniature/screenshot2015-07-1013-13-51.php)
(http://www.zimagez.com/zimage/screenshot2015-07-1013-13-51.php)
#! /bin/bash
# Greeting window
yad --title="VSIDO Messge Center" --width=420 --image=vsidoorb_blk_sm_140 \
--button=$"Run Ceni :0" \
--button=$"Run Wicd :1" \
--text=$"$live_session_warning
Welcome to VSIDO. Due to changes from Debian, systemd and udev, it is not possible to see every Network Interface that systemd/udev now creates
It is recommended that you run Ceni to establish your network before you begin. Ceni is a Curses user interface for configuring network interfaces with ifupdown developed by Kel Modderman and used for setting up networks on several distros. You can also select and use the WICD GUI that has more robust WIFI connectivity options
Simply select your Network Interface and then Accept-Enter and finally Yes to exit Ceni. Your network is then ready to go and connectivity to the Internet established
${custom_text}" \
if [ $? -eq 0 ] ; then
xfce4-terminal -e ceni
else
if [ $? -eq 1 ] ; then
wicd-gtk
exit 0
fi
fi
Just want to point something out. I chose ceni after first boot (last 26-july-2015 iso). Never use Wicd. When adding a new user the script doesn't autorun again and after every login Wicd launches like three warnings in a row saying that it wants to run or something like that. I had to remove the desktop launcher from /etc/xdg/autostart to get it out of the way. I guess it would be nice if the script removes that launcher once ceni is chosen for a given system.
Interesting, I have not seen this snap. Thanks for reporting it..
I will see what I can do to replicate and/or remove if possible