@Nocifer, thank you so much for taking the time to explain all this. Meanwhile I think is back to VirtualBox :)
Search Criteria
Package Details: subtitleedit 4.0.15-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/subtitleedit.git (read-only, click to copy) |
|---|---|
| Package Base: | subtitleedit |
| Description: | An advanced subtitle editor and converter |
| Upstream URL: | https://www.nikse.dk/SubtitleEdit |
| Licenses: | GPL-3.0-only |
| Submitter: | eduardosm |
| Maintainer: | Nocifer |
| Last Packager: | Nocifer |
| Votes: | 40 |
| Popularity: | 0.147931 |
| First Submitted: | 2016-07-09 10:51 (UTC) |
| Last Updated: | 2026-02-07 10:04 (UTC) |
Dependencies (5)
- mono (mono-gitAUR, mono-tracker-gitAUR)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR)
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR) (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR) (optional) – waveform extraction
- mpv (mpv-light-pulseAUR, mpv-gitAUR, mpv-build-gitAUR, mpv-full-luajit-gitAUR, libmpv-gitAUR, mpv-fullAUR, mpv-full-gitAUR, mpv-amd-full-gitAUR, mpv-full-build-gitAUR) (optional) – video support
Required by (0)
Sources (4)
emvidi commented on 2023-02-17 21:19 (UTC)
Nocifer commented on 2023-02-15 11:28 (UTC) (edited on 2023-02-15 11:28 (UTC) by Nocifer)
That would be up to the Mono framework I believe. If there exists some kind of switch that can be used to toggle Wayland support for Mono like e.g. an environment variable like MOZC_ENABLE_WAYLAND that Firefox utilizes (I doubt it) then you could use that; otherwise, if I were you I wouldn't hold my breath, as I can't see the Mono project implementing such a huge change if they haven't bothered to do it already. But of course I could be wrong.
The only other solution would be for SubtitleEdit to abandon Mono/.Net and refocus on the cross-platform dotnet, but I don't even know if that would be feasible, let alone if the developer would be willing.
So for good or bad, I guess XWayland is here to stay for the foreseeable future :)
emvidi commented on 2023-02-15 10:07 (UTC) (edited on 2023-02-15 10:09 (UTC) by emvidi)
@Nocifer, I am on "pure" Wayland, so there is no chance to have this without XWayland? I am sorry, I should have mentioned this from the first comment :(
Nocifer commented on 2023-02-14 16:30 (UTC)
@emvidi The gist of the error is that it can't find an X server, which means that it's actually trying to run through XWayland. Could it be that you're on a "pure" Wayland system that doesn't have XWayland installed? That's the only thing I can think of off the top of my head; that, or XWayland is there but it's not set up properly for some reason (i.e. as mentioned the DISPLAY environment variable is not being set).
Do other X11-only apps on your system run properly on Wayland?
emvidi commented on 2023-02-12 21:44 (UTC)
@Nocifer, thank you for your answer, this is what I get when I launch subtitleedit:
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x003d0] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
at System.Windows.Forms.XplatUI..cctor () [0x000c0] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
at Nikse.SubtitleEdit.Program.Main () [0x0002d] in <4ec2cd95f26e4a81bccd8655c8f6678a>:0
Nocifer commented on 2023-02-05 07:47 (UTC)
@emvidi What part isn't working for you? I tried launching it on Wayland and doing some OCR and it worked fine. But anyway, if there are any issues on Wayland then it's probably not up to me to fix them, it would be a job for either SubtitleEdit's or Mono's developers.
emvidi commented on 2023-02-01 18:32 (UTC)
Hi, any chance to get this package working with Wayland?
Nocifer commented on 2022-12-11 11:25 (UTC)
@kIERO What were you trying to do when you got this error? SubtitleEdit is supposed to use ~/.config/Subtitle Edit for its working directory (e.g. for saving waveforms) and only use /opt/subtitleedit as a read-only storage for its internal stuff (i.e. the files that come with the package itself), so what you're describing sounds like a potential bug to me.
kIERO commented on 2022-11-08 03:26 (UTC)
ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path '/opt/subtitleedit/Waveforms' is denied. ---> System.IO.IOException: Permission denied
It searchs for a few folders under "/opt/subtitleedit/", which are obviously read only.
maderios commented on 2022-08-04 10:54 (UTC)
@jronald Aegisub fork 'aegisub-ttools-meson-git' is maintained https://aur.archlinux.org/packages/aegisub-ttools-meson-git
Pinned Comments
Nocifer commented on 2025-12-12 12:50 (UTC)
There is a new package subtitleedit-avalonia that provides a preview build of SubtitleEdit that is based on the cross-platform Avalonia UI toolkit and provides a vastly improved experience on Linux.
It's still experimental and some of the app's features may or may not work properly, if at all, but I thought I should share it here because it already works generally fine and more Linux users could mean more Linux bugs squashed more quickly.