-
Notifications
You must be signed in to change notification settings - Fork 117
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Terminal can not be opened at deepin 15.4.1 #182
Comments
What's the error message you're receiving? |
The plugin runs without error information, executes "subprocess.Popen (args, cwd=cwd, env=env)" and does not open the terminal window. |
I can successfully open a new terminal window by entering "deepin-terminal" or "xterm" on the command line. But the use of sublime terminal plugins to open "deepin-terminal" and "xterm" has not been a success. |
Hmm, very strange. Maybe there's an environment variable set in Sublime Text which is causing this strange behavior (e.g. I'd suggest opening a Python shell inside of We should support Deepin or any system for that matter as we run |
The following is my solution:
$ sudo apt-get install xterm
{
"terminal": "xterm"
}
Perfect solution ^_^ |
Glad to hear this was resolved =) Closing issue |
Env:
deepin 15.4.1
sublime text 3
Terminal-setting:
{
"terminal": "deepin-terminal"
}
Right click “Open terminal here...” or press “ctrl+shift+t/ctrl+shift+alt+t” button still unable to run terminal, Try restarting the application and system。
Use the "Ctrl + `" button to open the controller view, no mistake.
Open the "sublime-text-3/packages/Termical/Terminal.py" file, add the "print" method to the 170 row of the file, then run "open terminal here...", print "args", "cmd" and "env" value.
args: ['deepin-terminal']
cmd: /home/jianglin-wu/.config/sublime-text-3/Packages/Terminal
env:
{
"GDMSESSION": "deepin",
"GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
"XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
"XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0",
"XDG_SESSION_TYPE": "x11",
"SHLVL": "1",
"NODE_PATH": "/home/jianglin-wu/nodejs:/home/jianglin-wu/nodejs/lib/node_modules",
"LD_PRELOAD": "/opt/sublime_text_3/libsublime-imfix.so",
"QT4_IM_MODULE": "fcitx",
"GIO_LAUNCHED_DESKTOP_FILE_PID": "1251",
"USER": "jianglin-wu",
"PATH": "/home/jianglin-wu/nodejs/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games",
"PWD": "/home/jianglin-wu",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_DESKTOP": "deepin",
"XDG_CURRENT_DESKTOP": "Deepin",
"CLUTTER_IM_MODULE": "xim",
"DISPLAY": ":0",
"GIO_LAUNCHED_DESKTOP_FILE": "/usr/share/applications/sublime-text-dev.desktop",
"XMODIFIERS": "@im=fcitx",
"QT_ACCESSIBILITY": "1",
"_": "/opt/sublime_text_3/sublime_text",
"SHELL": "/bin/bash",
"GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
"XDG_SESSION_ID": "2",
"DBUS_SESSION_BUS_ADDRESS": "unix:abstract=/tmp/dbus-qgnQb9IxIp,guid=f2eaa435c61ce4cb25fe308d5a252088",
"LANGUAGE": "zh_CN",
"HOME": "/home/jianglin-wu",
"XDG_GREETER_DATA_DIR": "/var/lib/lightdm/data/jianglin-wu",
"QT_LINUX_ACCESSIBILITY_ALWAYS_ON": "1",
"SSH_AGENT_PID": "720",
"QT_IM_MODULE": "fcitx",
"LOGNAME": "jianglin-wu",
"XAUTHORITY": "/home/jianglin-wu/.Xauthority",
"LANG": "zh_CN.UTF-8",
"XDG_SEAT": "seat0",
"SSH_AUTH_SOCK": "/tmp/ssh-LxqeyPAYzUis/agent.638",
"_JAVA_OPTIONS": " -Dawt.useSystemAAFontSettings=gasp",
"XDG_VTNR": "7",
"DESKTOP_SESSION": "deepin",
"GTK_IM_MODULE": "fcitx"
}
The application has never been wrongly reported, nor can it run.
The text was updated successfully, but these errors were encountered: