Wed 28 Aug 21:58:08 CEST 2024
This commit is contained in:
parent
b3c38f94a8
commit
35a8d69a91
16
bin/simndt.sh
Normal file
16
bin/simndt.sh
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DPI=`xrdb -query | grep dpi`
|
||||||
|
DPI=${DPI/*:/}
|
||||||
|
if [ "X$DPI" == "X" ]
|
||||||
|
then
|
||||||
|
DPI=96
|
||||||
|
fi
|
||||||
|
if [ $DPI -gt 100 ]
|
||||||
|
then
|
||||||
|
export HIGH_DPI=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
TOP=$HOME/proj/SimNDT
|
||||||
|
export LD_LIBRARY_PATH=$HOME/.local/lib/python2.7/site-packages/PySide
|
||||||
|
python2 $TOP/src/main.py
|
Loading…
Reference in New Issue
Block a user