tw 2017-02-23 07:59:05
How do I set the environment variables for a single invocation of lxterminal and its descendents? for example: `BASH_ENV=/rcfile xterm` works, `BASH_ENV=/rcfile lxterminal` does not.
greycat 2017-02-23 07:59:51
if lxterminal decides to nuke its environment, there's nothing you can do about that
greycat 2017-02-23 08:01:00
Conceivably, there might be something in lxterminal's docs that will tell you how to make it stop doing that.
AvatarA 2017-02-23 08:04:16
depends what he means by descendants
AvatarA 2017-02-23 08:04:49
does he mean subsequent commands or opening a new lxterminal window/tab from the previous?
greycat 2017-02-23 08:05:12
I'm assuming he meant children of the terminal, as in a shell.
AvatarA 2017-02-23 08:05:25
maybe he's just looking for export
greycat 2017-02-23 08:05:31
His question seemed competent enough that I didn't question whether he had a grasp of such basics.
greycat 2017-02-23 08:05:44
He is already exporting the variable into the terminal's environment.
tw 2017-02-23 08:05:59
Hey, if I can get anything to show up in the environment for just that guy and not its peers, I'm all for it.
tw 2017-02-23 08:06:53
But what's happening is lxterminal is finding that it's already open via dbus and telling its preexisting peer "open a new window!" not actually staying inside the session.
greycat 2017-02-23 08:06:59
ohhh.
tw 2017-02-23 08:07:45
So session variables are dumped out =(
tw 2017-02-23 08:07:45
Unless there's magic in the lxterminal source that isn't documented in man lxterminal.
tw 2017-02-23 08:07:45
But at this point I'm going to switch shells to something not crazy.
somiaj 2017-02-23 08:08:14
sounds like lxterminal is asking dbus for the enviorment?
greycat 2017-02-23 08:08:49
No, it sounds like exactly what tw said.
greycat 2017-02-23 08:09:21
the new instance of lxterminal created from the shell just sends a signal to ANOTHER instance of lxterminal and does not send along any environment variables
somiaj 2017-02-23 08:09:23
oh sorry, missunderstood what he said.
greycat 2017-02-23 08:10:10
I cannot understand why anyone would make a terminal emulator work in this way. But then again I don't understand why ANYTHING about desktop environments is as it is.
bbr 2017-02-23 08:20:09
Hi all, I'm migrating my laptop to new hardware. I'm going to partition the new machine with a live system and then cp the files over. My old system runs on lvm, I never really needed it though. Does it make sense to just setup SWAP + ext4 for / and /home partitions? What's the state of things these days?
bbr 2017-02-23 08:20:36
I'm having a PCIe ssd
somiaj 2017-02-23 08:20:53
bbr: how you want to partition is usually personal choice, but swap + / + /home is fairly standard choice.
somiaj 2017-02-23 08:21:31
bbr: when copying the system over you'll have to make it bootable, and you may want to decide to use efi + gtp instead of legacy, in this case you won't be able to do this with a debian live image as it doesn't support efi
tw 2017-02-23 08:21:55
I really don't like this dbus thing. It violates the principle of sessions and replaces them with "systemd slices". Really? You couldn't have just started with a user-dbus agent as my session leader and not reengineered the whole thing in inescapable cgroups?
bbr 2017-02-23 08:23:00
somiaj: sounds reasonable. Thanks for the note. what would I need to support efi? grub-efi?
tw 2017-02-23 08:23:02
But other than that things work a lot smoother on the desktop than they did the last time I tried this.
somiaj 2017-02-23 08:23:52
bbr: grub efi, or gumiboot or now the new systemd boot thingy (which was gummiboot). Anyways efi doens't need a full boot loader like grub, but you can use it.
bbr 2017-02-23 08:25:07
somiaj: ok thanks! I'll look a little deeper into it. What's the state of btrfs these days? would that be an option?
somiaj 2017-02-23 08:26:40
bbr: many like it, I still say use ext4 unless you really know btrfs or want a feature of it you don't get with ext4. But some like their file systems to be well tested and btrfs is still new in that regard.
somiaj 2017-02-23 08:26:55
bbr: but may use it and it works just fine....
somiaj 2017-02-23 08:27:54
ls
bbr 2017-02-23 08:28:00
somiaj: ok I see
bbr 2017-02-23 08:28:17
somiaj: thanks a lot
jhutchins_wk 2017-02-23 08:46:04
I get to play with an efi install soon.