This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262824 - [terminal] ideopen doesn't work on Ubuntu
Summary: [terminal] ideopen doesn't work on Ubuntu
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 11:28 UTC by Vladimir Voskresensky
Modified: 2017-06-08 08:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2016-07-15 11:28:53 UTC
the new feature "ideopen" from internal terminal doesn't work on my system:
#uname -a
Linux NAME 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Vladimir Voskresensky 2016-07-15 11:33:12 UTC
execute in internal terminal:
#echo $PROMPT_COMMAND
if it displays:
__vte_prompt_command

Then the workaround is:
in file file /etc/profile.d/vte.sh comment out line 
[ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command"
Comment 2 ilia 2017-06-08 08:00:40 UTC
As Vladimir suggested, workaround:

in file file /etc/profile.d/vte.sh comment out line 
[ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command"

Since we are using PROMPT_COMMAND as a way to interact with terminal emulator (i.e. ideopen, cwd changes, ...) we do not expect someone to overwrite it (in my personal opinion vte should append to PROMPT_COMMAND). There was a vte bug about this.