You are not logged in.
Pages: 1
I posted a while back and ended up going through a move and new job so I couldn't get back to the thread quick enough. Rules say don't necro-bump and link to the old thread, that link is here: link.
Basically I have personal scripts I've written in /home/chris/bin which is added to my path in .bash_profile. I start i3 with startx and in my .xinitrc I have export
PATH=$PATHwhich should get the correct path, is that correct? I don't feel like that's my problem spot because when I execute this within i3
bindsym Mod1+d exec --no-startup-id dmenu_run -nb "$dmenu-color0" -nf "$dmenu-color15" -sb "$dmenu-color1" -sf "$dmenu-color15" -fn "xos4 terminus-14"I do see the names of my scripts populate the menu, however when I hit enter they do nothing. Unlike if I run firefox, or even urxvt (a terminal will pop right up).
I've tried different places of setting my path, I'm just confused especially since it looks like if I open up a terminal and execute
dmenu_runI get the window to search and see the scripts populate the list and I actually see my scripts execute. I'm confused about the difference and wonder if it may be my path somehow. I'm no bash wizard but Gemini is and it gave me this off a quick search haha:
cat /proc/$(pidof i3)/environ | tr '\0' '\n' | grep '^PATH'If that is correct, then my path does appear in there.
I'd appreciate any more help getting this fixed. I'm at least having my scripts execute if I run the command
dmenu_runfrom within the terminal.
Thank you!
Offline
This would not count as necrobumping and from what I grasp here either
a) your ~/bin isn't in $PATH of the i3 (and thus dmenu) environment because havin a line "PATH=$PATH" in your xinitrc is as inert as it gets or
b) your script will actually execute, but not do anything visible (esp. not open a terminal to run itself in)
grep -z PATH /proc/$(pidof i3)/environOffline
Pages: 1