{"id":2135,"date":"2025-01-15T08:44:31","date_gmt":"2025-01-15T00:44:31","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2135"},"modified":"2025-01-15T08:45:52","modified_gmt":"2025-01-15T00:45:52","slug":"autorun-scripts-or-applications-when-login-in-debian","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2025\/01\/15\/0844312135.html","title":{"rendered":"Autorun scripts or applications when login in Debian."},"content":{"rendered":"<ol>\n<li>Open folder <code>~\/.config\/autostart<\/code><\/li>\n<li>Create a file with the extension <code>.desktop<\/code> like follow<\/li>\n<\/ol>\n<pre><code class=\"language-desktop line-numbers\">[Desktop Entry]\nName=Start VirtualMachine\nIcon=virtualbox\nExec=\/home\/debian\/shells\/start-virtualbox-windows.sh\nType=Application\nX-GNOME-Autostart-enable=true\n\n<\/code><\/pre>\n<ol start=\"3\">\n<li>Done!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Open folder ~\/.config\/autostart Create a file with the extension .desktop like follow [Desktop Entry] Name=Start VirtualMachine Icon=virtualbox Exec=\/home\/debian\/shells\/start-virtualbox-windows.sh Type=Application X-GNOME-Autostart-enable=true Done!<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386,1],"tags":[465,225,8],"class_list":["post-2135","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-article","tag-autostart","tag-debian","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2135"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2135\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}