Paul Evans on Nostr: I run #XFCE on my Linux box. I have a custom `.profile` that needs to be run to set ...
I run #XFCE on my Linux box. I have a custom `.profile` that needs to be run to set $PATH and a bunch of other environment things. It seems by default xfce4-session doesn't do this.
I can workaround that ;problem by this file:
```
$ cat $HOME/.xsession
#!/bin/sh
source $HOME/.profile
exec xfce4-session
```
and remembering to set "default X session" rather than "XFCE4" as the login environment.
Seems incredibly hacky though. Is there anything nicer?
Published at
2024-06-02 17:29:45Event JSON
{
"id": "e1b509f5520f076d2e558a36545d558fee7f6348edc9379b97ef3f860d365597",
"pubkey": "bfc36b013e82efd032fc4f0ac558e17ac24a330c3b53a175d590b71d42268a3d",
"created_at": 1717349385,
"kind": 1,
"tags": [
[
"t",
"xfce"
],
[
"proxy",
"https://fosstodon.org/@leonerd/112548209357800030",
"web"
],
[
"proxy",
"https://fosstodon.org/users/leonerd/statuses/112548209357800030",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/leonerd/statuses/112548209357800030",
"pink.momostr"
]
],
"content": "I run #XFCE on my Linux box. I have a custom `.profile` that needs to be run to set $PATH and a bunch of other environment things. It seems by default xfce4-session doesn't do this.\n\nI can workaround that ;problem by this file:\n\n```\n$ cat $HOME/.xsession\n#!/bin/sh\nsource $HOME/.profile\nexec xfce4-session\n```\n\nand remembering to set \"default X session\" rather than \"XFCE4\" as the login environment.\n\nSeems incredibly hacky though. Is there anything nicer?",
"sig": "76df68906784a0a1d3aba5c3fa575add12dbfff08c627bbe5f43a18eb57f3bceefe7cd5322a57833b6e37fc8cb4838e9d35f693175fee2f4db6238ea63d0f4f1"
}