Here is how to get a custom script to run at XFCE startup:
- Create a generic startup script and save it as
custom_startup.sh
. You can put anything in the script; in there now is only a logger so you know it's working.
#!/bin/sh # This script is run automatically by xfce4-desktop during system startup. logger -i "Running the custom startup script"
Create the following entry as/home/me/.config/autostart/MyStartup
.
[Desktop Entry] Encoding=UTF-8 Version=0.9.4 Type=Application Name=MyStartup Comment= Exec=bash /home/me/Scripts/startup_script.sh StartupNotify=false Terminal=true Hidden=false
No comments:
Post a Comment