Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

5.9.x Custom Terminal Command feature/fix.#1720

Open
jboero wants to merge 2 commits intomono:monodevelop-5.9.3-branchfrom
jboero:monodevelop-5.9.3-branch
Open

5.9.x Custom Terminal Command feature/fix.#1720
jboero wants to merge 2 commits intomono:monodevelop-5.9.3-branchfrom
jboero:monodevelop-5.9.3-branch

Conversation

@jboero
Copy link
Copy Markdown

@jboero jboero commented Dec 13, 2016

Workaround feature for https://bugzilla.xamarin.com/show_bug.cgi?id=16804

Allow for terminal command to be specified in env variables. Export MONODEVELOP_CUSTOM_TERMINAL and MONODEVELOP_CUSTOM_FOLDER to use at runtime and bypass broken updates in terminals. This is necessary as terminal updates have broken both all of gnome-terminal, xterm, and konsole and there is no built-in way to customize the command being run. I know future versions of monodevelop have gotten rid of this altogether but backport to 5.9.x would be helpful...

To emulate or customize KDE/Konsole:
export MONODEVELOP_CUSTOM_TERMINAL = " --workdir="{3}" -e "bash -c '{0} {1} ; {2}'""
export MONODEVELOP_CUSTOM_FOLDER = " --nofork --workdir="{0}""

To emulate or customize GNOME:
export MONODEVELOP_CUSTOM_TERMINAL = " --disable-factory --title "{4}" -e "bash -c 'cd {3} ; {0} {1} ; {2}""
export MONODEVELOP_CUSTOM_FOLDER = " --working-directory="{0}""

Then run monodevelop as usual. A nice feature would be to include this in UI configuration some day but we'll see what the roadmap has.
Thanks - has been frustrating.. Hope this helps someone else.

Allow for terminal command to be specified in env variables.  Export MONODEVELOP_CUSTOM_TERMINAL and MONODEVELOP_CUSTOM_FOLDER to use at runtime and bypass broken updated in terminals.
Added custom terminal command feature.
@monojenkins
Copy link
Copy Markdown
Contributor

Hello! I'm the build bot for the Mono project.

I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done.

Contributors can ignore this message.

@xamarin-cla-bot
Copy link
Copy Markdown

Hey @jboero,
Thank you for your Pull Request! We <3 our contributors!

However, it looks like you haven't signed our CLA (Contributor License Agreement) yet. In order for us to accept your pull request, you have to sign our CLA first.
Once you do this, we can check over your pull request. You should only have to do this once.

You can read and sign our full Contributor License Agreement here.

Thanks,

Your friendly Xamarin CLA Bot#

@jboero
Copy link
Copy Markdown
Author

jboero commented Dec 13, 2016

Holy hell I'm just trying to get a project built. Sorting a dozen dependencies and jumping through a hundred hoops and now you want me to fill out 4 forms and sign a document? Done with this. need to get back to work.

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