Install a note-taking software under Linux (for notes)

Source: Internet
Author: User

Today, I suddenly want to install a cross-platform (Windows, Linux, Android) notebook software for daily records, article Records, and Web Collections on Ubuntu. Originally did not use similar software, just see a lot of people around the use of impression notes to make records, but the degree Niang search to find that the official Evernote only Windows and Android version, the version of Linux seems to have been developed by other people, In addition it is divided into what international and domestic version of what, make a good mess. The following method of installation was found, but it did not succeed.

1 #安装Everpad    I did not succeed 2 3 sudo add-apt-repository ppa:nvbn-rm/ppa4 sudo apt-get update5 sudo apt-get install Everpad

After that, and then found in the mother of the search for notes are cross-platform, open its official website (http://www.wiz.cn/download.html), also found that it is indeed cross-platform. But the Linux version needs to download on GitHub, I in the time of downloading interrupted two times, and the net speed very very slow, finally in the degree Niang's Bar (https://tieba.baidu.com/p/5121193231) saw the omnipotent friend's treasure. Download it, or thank the Almighty friend!!

After the download, you will find a startup.sh executable file, run it.

1 $./startup. SH

Can open for note software (the interface looks very comfortable):

    

However, a little uncomfortable is that the software installed in the main directory of the two-level directory, if each time it is really convenient to open, I would like to be able to enter the main directory as the input LS command directly can be opened as a note.

Look at its startup.sh script, as follows:

1 #!/bin/bash23 rev='PWD'4Echo $REV/lib: $LD _library_path5 export ld_library_path= $REV/lib: $LD _library_path  67 ./bin/wiznote $

The original script is to put the Lib library under the Wiznote folder (which is a library of QT5) into the environment variable, and then execute wiznote in Wiznote/bin. Then it's good to do it:

1. First, replace the rev= ' PWD ' with the directory where the software is installed;

2. Add the directory to the environment variable so that you can use it as the LS command to know your notes (you can rename the startup.sh to Weizhi) as you would with a note.

The steps are as follows: ( text username to be replaced by your username )

  #给启动程序改名  ~/soft-install /wiznote$ Span style= "COLOR: #0000ff" >MV  startup. sh   weizhi# as follows to modify the contents of the file (startup.  sh  )  ~/soft-install /wiznote$ cat   weizhi# !/bin/bash< Span style= "COLOR: #ff0000" > #红色部分是需要修改的内容  rev   =/home/username/soft-install/wiznote/ echo  $REV/lib: $LD _library_pathexport ld_library_path  = $REV/lib: $LD _ Library_path  /home/username/soft-install/wiznote/bin/wiznote 

Finally, the most critical step is to add the path where the Weizhi is located to the environment variable:

1-------------------------------------------------Supplemental Content-----------------------------------------2|three ways to change environment variables:3|1. Export Path=file path: $PATH (temporarily valid, expired after reboot)4|2. Modify the. bashrc file in the user's home directory, and at the end add the environment variables that you want to add. You also need to execute the source when you are finished adding the BASHRC command to make the environment variable effective 5|(for one user)6|3. Modify the global environment variables in the/etc/Add the required environment variables at the end of the profile file. 7|(for all users)8|9--------------------------------------------------------------------------------------------------------

Here we use the second way, at the end of the. bashrc file in the home folder, write the folder where Wiznote is located:

1 if! Shopt-oq POSIX; Then2   if[-f/usr/share/bash-completion/bash_completion]; Then3. /usr/share/bash-completion/bash_completion4   elif[-f/etc/bash_completion]; Then5. /etc/bash_completion6   fi7 fi8#----------------------Changed-------------------9Export path="/home/username/soft-install/wiznote/": $PATHTen#------------------------------------------------

In this way, we can open the notes in your home directory and start your note-taking journey! Collection points drip!!!

Install a note-taking software under Linux (for notes)

Related Article

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.