4,764 reputation
22152
bio website
location
age
visits member for 5 years, 3 months
seen Dec 15 at 22:27

Feb
13
awarded  Nice Answer
Feb
13
awarded  Notable Question
Jan
24
accepted Does Firefox 4 have keyboard shortcuts for the “Group your tabs” and “List all tabs” buttons?
Jan
15
comment Updating screen session environment variables to reflect new graphical login?
Anyway, to directly answer your question about what was wrong, your answer doesn't quite answer the question, but rather answers a related question. You show how to update environment variables inside a shell running inside a screen session, but not how to update environment variables in the screen session itself (such that newly-spawned windows inherit the new values). I accepted it at the time because it was still a good solution, but I had always intended to eventually implement a real answer to my question as asked. So, nothing personal.
Jan
15
revised Updating screen session environment variables to reflect new graphical login?
Fix tabs/spaces issue
Jan
15
comment Updating screen session environment variables to reflect new graphical login?
You can see how to pull variables into the current shell from the screen/tmux session here, in the screen_update and tmux_update functions. I'll update my answer with a byobu-independent version of these.
Jan
15
comment Updating screen session environment variables to reflect new graphical login?
Well, I discovered that screen (and also tmux) have a "setenv" command that sets an environment variable for screen itself, not the shell in the current window of screen. So that means that after you use my script, all newly-created windows in that screen session will automatically get the new environment, without having to run the update script in every one of them. Of course, an update script could still be useful for updating existing shells, but you have to rewrite it not to read from a FIFO, but to query the screen/tmux session itself for the new values.
Jan
14
revised Updating screen session environment variables to reflect new graphical login?
added 56 characters in body
Jan
14
accepted Updating screen session environment variables to reflect new graphical login?
Jan
14
answered Updating screen session environment variables to reflect new graphical login?
Nov
21
awarded  Nice Question
Nov
8
awarded  Necromancer
Oct
25
awarded  Popular Question
Oct
14
accepted Can I auto-hide the status text in Firefox 4?
Oct
14
answered Can I auto-hide the status text in Firefox 4?
Oct
13
comment How can I open new tabs next to my current tab instead of at the end of the tab bar in Firefox 7?
Huh. For some reason this was set to the non-default of False in my browser. I'm pretty sure I never set it that way. Setting it to true fixed my problem. Thanks!
Oct
13
accepted How can I open new tabs next to my current tab instead of at the end of the tab bar in Firefox 7?
Oct
13
answered How to adjust .mkv files audio volume level?
Oct
13
asked How can I open new tabs next to my current tab instead of at the end of the tab bar in Firefox 7?
Sep
13
answered How can I avoid losing tabs in Firefox when closing one of multiple windows?