Updated CAVE Startup Defaults
-Removed the autostart of the textws (when the machine is rebooted) -Added CAVE program to the applications menu -Created default cave.desktop that can be copied as a shortcut to the desktop
This commit is contained in:
parent
e36855933a
commit
fc784ebf05
3 changed files with 16 additions and 20 deletions
|
@ -68,7 +68,6 @@ popd > /dev/null 2>&1
|
||||||
|
|
||||||
for dir in \
|
for dir in \
|
||||||
"${RPM_BUILD_ROOT}/awips2/cave" \
|
"${RPM_BUILD_ROOT}/awips2/cave" \
|
||||||
"${RPM_BUILD_ROOT}/etc/xdg/autostart" \
|
|
||||||
"${RPM_BUILD_ROOT}/etc/profile.d" \
|
"${RPM_BUILD_ROOT}/etc/profile.d" \
|
||||||
"${RPM_BUILD_ROOT}/usr/share/applications" \
|
"${RPM_BUILD_ROOT}/usr/share/applications" \
|
||||||
; do
|
; do
|
||||||
|
@ -103,14 +102,10 @@ if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# text-workstation autostart script.
|
# cave applications script.
|
||||||
CAVE_SCRIPTS_DIR="%{_baseline_workspace}/rpms/%{_component_project_dir}/scripts"
|
CAVE_SCRIPTS_DIR="%{_baseline_workspace}/rpms/%{_component_project_dir}/scripts"
|
||||||
TEXTWS_AUTO_SCRIPT="${CAVE_SCRIPTS_DIR}/autostart/textws_left.desktop"
|
CAVE_AUTO_SCRIPT="${CAVE_SCRIPTS_DIR}/applications/cave.desktop"
|
||||||
cp ${TEXTWS_AUTO_SCRIPT} ${RPM_BUILD_ROOT}/etc/xdg/autostart
|
cp ${CAVE_AUTO_SCRIPT} ${RPM_BUILD_ROOT}/usr/share/applications
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
cp ${TEXTWS_AUTO_SCRIPT} ${RPM_BUILD_ROOT}/usr/share/applications
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -175,8 +170,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%defattr(644,root,root,-)
|
%defattr(644,root,root,-)
|
||||||
/etc/profile.d/awips2Cave.csh
|
/etc/profile.d/awips2Cave.csh
|
||||||
/etc/profile.d/awips2Cave.sh
|
/etc/profile.d/awips2Cave.sh
|
||||||
/etc/xdg/autostart/textws_left.desktop
|
/usr/share/applications/cave.desktop
|
||||||
/usr/share/applications/textws_left.desktop
|
|
||||||
|
|
||||||
%defattr(644,awips,fxalpha,755)
|
%defattr(644,awips,fxalpha,755)
|
||||||
/awips2/cave/*.ini
|
/awips2/cave/*.ini
|
||||||
|
@ -186,8 +180,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
%dir /awips2/cave/caveEnvironment
|
%dir /awips2/cave/caveEnvironment
|
||||||
/awips2/cave/caveEnvironment/*
|
/awips2/cave/caveEnvironment/*
|
||||||
/awips2/cave/*.sh
|
/awips2/cave/*.sh
|
||||||
|
/awips2/cave/cave.png
|
||||||
/awips2/cave/VizUpdater.jar
|
/awips2/cave/VizUpdater.jar
|
||||||
|
|
||||||
# not a noarch RPM due to the presence of the architecture-specific libraries.
|
# not a noarch RPM due to the presence of the architecture-specific libraries.
|
||||||
%dir /awips2/cave/lib64
|
%dir /awips2/cave/lib64
|
||||||
/awips2/cave/lib64/*
|
/awips2/cave/lib64/*
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=1.0
|
||||||
|
Name=AWIPS CAVE
|
||||||
|
Comment=Unidata AWIPS CAVE Visualization Client
|
||||||
|
Icon=/awips2/cave/cave.png
|
||||||
|
Exec=/awips2/cave/cave.sh
|
||||||
|
Categories=Network;WebBrowser
|
||||||
|
X-Desktop-File-Install-Version=0.15
|
|
@ -1,9 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Type=Application
|
|
||||||
Terminal=false
|
|
||||||
Name=Launch TextWS left monitor
|
|
||||||
Icon=/awips/fxa/data/awips.gif
|
|
||||||
Name[en_US]=Launch TextWS left monitor
|
|
||||||
Icon[en_US]=/awips/fxa/data/awips.gif
|
|
||||||
Exec=/awips2/cave/textWS.sh -monitor 1
|
|
Loading…
Add table
Reference in a new issue