Replies: 11 comments 7 replies
-
@danrobi11: hello! 👋 This issue is being automatically closed because it does not follow the issue template. |
Beta Was this translation helpful? Give feedback.
-
This is an environment issue, not a rofi issue. |
Beta Was this translation helpful? Give feedback.
-
PATH is set. And it works when launching rofi from the terminal but not with keybind. Its the exact same command. Thats why I wonder whats going on. Actually I did not explained correctly. Rofi sees whats in ~/bin but rofi cant launch whats in ~/bin with keybind. Rofi does launch apps in ~/bin when I run from terminal.
|
Beta Was this translation helpful? Give feedback.
-
This is something commonly going wrong, the $PATH rofi sees when launched from keybind is most likely not correct. |
Beta Was this translation helpful? Give feedback.
-
Creating a discussion out of this. |
Beta Was this translation helpful? Give feedback.
-
I don't know if keybind is a separate tool or build into your window manager. How do you launch your window manager (from console using startx, or via a login manager like lightdm?) In the last case it is common that it does not correctly launch shell and load that profile. If you launch a terminal a shell is launched that sources a profile (and therefor setups a different environment.). |
Beta Was this translation helpful? Give feedback.
-
Issue is when I run rofi from the wm keybind.
lightdm
Yes must be that. |
Beta Was this translation helpful? Give feedback.
-
I thought the PATH was set.
Ok from what I see in the link, I think i'll just put rofi and all my apps back into /usr/bin and get done with this. Thanks for the support! |
Beta Was this translation helpful? Give feedback.
-
Yes and thank you for that. I didnt know about -> PATH set in terminal is not equal to the PATH set for your window manager.
Well I didnt know that either. I got told it was a bad idea but didnt know why. Now I know. Thats unfortunate because rofi sees everything in /usr/bin. Oh well, I'll follow that guide in the link then. I'll let you know. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Oh jeez, thats it. That would have been much easier.
Ok I'll put everything back into
Well I followed the guide from link and it worked. now spectrwm in PATH
Thank you much! I've learned alot 👍 |
Beta Was this translation helpful? Give feedback.
-
I just tested this. If I only add So unless theres a good reason not to do this, that does it too. |
Beta Was this translation helpful? Give feedback.
-
Hello.
New Edit: I explain better.
I cant figure why rofi can execute the apps in my ~/bin when I run
rofi -show window -sync
from the terminal but not when I hit my Spectrwm keybind. Its the exact same command but rofi cant launch the apps in ~/bin with the keybind. Why ? How can I fix this ? Thanks!Rofi Version: 1.6.1
OS: MX 19.3 (patito feo) x86_64 based Debian GNU/Linux 10 (buster)
SysV init version: 2.93
Kernel: 4.19.0-9-amd64
Xorg v1:7.7+19
WM: Spectrwm
Beta Was this translation helpful? Give feedback.
All reactions