Merged
Conversation
841f668 to
634f94d
Compare
02cb655 to
fd24811
Compare
fd24811 to
03c1286
Compare
03c1286 to
a6f466e
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR addresses Element desktop application issues by implementing proper XDG handlers for URL redirection and temporarily disabling the element-web patch due to version conflicts.
Key changes:
- Element-web package temporarily disabled due to version conflicts with element-desktop
- Added comprehensive XDG handlers for URL and Element desktop protocol handling
- Improved element-desktop integration with proper URL redirection support
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/own-pkgs-overlay.nix | Commented out element-web package due to version conflicts |
| overlays/custom-packages/element-desktop/element-main.patch | Updated patch with new URL loading and XDG utilities integration |
| overlays/custom-packages/element-desktop/default.nix | Enhanced element-desktop with XDG utilities and GPU/logging configuration |
| overlays/custom-packages/default.nix | Re-enabled element-desktop overlay |
| modules/reference/appvms/zathura.nix | Refactored XDG handlers from boolean to specific handler types |
| modules/reference/appvms/google-chrome.nix | Removed redundant Wayland flags for consistency |
| modules/reference/appvms/comms.nix | Added element-desktop XDG handler and logging flags |
| modules/microvm/common/xdgitems.nix | Major refactor to support URL and Element desktop XDG handling |
| modules/microvm/common/xdghandlers.nix | Converted from single enable flag to individual handler types |
Comments suppressed due to low confidence (1)
modules/microvm/common/xdgitems.nix:1
- Variable name confusion:
filePathis being assigned the result ofrealpathon itself. This should befilePath=$(realpath "$file" || true)to get the real path of the original file parameter.
# Copyright 2022-2025 TII (SSRC) and the Ghaf contributors
a6f466e to
771ae4c
Compare
771ae4c to
1b04b3d
Compare
1b04b3d to
752f7cf
Compare
brianmcgillion
approved these changes
Sep 10, 2025
* disabling element-web patch due to conflict with latest version * xdg handler for external urls * xdg handler for element-desktop Signed-off-by: Enes Öztürk <enes.ozturk@unikie.com>
752f7cf to
8b6371b
Compare
Contributor
|
Also Orins are in the list of applicable targets. Does this mean that Element should launch also on Orins? I checked on Orin NX that clicking the Element icon does nothing. I don't see any element related logs in journalctl or related process starting. |
Contributor
|
Tested on Lenovo-X1
NOTE:
|
vunnyso
approved these changes
Sep 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Current issues
Chrome needs to redirect xdg-open requests with "element://vector..." url to comms-vm. But givc does not accept the URLs that do not start with "https,http,.."https://github.com/tiiuae/ghaf-givc/blob/7a22955564248da50a213a7e386c2ef1e6f06c67/modules/pkgs/applications/applications.go#L67 @mbssrcType of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
Note: element-desktop location sharing functionality does not work for this PR.