# ln -s /mnt/home/Pinta-x86-64.AppImage /bin/pintaこれで ターミナルから pinta とうてば Pintaが起動する。
[Desktop Entry] Version=2.1 Name=Pinta image editor GenericName=Pinta image editor Comment=画像ファイルの編集 Type=Application Exec=pinta Icon=pinta.png Categories=RasterGraphics Keywords=graphics;editor MimeType=image/bmp;image/jpeg;image/jpg;image/png;image/tiff;image/ora;image/tga;などと修正して保存する。
pinta.png を 48x36ピクセル程度で保存する。
XnViewで注意しないといけないのは、右画像のように 「アスペクト比を維持」にチェックを入れないと、縦・横の設定値(初期は縦横 10Cm)で印刷されてしまう。

遅延起動は タスクバーのアイコンを右クリックして「ランチャー」を起動して実行する。


#!/bin/sh mkdir -p /mnt/sda1 # Mega_local のマウントポイントがなければ作成 mount /dev/sda1 /mnt/sda1 # HDD(Windows の D:トライブ) を Mega_local 同期のためにマウントする if [ ! -e /mnt/Mega_local ]; then # シンボリックリンクがなければ作成する ln -s /mnt/sda1/Mega_local /mnt/Mega_local fi
# rclone config
2024/05/27 17:41:49 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> G-drive
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / 1Fichier
\ "fichier"
2 / Alias for an existing remote
\ "alias"
|
|
11 / FTP Connection
\ "ftp"
12 / Google Cloud Storage (this is not Google Drive)
\ "google cloud storage"
13 / Google Drive
\ "drive"
14 / Google Photos
\ "google photos"
|
|
32 / premiumize.me
\ "premiumizeme"
Storage> 13 # Google Drive を選択
See help for drive backend at: https://rclone.org/drive/
Google Application Client Id
Setting your own is recommended.
See https://rclone.org/drive/#making-your-own-client-id for how to create your own.
If you leave this blank, it will use an internal key which is low performance.
Enter a string value. Press Enter for the default ("").
client_id> # そのまま Enter
Google Application Client Secret
Setting your own is recommended.
Enter a string value. Press Enter for the default ("").
client_secret> # そのまま Enter
Scope that rclone should use when requesting access from drive.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
1 / Full access all files, excluding Application Data Folder.
\ "drive"
2 / Read-only access to file metadata and file contents.
\ "drive.readonly"
/ Access to files created by rclone only.
3 | These are visible in the drive website.
| File authorization is revoked when the user deauthorizes the app.
\ "drive.file"
/ Allows read and write access to the Application Data folder.
4 | This is not visible in the drive website.
\ "drive.appfolder"
/ Allows read-only access to file metadata but
5 | does not allow any access to read or download file content.
\ "drive.metadata.readonly"
scope> 1 # Full access all files を選択
ID of the root folder
Leave blank normally.
Fill in to access "Computers" folders (see docs), or for rclone to use
a non root folder as its starting point.
Note that if this is blank, the first time rclone runs it will fill it
in with the ID of the root folder.
Enter a string value. Press Enter for the default ("").
root_folder_id>
ルートフォルダIDの特定は非常に簡単です。
ドライブ.google.comに移動します。そこにフォルダをドラッグアンドドロップします。
フォルダに入り、次のようなURLを確認します。
__https://drive.google.com/drive/folders/xxxxxxxxxyyyyyyyyyyzzzzzzz%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8B__
数字とアルファベットの組み合わせはルート フォルダーの最後にあります。
Service Account Credentials JSON file path
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Enter a string value. Press Enter for the default ("").
service_account_file>
Edit advanced config? (y/n)
y) Yes
n) No
y/n> n
Remote config
Use auto config?
* Say Y if not sure
* Say N if you are working on a remote or headless machine
y) Yes
n) No
y/n> y
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=FxbwSOFSg8H71HQVFTr6Ag
Log in and authorize rclone for access
Waiting for code... # ブラウザで上記 http://127.0.0.1:53682/auth?state=Fxb%E3%83%BB%E3%83%BB%E3%83%BB%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%97%E3%81%A6rClone のアクセスを Googleに許可すると次に進む
Got code
Configure this as a team drive?
y) Yes
n) No
y/n> y
Fetching team drive list...
No team drives found in your account--------------------
[G-drive]
scope = drive
token = {"access_token":"ya29.a0AXooCguPcDQpiz3C8Yj5w9h7Ni8C8gN-pFzKTWVGTlMRG3-uAqb_xvXkD4BH_2uowP4CLbFKs8sXdZ2BeM2RJpnk-n6lvxSIw6QuCs98OWRPfGVxJ6aXNFtQEncj0sSAXd8CeTszpTRh0UX2Ia0Fij6DDreaRG3-sqyIaCgYKAfMSARASFQHGX2MiZvwn87gTppvcEd8uwdhhWg0171","token_type":"Bearer","refresh_token":"1//0eKXfFZS4Cn32CgYIARAAGA4SNwF-L9IrTR1D9pPryt95-R8eDhbzNk9-owBiEKJyK-lKx9yjCPsdcnvFR-7XjfJ0KeL0fqKfC0w","expiry":"2024-05-27T19:27:55.6713377+09:00"}
team_drive =
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
### =
G-drive drive
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>> q
##### 以上で rclone の同期設定は完了
Access Counter: