!BNzCLICNIgvxBJqcKM:nixos.dev

nixos.dev meta discussions

48 Members
Make sure your GitHub Organisation membership is public as otherwise the login will not work.7 Servers

Load older messages


SenderMessageTime
18 Jul 2021
@mic92:nixos.devMic92 (Old)They can20:34:19
@mic92:nixos.devMic92 (Old)Just set a fixed port20:34:32
@mic92:nixos.devMic92 (Old)Than it just prints the link20:34:46
@andi:kack.itandi-I realized that element-desktop would always try to open a new firefox window but I didn't debug this any further. Would be great to get that fixed.20:35:14
@evils:nixos.devevils
In reply to @mic92:nixos.dev
Just set a fixed port
can you clarify this suggestion?
20:35:56
@mic92:nixos.devMic92 (Old)Oh you were talking about element desktop20:35:56
@mic92:nixos.devMic92 (Old)I thought you meant weechat-matrix20:36:19
@evils:nixos.devevilsah20:36:32
@andi:kack.itandi-I think he tought you were using weechat-matrix20:37:37
@mic92:nixos.devMic92 (Old)Never tried the electron app. I just have a pinned tab in Firefox20:37:48
@andi:kack.itandi-

Regarding opening the wrong firefox. It does this on my system but firefox isn't happy:

[pid 67440] execve("/run/wrappers/bin/xdg-open", ["xdg-open", "http://matrix.org/"], 0x1be9541f8000 /* 71 vars */) = -1 ENOENT (No such file or directory)
[pid 67440] execve("/home/andi/.nix-profile/bin/xdg-open", ["xdg-open", "http://matrix.org/"], 0x1be9541f8000 /* 71 vars */) = -1 ENOENT (No such file or directory)
[pid 67440] execve("/etc/profiles/per-user/andi/bin/xdg-open", ["xdg-open", "http://matrix.org/"], 0x1be9541f8000 /* 71 vars */) = -1 ENOENT (No such file or directory)
[pid 67440] execve("/nix/var/nix/profiles/default/bin/xdg-open", ["xdg-open", "http://matrix.org/"], 0x1be9541f8000 /* 71 vars */) = -1 ENOENT (No such file or directory)
[pid 67440] execve("/run/current-system/sw/bin/xdg-open", ["xdg-open", "http://matrix.org/"], 0x1be9541f8000 /* 71 vars */) = 0
strace: Process 67442 attached
[pid 67442] execve("/run/current-system/sw/bin/gio", ["gio", "help", "open"], 0x1328008 /* 72 vars */) = 0
[pid 67442] +++ exited with 0 +++
[pid 67440] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67442, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 67443 attached
[pid 67443] execve("/run/current-system/sw/bin/gio", ["gio", "open", "http://matrix.org/"], 0x1328008 /* 72 vars */) = 0
strace: Process 67444 attached
strace: Process 67445 attached
strace: Process 67446 attached
strace: Process 67449 attached
strace: Process 67450 attached
[pid 67449] +++ exited with 0 +++
[pid 67443] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67449, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
[pid 67450] execve("/bin/sh", ["/bin/sh", "-e", "-u", "-c", "export GIO_LAUNCHED_DESKTOP_FILE"..., "sh", "firefox", "http://matrix.org/"], 0x1bc2400 /* 72 vars */) = 0
strace: Process 67451 attached
[pid 67446] +++ exited with 0 +++
[pid 67445] +++ exited with 0 +++
[pid 67451] +++ exited with 0 +++
[pid 67444] +++ exited with 0 +++
[pid 67443] +++ exited with 0 +++
[pid 67440] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67443, si_uid=1000, si_status=0, si_utime=0, si_stime=2} ---
[pid 67440] +++ exited with 0 +++
[pid  5859] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67440, si_uid=1000, si_status=0, si_utime=0, si_stime=1} ---
[pid 67441] +++ exited with 0 +++
[pid 67450] execve("/run/current-system/sw/bin/firefox", ["firefox", "http://matrix.org/"], 0x109b008 /* 71 vars */) = 0
20:38:10
@evils:nixos.devevils
In reply to @andi:kack.it
I realized that element-desktop would always try to open a new firefox window but I didn't debug this any further. Would be great to get that fixed.
while it's possible to fix at the nix package level
https://github.com/NixOS/nixpkgs/pull/124703
i think this is an issue specific to element-desktop, or at least, they're the only ones not doing something right?
and they don't seem to have an issue tracker
or if they do, they didn't bother directing people to it on the github repo
20:39:05
@andi:kack.itandi- If you invoke xdg-open https://nixos.org it just works. It might be due to electron being not wayland native? 20:40:15
@evils:nixos.devevilsopening links from mattermost-desktop works here, and i think that also uses electron20:40:46
@andi:kack.itandi-The same electron or some patchelfed stuff?20:41:42
@evils:nixos.devevilspatchelfed20:42:31
@andi:kack.itandi-So our electron build is not "proper"20:43:06
@andi:kack.itandi-I've to get back to putting up furniture. Can't debug that now :-)20:43:32
@andi:kack.itandi-All our electrons appear patchelfed...20:43:57
20 Jul 2021
@iammrinal0:nixos.deviammrinal0 joined the room.12:55:29
@iammrinal0:nixos.deviammrinal0 changed their display name from Mrinal to iammrinal0.13:26:23
@iammrinal0:nixos.deviammrinal0 set a profile picture.13:26:30
21 Jul 2021
@andi:kack.itandi-Everyone happy with the server? Any issues that I should be aware of?21:56:18
@nixinator:nixos.devnixinatorseems great so far.21:59:50
22 Jul 2021
@mic92:nixos.devMic92 (Old)works for me04:15:37
@iammrinal0:nixos.deviammrinal0works great. faced something during GitHub login, I got a no session cookie found error, probably due to using Firefox containers and GitHub is set to open in a different container.07:31:07
@iammrinal0:nixos.deviammrinal0matrix_error.png
Download matrix_error.png
07:31:19
@iammrinal0:nixos.deviammrinal0I was able to login eventually by making GitHub open in default container temporarily.07:32:12
@andi:kack.itandi-Since you are being bounced around between chat.nixos.dev -> matrix.nixos.dev -> auth.nixos.dev -> github.com -> and back it might get confused if you are not sharing cookies08:44:58
@mic92:nixos.devMic92 (Old)in weechat-matrix you actually need to set matrix.nixos.dev as the home server: https://nixos.dev/09:46:57

Show newer messages


Back to Room ListRoom Version: 6