Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Add Custom Launcher in 11.10

So I created a custom launcher using alacarte. Now how do I add it to the launch bar?

The code is just LANGUAGE="ja" google-chrome

I can keep the icon in the launch bar by right-clicking and checking 'keep in launcher' while Japanese chrome is running. But this icon opens chrome in English (the system language).

Edit: Not a duplicate. Launcher wasn't coded by hand, there's no .desktop to drag into the launch bar.

share|improve this question

marked as duplicate by Stefano Palazzo Jan 8 '12 at 19:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

The exec line needs to be:

env LANGUAGE="ja" google-chrome

So, open alarcarte and click on the 'Properties' option of Google Chrome.

enter image description here

Then, replace the existing command with the following:

env LANGUAGE="ja" /opt/google/chrome/google-chrome %U

enter image description here

After modifying it, pin it to your launcher and from now, Google Chrome would be in Japanese.

share|improve this answer
    
Didn't make any difference. Keep in mind that this was made using alacarte; not hand-scripted. –  user39846 Jan 10 '12 at 15:16
    
Yeah, but you'll still have a .desktop file somewhere. Take a look in ~/.local/share/applications. –  htorque Jan 10 '12 at 15:50