fix fonts and widget exantion
This commit is contained in:
28
j_version/defaults/autostart
Executable file
28
j_version/defaults/autostart
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
DISPLAY=${DISPLAY:-:1}
|
||||
export DISPLAY
|
||||
|
||||
# Wait for X to be ready
|
||||
tries=0
|
||||
until xdpyinfo -display "$DISPLAY" >/dev/null 2>&1 || [ $tries -ge 30 ]; do
|
||||
sleep 0.5
|
||||
tries=$((tries+1))
|
||||
done
|
||||
|
||||
# Wait a bit more for everything to stabilize
|
||||
sleep 2
|
||||
|
||||
export GTK2_RC_FILES=/usr/share/themes/Windows-10/gtk-2.0/gtkrc
|
||||
export GTK_THEME=Windows-10
|
||||
|
||||
sleep 1
|
||||
|
||||
|
||||
echo "$(date): Starting Fiscality..."
|
||||
if ! /app/jgal/linux_x64/LauncherJgalileo1.0.sh; then
|
||||
echo "$(date): Fiscality crashed during startup."
|
||||
fi
|
||||
echo "$(date): Fiscality exited."
|
||||
|
||||
Reference in New Issue
Block a user