The icons on my menu panel are not appearing correctly upon boot.
However, if I run this script after boot, they appear correctly:
#!/bin/bash
killall xfce4-panel
xfce4-panel
My question is: Where can I put this script so that it runs AFTER the Xfce desktop has loaded?
I saw the instructions about placing startup scripts in /etc/rc.d/rc.local , but that is too soon (has no effect).
Thanks in advance for any tips!
Run script after Xfce menu panel has loaded?
- francois
- Contributor
- Posts: 6444
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Run script after Xfce menu panel has loaded?
In xfce:
xfce menu > settings > session and startup > application autostart > add > name and script+path (in command box)
xfce menu > settings > session and startup > application autostart > add > name and script+path (in command box)
Prendre son temps, profiter de celui qui passe.
-
- Black ninja
- Posts: 35
- Joined: 26 Apr 2015, 18:33
- Distribution: v3.1-x86_64
- Location: California
Re: Run script after Xfce menu panel has loaded?
That worked - thank you francois!
I put the script in the /porteus/rootcopy/ folder
I'm not sure if the order of autostart items matters (some of them are items on the xfce menu panel), but I put it at the bottom by starting the name with zzz. Whether that makes a difference or not, it's working.
Note to anyone else with this issue: you cannot put the commands directly into the command box, as menu will stop but not reload for some reason. You must put a /path/to/script in the command box.
I put the script in the /porteus/rootcopy/ folder
I'm not sure if the order of autostart items matters (some of them are items on the xfce menu panel), but I put it at the bottom by starting the name with zzz. Whether that makes a difference or not, it's working.
Note to anyone else with this issue: you cannot put the commands directly into the command box, as menu will stop but not reload for some reason. You must put a /path/to/script in the command box.
- francois
- Contributor
- Posts: 6444
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Run script after Xfce menu panel has loaded?
You could put the command given that your script would be in the defined path:
http://unix.stackexchange.com/questions ... th-to-path
Code: Select all
root@porteus:~# echo $PATH
Prendre son temps, profiter de celui qui passe.