Solve the problem of pycharm can't input Chinese under Ubuntu

Source: Internet
Author: User

sudo nautilus in this interface through the "computer" into the pycharm.sh folder. Typically in the Bin folder of the installation package. 3, add the Red typeface content in the file pycharm.sh (according to own actual pycharm.sh file content to add appropriately) [[email protected] bin]$ VI pycharm.sh#------------------- --------------------------------------------------if [-N ' $PYCHARM _properties "]; Then ide_properties_property= "-didea.properties.file=\" $PYCHARM _properties\ "" Fimain_class_name= "$PYCHARM _main_ Class_name "If [-Z" $MAIN _class_name "]; Then Main_class_name= "Com.intellij.idea.Main" fivm_options_file= "$PYCHARM _vm_options" if [-Z "$VM _options_file"]; Then vm_options_file= "$IDE _bin_home/pycharm$bits.vmoptions" Fiif [-R "$VM _options_file"]; Then vm_options= ' "$CAT" "$VM _options_file" | "$GREP"-V "^#.*" | "$TR" \ n "" vm_options= "$VM _options-djb.vmoptionsfile=\" $VM _options_file\ "" fiis_eap= "false" if ["$IS _eap" = "true" ]; Then Os_name= ' echo $OS _type | "$TR" ' [: Upper:] ' [: Lower:] ' agent_lib= ' yjpagent-$OS _name$bits ' If [-R ' $IDE _bin_home/lib$agent_lib.so ']; Then agent= "-agentlib: $AGENT _lib=disablej2ee,disaBlealloc,delay=10000,sessionname=pycharm30 "fificommon_jvm_args=" \ "-xbootclasspath/a: $IDE _home/lib/boot.jar\"- DIDEA.PATHS.SELECTOR=PYCHARM30 $IDE _properties_property "ide_jvm_args="-didea.platform.prefix=python- Didea.no.jre.check=true "all_jvm_args=" $VM _options $COMMON _jvm_args $IDE _jvm_args $AGENT $REQUIRED _jvm_args " Classpath= "$IDE _home/lib/bootstrap.jar" classpath= "$CLASSPATH: $IDE _home/lib/extensions.jar" Classpath= "$ CLASSPATH: $IDE _home/lib/util.jar "classpath=" $CLASSPATH: $IDE _home/lib/jdom.jar "classpath=" $CLASSPATH: $IDE _home/ Lib/log4j.jar "Classpath=" $CLASSPATH: $IDE _home/lib/trove4j.jar "classpath=" $CLASSPATH: $IDE _home/lib/jna.jar "if [- N "$PYCHARM _classpath"]; Then Classpath= "$CLASSPATH: $PYCHARM _classpath" Fiexport classpathld_library_path= "$IDE _bin_home: $LD _library_path" Export Ld_library_pathexport gtk_im_module=fcitxexport qt_im_module=fcitxexport [email protected]=fcitx#----- ----------------------------------------------------------------# Run The ide.#---------------------------------------------------------------------ifs= "$ (printf ' \n\t ')" Ld_library_path= "$IDE _bin_home: $LD _library _path "" $JAVA _bin "${agent}"-xbootclasspath/a: $IDE _home/lib/boot.jar "-classpath" $CLASSPATH "${vm_options}"-X x:errorfile= $HOME/java_error_in_pycharm_%p.log ""-xx:heapdumppath= $HOME/java_error_in_pycharm.hprof "- didea.paths.selector=pycharm2017.1 "-djb.vmoptionsfile= $VM _options_file" ${ide_properties_property}- Didea.platform.prefix=python Com.intellij.idea.Main "[email protected]"

  

Solve the problem of pycharm can't input Chinese under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.