What makes the problem difficult
--------------------------------
During startup the scripts /etc/X11/Xsession.d/* are sourced,
the call to ssh-agent is stored in $STARTUP and performed from the last script
/etc/X11/Xsession.d/99x11-common_start with the line "exec $STARTUP",
at this moment the value of $STARTUP is
"/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session blackbox"
blackbox CANNOT call bbkeys via commandline.
bbkeys relies on an already running blackbox, CANNOT call blackbox.
As a result it seems impossible, to export the same environment to blackbox
AND bbkeys, neither simultanously nor one after another.
WORKAROUND, rather "dirty" but it works for me
----------------------------------------------
(1) ~/.blackboxrc
"session.styleFile: /usr/share/blackbox/styles/MyStyle"
(2) /usr/share/blackbox/styles/MyStyle
Replacing the rootCommand allows me to tweak blackbox so that it calls
bbkeys directly and exports its environment to bbkeys:
"rootCommand: bbkeys"
(3)
Launching ALL desired applications for a session from a SINGLE script
called by one keystroke defined in bbkeysrc is possible, but has the downside
of an additional shell instance for EVERY forked process, persisting
as long as the called application is running.
Memory saving alternative with the advantage, that I can easily arrange on
different workspaces:
/etc/bbkeys/bbkeysrc
[Execute] (Mod4-ISO_Level3_Shift-1) { bsetroot -solid rgb:00/32/40 }
[Execute] (Mod4-ISO_Level3_Shift-2) { klipper }
[Execute] (Mod4-ISO_Level3_Shift-3) { ksysguard }
[Execute] (Mod4-ISO_Level3_Shift-4) { konsole --profile log --geometry
1280x780-0+-1 }
..
FEATURE REQUEST
---------------
A more "clean" solution would be possible, if blackbox could call bbkeys
directly via commandline argument.
--
Roland Eggner
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]