{"id":1024,"date":"2025-10-02T09:53:11","date_gmt":"2025-10-02T09:53:11","guid":{"rendered":"https:\/\/binus.ac.id\/malang\/computer-science\/?p=1024"},"modified":"2025-10-02T09:53:11","modified_gmt":"2025-10-02T09:53:11","slug":"running-python-scripts-on-system-startup-in-zorin-os-linux","status":"publish","type":"post","link":"https:\/\/binus.ac.id\/malang\/computer-science\/2025\/10\/02\/running-python-scripts-on-system-startup-in-zorin-os-linux\/","title":{"rendered":"Running Python Scripts On System Startup in Zorin OS Linux"},"content":{"rendered":"<p>Sometimes, we need to execute Python programs automatically when the PC is turned on, particularly when using Linux as the operating system.<\/p>\n<p>Here, I will demonstrate how to set up your programs to run automatically in Zorin OS Linux.<\/p>\n<p>First, please make a simple program using Python as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1025\" src=\"http:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p1.png\" alt=\"\" width=\"646\" height=\"358\" srcset=\"https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p1.png 646w, https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p1-300x166.png 300w, https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p1-480x266.png 480w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<p>Second, click on the Zorin button and type &#8216;Startup Applications&#8217;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1026\" src=\"http:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p2.png\" alt=\"\" width=\"478\" height=\"636\" srcset=\"https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p2.png 478w, https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p2-225x300.png 225w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/p>\n<p>Thirdly, click the &#8216;Add&#8217; button and give it a free name, for example, in my case, I filled in &#8216;Monitoring Apps&#8217;. For the command, please fill it in as follows:\u00a0<strong>gnome-terminal &#8212; bash -c &#8220;python3 \/home\/csmalang\/Desktop\/main_monitor_apps\/main.py&#8221;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1027\" src=\"http:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p3.png\" alt=\"\" width=\"654\" height=\"586\" srcset=\"https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p3.png 654w, https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p3-300x269.png 300w, https:\/\/binus.ac.id\/malang\/computer-science\/wp-content\/uploads\/sites\/7\/2025\/10\/p3-480x430.png 480w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/p>\n<p>After that, click the Save button. Then, after rebooting, the Python programs will run automatically.<\/p>\n<p><strong>\u00a0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, we need to execute Python programs automatically when the PC is turned on, particularly when using Linux as the operating system. Here, I will demonstrate how to set up your programs to run automatically in Zorin OS Linux. First, please make a simple program using Python as follows: Second, click on the Zorin button [&hellip;]<\/p>\n","protected":false},"author":45,"featured_media":1029,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1024","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles"],"_links":{"self":[{"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/posts\/1024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/comments?post=1024"}],"version-history":[{"count":1,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/posts\/1024\/revisions"}],"predecessor-version":[{"id":1028,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/posts\/1024\/revisions\/1028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/media\/1029"}],"wp:attachment":[{"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/media?parent=1024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/categories?post=1024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binus.ac.id\/malang\/computer-science\/wp-json\/wp\/v2\/tags?post=1024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}