Solution for scim not starting with the system in Ubuntu

Source: Internet
Author: User
Ubuntu is really easy to use, but I found that its scim input method cannot be started with the system. Every time you want to input Chinese characters, you have to start it by typing commands from the terminal, which is very troublesome, today, when reading about the linux Startup File, I thought of a way to write a script and put it in the startup file so that the input method can be started with the system. For linux, this is only justapieceofcake !! But it is also a big gain for me, the new rookie who just "upgraded! Ubuntu is really easy to use, but I found that its scim input method cannot be started with the system. Every time you want to input Chinese characters, you have to start it by typing commands from the terminal, which is very troublesome, today, when reading about the linux Startup File, I thought of a way to write a script and put it in the startup file so that the input method can be started with the system. For linux, This is just a piece of cake !! But it is also a big gain for me, the new rookie who just "upgraded!

The specific method is as follows: (for ubuntu only, there may be some minor differences between other releases, mainly because the folder location may be different)

First, all the services started randomly in linux are in/etc/init. d. All the files in this folder are script files (in simple words, the script program writes the program to be run to a file so that the system can execute it in order, similar to windows autorun. in addition, there are folders such as rc1.d, rc2.d to rc6.d In the/etc folder, which are different runlevels in linux, generally, the running level of multiple users in X windows is 5th, that is, rc5.d. The script file in this folder is the service program to be started randomly when the script file is 5th. Note that in each rc (1-6 ). the files in the d folder are all/etc/init. A soft connection to the files in the d folder (similar to the shortcut in windows), that is, in/etc/init. the d folder contains all the service programs, and each rc (1-6 ). d. Only link it to start the desired service program!

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.