Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4446

Cubic custom ISO which executes shell script at startup not working

$
0
0

I have tried this steps but not working

  • First I have create a simple script in /opt/test.sh
  • Then give execute permission for that file
  • Create a test.desktop file in the following location /etc/xdg/autostart
  • Generate a new ISO.
  • Then I have install that iso on my VM the file not created as I wrote in the script file.

test.sh

#!/bin/bashtouch /opt/filecreated

test.desktop

[Desktop Entry]Type=ApplicationExec=/opt/test.shHidden=falseNoDisplay=falseX-GNOME-Autostart-enabled=trueName[en_US]=Test FileName=Test FileComment[en_US]=Test FileComment=Test File

Please help me to run a script file when install iso

Thank you


Viewing all articles
Browse latest Browse all 4446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>