Merge lp:~rct86/byobu/morevars into lp:byobu

Proposed by Ryan Thompson
Status: Merged
Merged at revision: 1905
Proposed branch: lp:~rct86/byobu/morevars
Merge into: lp:byobu
Diff against target: 28 lines (+5/-2)
2 files modified
usr/bin/byobu-reconnect-sockets (+2/-1)
usr/bin/byobu-select-session (+3/-1)
To merge this branch: bzr merge lp:~rct86/byobu/morevars
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+93303@code.launchpad.net

Description of the change

Fixes https://bugs.launchpad.net/byobu/+bug/924545

Add the following to the list of environment vars to update:

XDG_SESSION_COOKIE
XDG_SESSION_PATH
GNOME_KEYRING_CONTROL
GNOME_KEYRING_PID
GPG_AGENT_INFO
SSH_AUTH_SOCK
SSH_AGENT_PID

To post a comment you must log in.
Revision history for this message
Ryan Thompson (rct86) wrote :

I just tested the code from this branch, and it does indeed solve the issue. The unlock button in gnome-control-center now works after restarting my X session and then starting gnome-control-center from inside byobu.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/bin/byobu-reconnect-sockets'
2--- usr/bin/byobu-reconnect-sockets 2012-01-31 12:07:58 +0000
3+++ usr/bin/byobu-reconnect-sockets 2012-02-15 21:32:10 +0000
4@@ -81,7 +81,8 @@
5 }
6
7 # Pull environment variables/values from backend and update/export here
8-VARS_TO_UPDATE="DISPLAY DBUS_SESSION_BUS_ADDRESS SESSION_MANAGER GPG_AGENT_INFO"
9+VARS_TO_UPDATE="DISPLAY DBUS_SESSION_BUS_ADDRESS SESSION_MANAGER GPG_AGENT_INFO XDG_SESSION_COOKIE XDG_SESSION_PATH GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK SSH_AGENT_PID"
10+
11 case $BYOBU_BACKEND in
12 tmux)
13 tmux_update
14
15=== modified file 'usr/bin/byobu-select-session'
16--- usr/bin/byobu-select-session 2012-01-28 18:59:55 +0000
17+++ usr/bin/byobu-select-session 2012-02-15 21:32:10 +0000
18@@ -31,7 +31,9 @@
19 sessions = []
20 text = []
21
22-BYOBU_UPDATE_ENVVARS=["DISPLAY", "DBUS_SESSION_BUS_ADDRESS", "SESSION_MANAGER", "GPG_AGENT_INFO"]
23+BYOBU_UPDATE_ENVVARS=["DISPLAY", "DBUS_SESSION_BUS_ADDRESS", "SESSION_MANAGER", "GPG_AGENT_INFO",
24+ "XDG_SESSION_COOKIE", "XDG_SESSION_PATH", "GNOME_KEYRING_CONTROL",
25+ "GNOME_KEYRING_PID", "GPG_AGENT_INFO", "SSH_AUTH_SOCK", "SSH_AGENT_PID"]
26
27 def get_sessions():
28 sessions = []

Subscribers

People subscribed via source and target branches