Fliggy text transfer is a very common software in the LAN. As long as it is a text exchange and file transfer (supporting folders), it does not require server support, cross-platform (Win/MAC/Unix/Java) and free open source. In Windows, it has only one executable file and a Chinese version, which is easy to use. However, it is not so convenient to use it in Linux. You need to compile it by yourself, and there are many errors during compilation. However, today I finally barely compiled it and it seems that it can be used normally.
1. Download the source code package and decompress it. Then Po/potfiles. In Rename Potfiles. In (Uppercase letters ). This is because the file cannot be found during compilation.
2. Edit Src/codeset. c , Set the number of rows to 24th # Define ipmsg_proto_code "cp932" Change # Define ipmsg_proto_code "GBK" To enable the pigeons to support Chinese characters.
3. Edit Src/hostinfo. c , 1,344th and 1345 rows If (cipher_state & rsa_caps) = 0) | (cipher_state & sym_caps) = 0 )){ Replace If (cipher_state = 0 ){ . Because I prompt when making Rsa_caps And Sym_caps The two variables are not declared, and I don't understand what these two variables represent, so I can just remove them. Fortunately, the compilation is passed after the removal, and it seems that everything works now.
4. Terminal entry G2ipmsg-0.9.3 Directory, run
./Configure -- prefix =/usr -- sysconfdir =/etc -- enable-Disable Ray // The last parameter is to make the fliggy text message appear in the notification area
5. After configure is completed, continue to execute Make .
6. After make is complete, run Sudo make install .
In the last three steps, you may be prompted that the dependency package is missing. You can use Goole to search for the package name and find out which packages need to be installed to satisfy the dependency. In the compilation process, I see a lot, as shown below:
Libgnomeui-DevUsed to solve no package 'libgnomeui-2.0 'Found
Libpanelappletmm-2.6-devUsed to solve no package 'libpanelapplet-2.0 'Found
Libgtk2.0-DevUsed to solve no package 'gtk +-2.0 'Found
The following package is standby (no prompt during compilation, But I have installed it myself during the compilation process). If a similar package is missing, you can install it first and then re-compile it:
Build-essentialCompiling environment
Gettext
Intltool
After the make install operation is complete, the Flying Pigeon can use the command g2ipmsg. After compilation, the system prompts a segment error. Only sudo g2ipmsg can run properly. However, after the restart, run g2ipmsg to start the instance properly.
Interface Group diagram. Although it is an English version, it is easy to get started if you have used a Chinese version in Windows or have a little knowledge in English. Although the Windows version has fewer settings than the Windows version, the main functions are fully available and do not affect the use. Enjoy!
Main Interface
List display settings
Global settings (preferences)
Receive message
Receive files
==========================================
It is said that installing libssl-Dev in Ubuntu can solve the problem of making errors! Have a try ;)