Baidu network disk bcloud common problem solution in Linux

  

bcloud is Baidu network disk under Linux, supports a variety of versions of Linux system, there are many mistakes when friends use bcloud, the following small series will give you Introduce the solution to the common problems of bcloud in Linux.

Software interface:


already support Linux system /version:

ArchLinux

Debian sid

Debian testing

Debian stable

Fedora 20

Fedora 21

Gentoo

OpenSUSE 13

Ubuntu 14.04< Br>

Ubuntu 13.10

Linux Mint 17

Similar projects

The Baidu network disk client used in the bypy terminal, which uses the Baidu network disk PCS interface.

If you want, you can also directly call the Baidu network disk interface provided by bcloud, use bcloud/auth.py to get the connection authorization of Baidu server, and then use bcloud/pcs.py to call the corresponding network disk interface.

Installation

Please go directly to bcloud-packages to download the corresponding installation package, such as deb, rpm, etc. .

Q&A

1. Why does bcloud not support local and remote server synchronization?

Because Baidu's network disk does not disclose its synchronization algorithm. Refer to this issue

2. Can you support other network drives?

My time and energy are very limited. Developing bcloud alone takes up more than a month of my spare time. And there is very little time outside of work, and there are many other things to deal with. So if you report a bug or feedback a problem and don't receive a response in time, please wait a little longer and I will arrange a time to deal with these issues.

3. How to set keyring? ArchLinux users are most likely to encounter this problem. Because in debian/ubuntu/mint and other systems, keyring is automatically configured after installation, and in arch, these require manual setting by the user, which is very troublesome.

There is a complete introduction to the arch wiki. Please ask the arch user to read the full article, and then select the appropriate configuration method for your desktop environment and your own needs.

There is a similar document, which is the official gnomekeyring, and there is also a corresponding introduction

4. Why is the interface of bcloud different in different distributions? Bcloud has started to call the components in gtk3.12, which is more uniform with the new gnome-shell style; but the old distributions, such as debian 7, etc., the version of gtk3 is very old, can only continue to use the old interface. . They are functionally different.

5. Is there a command line interface? Bcloud only provides a GUI interface. However, it can be easily extended based on bcloud. bcloud implements most of the interfaces of Baidu's network disk, of which bcloud/auth.py is used for authorized login, and bcloud/pcs.py is a network disk interface.

For example, in this issue, you can traverse the network disk by calling bcloud to get the file directory structure.

6. How to set up the proxy? Bcloud supports global proxy settings for the desktop, such as adding a proxy to Gnome's network settings. You can also set the proxy in the terminal, such as export http_proxy=‘http://127.0.0.1:8086’ to set http proxy, export https_proxy=‘http://127.0.0.1:8086’ to set https proxy After setting, run $ bcloud-gui in this terminal. At this time, bcloud will use the network proxy just set.

Note that part of the bcloud network connection requires https, which requires you to set the https proxy, and at the same time import the corresponding certificate, or an error will occur.

The above is the introduction to the common problem of using bcloud in Linux. I believe that you will encounter some problems in the process of using bcloud, you can use the method described in this article to solve.

Copyright © Windows knowledge All Rights Reserved