3
votes
3answers
2k views

Add directories to $PATH without repeating yourself

My shell is zsh and OS is Ubuntu 13.04 I need to add directory to $PATH to make it work in following places: In graphical environment(Unity) (such as startup applications, gmrun program that runs ...
9
votes
2answers
821 views

Desktop Files don't use seem to use $PATH correctly

I am creating .desktop files for use in the Unity Launcher. I have my own location in my home directory where I put my executables (~/usr/bin/) which is correctly added to my PATH environment ...
1
vote
1answer
2k views

setting XDG_DATA_DIRS and XDG_DATA_HOME

I made some mistake by setting environment variabel Now i can not launch any application from the console and recieve this error: GLib-GIO-ERROR **: No GSettings schemas are installed on the system ...
13
votes
1answer
4k views

Set variable in .desktop file

Is there a way to set the enviroment variable in .desktop file? I'm trying to run application (eclipse) with custom gtk style, so basically I want to get the following result by runing a .desktop ...
2
votes
3answers
4k views

Setting environment variables when executing Eclipse via Unity launcher icon

My question is a followup for the following: How to pin Eclipse to the Unity launcher? I created Eclipse's icon to the Unity launcher based on the selected answer at the above link. However, when I ...
7
votes
2answers
1k views

How to add a user environment aware application launcher to unity panel?

Here is my problem: When I search from Unity's Dash Home for NetBeans and drag&drop it to unity launcher it, I observed that netbeans does not have access to my environment variables which were ...
2
votes
3answers
2k views

How do I set an environment variable in a Unity session?

As a work-around to an issue with ibus, I'm trying to unset the variable $IBUS_ENABLE_SYNC_MODE. I have tried placing "unset IBUS_ENABLE_SYNC_MODE" in various places including: .profile .bashrc ...
10
votes
1answer
940 views

Is there an environment variable that is set for Unity?

My script needs to be able to detect if the Unity is being used on top of the Gnome DE. The only other way I can think of is basically seeing if the config file is there.