Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement xdg-terminal-exec support #424

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mate-terminal.desktop.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ X-MATE-Bugzilla-Bugzilla=MATE
X-MATE-Bugzilla-Product=mate-terminal
X-MATE-Bugzilla-Component=BugBuddyBugs
X-MATE-Bugzilla-Version=@VERSION@
X-ExecArg=-x
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Categories=GTK;System;TerminalEmulator;
StartupNotify=true
Expand Down
8 changes: 8 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,14 @@ desktop_file = i18n.merge_file(
)
)

# For xdg-terminal-exec support
install_symlink(
'mate-terminal.desktop',
install_dir: join_paths(datadir, 'xdg-terminals'),
install_tag: 'runtime',
pointing_to: desktop_file.full_path(),
)

desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
Expand Down