You are not logged in.
i have a scripts folder in my home directory. id like to be able to run things in it from dmenu. the folder is in the path and the scripts are exectuable. despite this, they do not show up in dmenu. how do i make them appear?
Offline
How are you launching dmenu? Dmenu itself is just a menu, presumably you mean dmenu_run, right? How is that launched? I suspect your direcory is added to the PATH in a different environment than the parent process of dmenu_run.
Last edited by Trilby (2020-07-03 00:00:15)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
i am using i3, which launches it using dmenu_run
Offline
And how do you start i3, and where/when do you add your scripts folder to PATH? Please post your actual profiles/xinitrc/shellrc/configs that are relevant for these questions.
Last edited by Trilby (2020-07-03 00:01:48)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
im starting i3 using cdm. i have the path set in my .bashrc, would that not apply to other programs than bash?
Offline
No it would not. Environment variables are not global variables. CDM is launched before bashrc is read, so i3, and dmenu_run in turn, inherit the environment from CDM. Your bashrc modifies the PATH variable after this.
I suspect you'd have to define it in cdmrc also - but cdm has never made much sense to me. What does CDM do for you that just autostaring X from your profile wouldn't?
Last edited by Trilby (2020-07-03 00:19:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
i am terribly new to this and honestly just used it because it was at the top of the list on the wiki. what do you mean by autostarting? as in: from a script or is there a config option or what
Last edited by winrg (2020-07-03 01:30:44)
Offline
https://wiki.archlinux.org/index.php/Xi … X_at_login
The primary purpose of display managers is to break things. If are using just a WM like i3, and you don't have specific reasons to use a DM, don't. And if you do have a reason to use a DM, you may want to look to the more typical ones. You picked a very unusual niche console display manager ... just because it was the first in an alphabetical list.
Last edited by Trilby (2020-07-03 01:35:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
https://wiki.archlinux.org/index.php/Xi … X_at_login
The primary purpose of display managers is to break things.
Quote Of the Day
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline