上传文件至「setup」
exhibition setup scripts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Create in applications folder
|
||||
# nano ~/.local/share/applications/run-sensor.desktop
|
||||
mkdir -p ~/.local/share/applications
|
||||
|
||||
cat > ~/.local/share/applications/run-sensor.desktop << 'EOF'
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Sensor Benchmark
|
||||
Comment=Run the sensor-bench Python script
|
||||
Icon=utilities-terminal
|
||||
Terminal=true
|
||||
Exec=/home/radxa/sensor-bench/run_script.sh
|
||||
Categories=Utility;
|
||||
StartupNotify=false
|
||||
X-GNOME-Autostart-enabled=true
|
||||
EOF
|
||||
|
||||
chmod +x ~/.local/share/applications/run-sensor.desktop
|
||||
cp ~/.local/share/applications/run-sensor.desktop ~/Desktop/
|
||||
chmod +x ~/Desktop/run-sensor.desktop
|
||||
Reference in New Issue
Block a user