i3
is turning out not to be as simple as the instructions claim. For example the instructions claim I can open an application with partial name. So I tried opening the Chrome browser by typing chrome
and that didn't work; I had to type google-chrome
for it to work. Now I am trying to open Android Studio but nothing I try works so far. I have tried typing studio
, android-studio
, jetbrains-studio
-- nothing.
Does anyone know a simple way to get opening applications to work? I mean, opening applications is among the most relevant tasks and it's proving too difficult.
export PATH=$PATH:/path/to/directory/of/executable
. – jeroen Mar 11 '19 at 18:44vim ~/.profile
and as the last line I added:export PATH=$PATH:/usr/more_path/android.sh
. Then I restarted i3 and it still doesn't work if I search forandroid
in dmenu. And yes I get the location of android studion by doingwhereis android
– salyela Mar 11 '19 at 20:20./android.sh
in the terminal in the directory /usr/more_path/ work? Is android.sh executable? (If not(sudo) chmod +x android.sh
) And as Kulfy asked, how did you install Android Studio Exactly? – jeroen Mar 12 '19 at 20:34$ /opt/android-studio-3.0/bin/studio.sh
but no matter what I do I cannot get it to start from dmenu. I cannot settle for the terminal avenue because then I would always need to have a terminal window open just so I can have Android Studio running. – salyela Mar 13 '19 at 01:18echo $PATH
and which version of Ubuntu are you using? – jeroen Mar 13 '19 at 09:17echo $PATH
reveals that/opt/android-studio-3.0/bin/studio.sh
is part of the path. Re "you shouldn't add an executable to PATH", are you saying my path should simply have/opt/android-studio-3.0/bin/
and that should do it? – salyela Mar 13 '19 at 19:44.bashrc
. After I add it I restart and then verify thatecho $PATH
returns properly. But then I still cannot open studio from the dmenu. – salyela Mar 14 '19 at 02:02