Chromebookã§Dropboxããã¦ã³ãããæ¹æ³ã®è¦æ¸ã§ã
Linuxç°å¢(Crostini)ã§TyporaãZettlrãªã©ã®Linuxã¡ã¢ã¢ããªã使ãéãã¯ã©ã¦ãã«ãããã¡ã¤ã«ãã¢ã¯ã»ã¹ããããã«å¿ é ã§ã
- ã»ã¼ãã®ã¾ã¾ãã¨è¨ã£ã¦ãããããåèã«ããã¦ããã ãã¾ããâãThank you so much!!
- [chromebook] Linux環境(Crostini)にDropboxをマウントする | rucola
- 【私用】ubuntu24.04でpipしてもライブラリインストールできずPEP668になる件 #Python - Qiita
pythonããã±ã¼ã¸ç®¡çã·ã¹ãã pipãã¾ãã¤ã³ã¹ãã¼ã«
```
$ sudo apt install fuse libfuse2 python3-pip
```
dbxfsãã¤ã³ã¹ãã¼ã«
```
$ pip3 install dbxfs
error: externally-managed-environment
à This environment is externally managed
â°â> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
.....
```
管ç人ã®ç°å¢ã§ã¯ä¸è¨ã¨ã©ã¼ãçºçãããä»®æ³ç°å¢ãå¿
è¦ãããã§ã
ä»®æ³ç°å¢ãæºåãã
ãã¼ã ãã£ã¬ã¯ããªã§å®è¡
```
$sudo apt install python3-venv
$python3 -m venv .python3_venv
$source .python3_venv/bin/activate
```
ã³ã³ã½ã¼ã«ã¯ä¸è¨ã¨è¡¨ç¤º
(.python3_venv) (user)@penguin:~$
ããã§dbxfsã¤ã³ã¹ãã¼ã«
```
(.python3_venv) (user)@penguin:~$ pip3 install dbxfs
Collecting dbxfs
Using cached dbxfs-2.0.1-py3-none-any.whl (64 kB)
.....
```
ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã
dbxfsãèµ·åãã
- dbxfsã¯~/. python3_venv/binã«ã¤ã³ã¹ãã¼ã«ããã
- ãã¦ã³ããã¤ã³ãï¼ãã®ä¾ã§ã¯~/Dropboxï¼ãä½ã£ã¦ããã¦ããdbxfsãèµ·åãã
```
$ mkdir ~/Dropbox
$ ~/.python3_venv/bin/dbxfs ~/Dropbox
We need a refresh token. Perform the following steps:
1. Go to ï¼..........ï¼âURL
2. Click "Allow" (you may have to log in first)
3. Copy the authorization code.
Enter authorization code (Ctrl-C to quit):
```
- ä¸è¨ï¼ã®URLã«ã¢ã¯ã»ã¹ãã¦èªåã®Dropboxã¢ã«ã¦ã³ãã«ãã°ã¤ã³
- 表示ãããAPIã³ã¼ããã³ãã¼
- ä¸ã®ããã«ã³ãã¼ããã³ã¼ããè²¼ãä»ã
```
Enter authorization code (Ctrl-C to quit):ï¼ã³ã¼ãå
¥åï¼
We're now connected to your Dropbox account. Do you want to save the credentials we just obtained for the next time you run dbxfs? [Y/n] Yã<-Dropboxã¢ã«ã¦ã³ããä¿åããããã°è³ªåã«ãYã
Before we can save your credentials, we need a passphrase to encrypt them.
This passphrase can be anything, it doesn't have to be your Dropbox password. Please make sure it's sufficiently random and not easily guessable.
Warning: Your passphrase must contain enough randomness to be resistent to hacking. You can read this for more info: https://blogs.dropbox.com/tech/2012/04/zxcvbn-realistic-password-strength-estimation/ãã<-強度ã®ãããã¹ã¯ã¼ããå
¥åãããã¨
Enter new passphrase (Ctrl-C to quit):(ãã¹ã¯ã¼ããå
¥å)ã<-Dropboxãã°ã¤ã³ãã¹ã¯ã¼ãã§ã¯ãªã
Enter new passphrase (again) (Ctrl-C to quit): (ãã¹ã¯ã¼ããå度å
¥å)
Would you like to help us improve dbxfs by providing anonymous error reports? [Y/n] Yã<-ãYã
Do you want "/home/(user)/Dropbox" to be the default mount point? [Y/n] Y <-ãã¦ã³ããã¤ã³ããèãã¦ããã®ã§ãã®ã¾ã¾ãªããYã
(.python3_venv) (user)@penguin:~$ ã<-çµäº
```