You are not logged in.
System: Arch + Hyprland
Problem:
I've got two common problems with thunar after clean installing:
1. Open Terminal here command didn't work
2. Open with *text-editor* didn't work either with "Unable to find terminal"
I solved first one with creating ~/.config/xfce4/helpers.rc and adding:
"TerminalEmulator=kitty"
As for the second one editing the .desktop files in a such way helped (e.g. nvim):
Exec=nvim %F
Terminal=true
does not works
Exec=kitty -e nvim %F
Terminal=false
works
But there is still an issue: underlying terminals opened by "open with" don't match set-up configuration. (But "open terminal here" command works as expected). Firstly, i thought that it still uses some xfce4 emutor for this, but it's definitely kitty, but the title is differs a bit in hyprctl
Window 5f50eafd3010 -> micro:
mapped: 1
hidden: 0
at: 22,83
size: 527,481
workspace: 1 (1)
floating: 0
pseudo: 0
monitor: 0
class: kitty
title: micro
initialClass: kitty
initialTitle: kitty
pid: 1419
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 2
Window 5f50eafef730 -> micro micro.desktop:
mapped: 1
hidden: 0
at: 22,578
size: 527,480
workspace: 1 (1)
floating: 0
pseudo: 0
monitor: 0
class: kitty
title: micro micro.desktop
initialClass: kitty
initialTitle: kitty
pid: 1466
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 3
Window 5f50eb011720 -> Post new topic / Arch Linux Forums — Mozilla Firefox:
mapped: 1
hidden: 0
at: 22,83
size: 1876,975
workspace: 2 (2)
floating: 0
pseudo: 0
monitor: 0
class: firefox
title: Post new topic / Arch Linux Forums — Mozilla Firefox
initialClass: firefox
initialTitle: Mozilla Firefox
pid: 25795
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 1
Window 5f50eaa77960 -> hyprctl clients >> clients.txt:
mapped: 1
hidden: 0
at: 563,83
size: 1335,975
workspace: 1 (1)
floating: 0
pseudo: 0
monitor: 0
class: kitty
title: hyprctl clients >> clients.txt
initialClass: kitty
initialTitle: kitty
pid: 26280
xwayland: 0
pinned: 0
fullscreen: 0
fullscreenClient: 0
grouped: 0
tags:
swallowing: 0
focusHistoryID: 0The difference between thunar-open with micro(micro.desktop) and thunar-open terminal here-micro micro.desktop:
How can i fix that?
What I've tried:
1.following up this https://forum.xfce.org/viewtopic.php?id=15563 with setting up custom terminal.
2.Messing with .desktop files of editors, setting it to
Exec=TerminalEmulator -e nvim %F
completely deletes option from thunar's context menu, setting
Terminal=false
(without changing exec) remains it in menu but do nothing while executed.
Current micro.desktop setup (shown on screen above) is:
[Desktop Entry]
Name=Micro
GenericName=Text Editor
Comment=Edit text files in a terminal
Icon=micro
Type=Application
Categories=Utility;TextEditor;Development;
Keywords=text;editor;syntax;terminal;
Exec=kitty -e micro %F
StartupNotify=false
Terminal=false
NoDisplay=true
MimeType=text/plain;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;text/x-java;text/x-dsrc;text/x-pascal;text/x-perl;text/x-python;application/x-php;application/x-httpd-php3;application/x-httpd-php4;application/x-httpd-php5;application/xml;text/html;text/css;text/x-sql;text/x-diff;SOLVED: I am a dummy, some colour-defining lines in kitty.conf was not commented out.
Last edited by Flixerious (2024-08-22 20:20:25)
Offline