0

I have installed radiotray and used to start the application from terminal just typing radiotray. I wrote a script start_radio.sh and put in /etc/profile.d. The content of start_radio.sh is only

radiotray

I thought that will automatically run the application on start up.

After restarting my computer, desktop doesn't appear anymore after log in, and here I'm on guest session.

sourav c.
  • 46,120

1 Answers1

1

Either this is caused by a broken script or an unrelated issue with unity (or both).

If the script is the problem:

Before typing the following keystroke, remember that Ctrl+Alt+F7 is your friend. This is the keystroke to type to get back to where you are right now.

OK? Remember? Sure?

Open TTY1 with Ctrl+Alt+F1

move radiotray.sh out of /etc/profile.d temporarily to see if it's the problem.

mv /etc/profile.d/radiotray.sh ~/Desktop

and then reboot

sudo shutdown -r 1

If this resolves the issue, you can now test your script by running it in it's current location in ~/Desktop. You may find you'll need the full path to radio tray which as @Serg suggests you can obtain with the command which radiotray

If this doesn't solve the problem, leave the script where you moved it and continue.

If it's an unrelated Unity problem proceed as follows:

Obtain dconf-tools with

sudo apt-get install dconf-tools

Next,

dconf dump /org/compiz/ > ~/Desktop/myCompizSettings

This will dump your Compiz Settings into a file on your Desktop for later review if needed.

dconf reset -f /org/compiz/

will reset compiz settings to default.

Finally,

setsid unity

The above command will restart Unity.

Return to the GUI with Ctrl+Alt+F7

Fabby
  • 35,017
Elder Geek
  • 36,752