Closed MahbubAlam231 closed 1 month ago
Lacking a standard for the script execution commandline interface of the terminals out in the wild we have to hardcode the parameters the terminals use. If you want this change this vote on my pull request. If your terminal broke the command line interface in the past and you are on the old version you are out of luck. Thats why we need that standard. However for as long as this PR is not merged we have to maintain the hardcoded map of terminals to their arguments (if any).
The map currently resides in https://github.com/albertlauncher/plugins/blob/main/applications/src/xdg/plugin.cpp.
If your terminal is not working I need the desktop entry file name (the desktop id) of your terminal and the (xterm -e compatible) argument that indicates that the remainder of the commandline should be interpreted as commandline to run in the terminal. Further the content of the desktop entry may help improving the heuristics currently applied to get the terminals covered.
DESKTOP_SESSION: cinnamon
Skipped /usr/share/applications/org.gnome.Terminal.desktop: Desktop entry excluded by 'OnlyShowIn'.
Hi,
Here is the desktop ID for the terminal. Should I change anything?
[Desktop Entry]
Name=Terminal
Comment=Use the command line
Keywords=shell;prompt;command;commandline;cmd;
TryExec=gnome-terminal
Exec=gnome-terminal
Icon=org.gnome.Terminal
Type=Application
Categories=GNOME;GTK;System;TerminalEmulator;
StartupNotify=true
StartupWMClass=Gnome-terminal
SingleMainWindow=false
OnlyShowIn=GNOME;Unity;
Actions=new-window;preferences;
X-ExecArg=--
X-Ubuntu-Gettext-Domain=gnome-terminal
[Desktop Action new-window]
Name=New Window
Exec=gnome-terminal --window
[Desktop Action preferences]
Name=Preferences
Exec=gnome-terminal --preferences
Check the checkbox ignore only show in and not show in
Did it help?
Thanks, I can see the terminal now, and it works. I have checked the PATH checkbox, so I can use my own scripts as well. But I can't see those scripts as suggestions, I have to <ctrl-j>
and go to I'm feeling lucky
to run them. I am fine with it, but is there another option that I need to turn on for this?
Probably you modified the PATH in your rc file. Set it system wide or add it in the desktop file of the app
Package source
https://software.opensuse.org/download/package.iframe?project=home:manuelschneid3r&package=albert&acolor=00cccc&hcolor=00aaaa
App logs
Current Behavior
When I open
Applications
plugin, I can't see any terminal.Expected Behavior
Running codes from albert.
Anything else?
Distribution: Linux mint 22
Same issue: #1445