7,540
edits
Changes
→Fedora 38: PWA
=Microsoft MS teams=
==Fedora 38: PWA==
Az új Teams már PWA (progressive web app) -on is elérhető. Ez egy sépci böngészőben futó app-ot jelent, amit a Chrome linux-on támogat. A Microsoft azt ajánlja hogy ezt használjuk ne a vastag klienst.
A Chrome böngészőben jeletnkezzünk be a teams-be: https://teams.microsoft.com. Majd a jobb felső sarokban meg fog jelenni egy kis icon: Install Microsoft eams. :[[File:ClipCapIt-230603-203809.PNG]] Azonban az installácó nem tud teljes egészében végi menni ezzel a hibaüzenettel: '''Flatpak does not have write access to ~/.local/share/applications and ~/.local/share/icons, so it cannot install or uninstall PWAs.''':[[File:ClipCapIt-230603-204045.PNG]] Megoldás: A Chorome ot csukjuk be és győzőgyünk meg róla hogy semmilyen chorme process nem fut. Majd adjuk ki ezt a parancsot a saját user-ünke. <pre>$ flatpak override --user --filesystem=~/.local/share/applications:create --filesystem=~/.local/share/icons:create com.google.Chrome</pre> Majd a chomre böngészőben nyissuk meg az app -okat, írjuk ezt a felső sávba: chrome://apps/, itt jobb click a Teams-en, és "Create shortcut":[[File:ClipCapIt-230603-204921.PNG]] Most már meg kell jelenjen a menüben is. <br><br> ==Fedora 34: Miért nem működik a képernyő megosztás: ==
<pre>
X Error of failed request: BadMatch (invalid parameter attributes)
Type=x11
</pre>
<br>
<br>
=Microsoft OneDrive=
{{note|A teljes OneDrive-ot nem tudta szinkronizálni, de egy beállított mappára működik}}
<br>
Forrás: https://www.linuxuprising.com/2020/02/how-to-keep-onedrive-in-sync-with.html
===Telepítés===
<br>
'''rpm letöltése innen''': https://koji.fedoraproject.org/koji/packageinfo?packageID=26044
<br>
<br>
Majd válasszuk ki a megfelelő Fedora verziót, majd utána az x86_64 architektúrát. <br>
:[[File:ClipCapIt-230522-204629.PNG]]
<br><br>
Telepítsük:
<pre>
# dnf install onedrive-2.4.13-4.fc36.x86_64.rpm
</pre>
<br><br>
Majd be kell jelentkezni:
<pre>
$ onedrive
Configuring Global Azure AD Endpoints
Authorize this app visiting:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
Enter the response uri:
</pre>
Meg kell nyitni a böngészőben a command line-ban lévő URL-t majd ott jelentkezzünk be a microsoft account-ba. Ezután a böngésző egy üres oldalra navigál. Másoljuk ki ezt az URL-t és másoljuk be a command line-ba:
<pre>
....
Enter the response uri: https://login.microsoftonline.com/common/oauth2/nativeclient?code=0XXXXqiEi9B0XXXXXBhHAnOyXA-hoPyvu-ufAUkFYXXXXnO5XXXXXTEWxRfn44F1h6ibreL37mIo5plF4lZXXXXHEJBH8MODXBBe&session_state=edXXXX1f150d
Application has been successfully authorised, however no additional command switches were provided.
Please use --help for further assistance in regards to running this application.
</pre>
{{note|Itt azt nem tudom, hogy mennyi ideig él a token és hogy hogyan tudunk róla értesülni ha lejárt}}
<br><br>
===Tesztelés===
A home alatti '''OneDrive''' mappa lesz a szinkronizálás gyökere. (Ezt valahogy át lehet állítani)
<br>
{{warning|It's very important to note that you should not remove the ~/OneDrive (or whatever path you're using for the OneDrive folder) folder while having the OneDrive Free Client fork systemd service running, as it will remove all your files from OneDrive (you will still have access to them on the OneDrive website, in the Recycle Bin).}}
<br>
Próbáljuk ki, hogy tudna e syncronizálni (nem fog semmit csinálni, dry run)
<pre>
$ onedrive --synchronize --verbose --dry-run
Using 'user' Config Dir: /home/adam/.config/onedrive
Using 'system' Config Dir: /etc/onedrive
....
Downloading file Microsoft Teams Chat Files/Screenshot from 2020-03-17 15-22-08.png ... done.
Downloading file Microsoft Teams Chat Files/memory-usage-dev.ods
...
</pre>
Ha itt kiírja a fájlok nevét ami a oneDrive-ban van, akkor jó lesz.
<br><br>
===Kiválasztott mappa szinkronizálása===
A teljes OneDrive account-ot nem tudja szinkronizálni, de egy mappára működik. A ~/OneDrive mappa alatt hozzunk létre egy új mappát, aminek a tartalmát szinkronizálni akarjuk.
<pre>
$ mkdir ~/OneDrive/myDir
</pre>
Hozzunk létre itt egy ilyen fájlt, amibe fel lehet sorolni a szinkronizálandó mappákat:
<pre>
echo "myDir" >> ~/.config/onedrive/sync_list
</pre>
<br>
===Indítás===
<pre>
$ systemctl --user start onedrive
</pre>
<br>
Tegyünk online is fájlokat a myDir mappába és lokálisan is. Ekkor áthatjuk a logokban hogy szinkronizálja őket:
<pre>
$ journalctl --user-unit onedrive -f
....
May 22 23:24:52 localhost.localdomain onedrive[109403]: Uploading new file Project/felhő-gyülés.txt ...
May 22 23:24:54 localhost.localdomain onedrive[109403]: [470B blob data]
May 22 23:24:54 localhost.localdomain onedrive[109403]: done.
May 22 23:26:21 localhost.localdomain onedrive[109403]: Uploading new file Project/workspace.code-workspace ...
May 22 23:26:23 localhost.localdomain onedrive[109403]: [470B blob data]
May 22 23:26:23 localhost.localdomain onedrive[109403]: done.
May 22 23:28:23 localhost.localdomain onedrive[109403]: Downloading file Project/Customer.odg ... done.
May 22 23:28:26 localhost.localdomain onedrive[109403]: Downloading file Project/Screenshot from 2020-08-10 23-04-12.png ... done.
</pre>
<br>
===Auto start up===
<pre>
$ systemctl --user enable onedrive
Created symlink /home/adam/.config/systemd/user/default.target.wants/onedrive.service → /usr/lib/systemd/user/onedrive.service.
</pre>
<br>
<br>