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.

7
  • Welcome to askubuntu! Did you try reverting the changes you made in profile.d? Please review askubuntu.com/help/how-to-ask and provide us with as much information as possible in order to help us help you. Your original problem could have been easily solved by reviewing askubuntu.com/questions/48321/…
    – Elder Geek
    Feb 18, 2015 at 17:31
  • Don't know what to sort of information to add more, that all i have done. That link can't solve my question, because i can't se upper taskbar, screen is emtpy, just picture, and that is all.
    – RadijatoR
    Feb 18, 2015 at 17:36
  • How you think to revert it?
    – RadijatoR
    Feb 18, 2015 at 17:40
  • I know what reverting word mind. I ask u how, i explain that there is just picture and that is all
    – RadijatoR
    Feb 18, 2015 at 17:50
  • First, try undoing the changes, maybe remove the start_radiotray.sh , so at least you know how to fix it again if you mess up again. Then if you got the desktop back, you might want to try specifying full path to radiotray in the script. To find out that , use which radiotray. Feb 18, 2015 at 17:55

1 Answer 1

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

2
  • Prettified... ;-)
    – Fabby
    Feb 19, 2015 at 13:53
  • 1
    Thanks for the edit I'll paste <kbd>Ctrl</kbd> into a document so I can remind myself in future..
    – Elder Geek
    Feb 19, 2015 at 13:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .