5.9.x Custom Terminal Command feature/fix.#1720
5.9.x Custom Terminal Command feature/fix.#1720jboero wants to merge 2 commits intomono:monodevelop-5.9.3-branchfrom
Conversation
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.
|
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. |
|
Hey @jboero, 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. You can read and sign our full Contributor License Agreement here. Thanks, Your friendly Xamarin CLA Bot# |
|
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. |
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.