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

Fixes #11451 - Add konsole as default terminal for KDE-plasma #11452

Merged
merged 1 commit into from
Sep 8, 2016

Conversation

nholthaus
Copy link
Contributor

No description provided.

@msftclas
Copy link

msftclas commented Sep 2, 2016

Hi @nholthaus, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.002%) to 60.977% when pulling 46a36d0 on nholthaus:master into a0a62b9 on Microsoft:master.

@@ -11,6 +11,8 @@ if (env.isLinux) {
defaultTerminalLinux = 'x-terminal-emulator';
} else if (process.env.DESKTOP_SESSION === 'gnome' || process.env.DESKTOP_SESSION === 'gnome-classic') {
defaultTerminalLinux = 'gnome-terminal';
} else if (process.env.DESKTOP_SESSION === 'kde-plasma') {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is plasma a version or something? If so can this be made more generic?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plasma is the name of KDE's desktop manager, not a specific version.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this if should be entered regardless of the specific distribution, as long as it's using KDE and not on Debian (due to the first case)? This comment I found concerns me a little, is there a more reliable environment variable if this can be the "default" on KDE Fedora?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tyriar hmm, yeah I was only really thinking about improving Kubuntu. This whole section may need work if it's going to include desktop-manager specific code, even just to handle the major flavors.

That said, if old versions of KDE Fedora (or others) fall through the if, they're no worse off then they are now.

Another approach might be to have the workspace/user setting for the external terminal affect the debugger. When I tried setting it to konsole, there was no change in the "install gnome terminal" error message. Not sure if that's an issue in and of itself (or a feature) or what the side effects would be.

@Tyriar
Copy link
Member

Tyriar commented Sep 8, 2016

v1.5 has been branched so I think I'll merge this, the comments are trying to solve an extra problem on top of this. Note that I'm not sure that the debugger will recognize this, but will definitely launch konsole when the "Open New Terminal" command is run.

The debugger issue was moved to #11451 (comment)

@Tyriar Tyriar merged commit 195c04b into microsoft:master Sep 8, 2016
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants