Kali Linux Install NextCloud Client: Difference between revisions
mNo edit summary |
m Text replacement - "mlw-continue" to "code-continue" |
||
(15 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Install the latest version of the NextCloud Client == | == Install the latest version of the NextCloud Client == | ||
For Linux, the | For Linux, the NextCloud desktop client is available as [https://nextcloud.com/install/#install-clients AppImage]. Here is how to deeply it via the command line.<syntaxhighlight lang="shell" line="1" class="code-continue"> | ||
cd ~/Downloads | cd ~/Downloads | ||
wget -O Nextcloud.AppImage \ | wget -O Nextcloud.AppImage \ | ||
Line 9: | Line 9: | ||
mkdir ~/.local/share/NextCloud | mkdir ~/.local/share/NextCloud | ||
mv Nextcloud.AppImage ~/.local/share/NextCloud | mv Nextcloud.AppImage ~/.local/share/NextCloud | ||
chmod +x ~/.local/share/ | chmod +x ~/.local/share/NextCloud/Nextcloud.AppImage | ||
~/.local/share/ | ~/.local/share/NextCloud/Nextcloud.AppImage | ||
</syntaxhighlight> | |||
<syntaxhighlight lang="shell" line="1" class="mlw-shell-gray"> | |||
sudo apt install nautilus-nextcloud | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== Install the NextCloud Client from Kali's repository == | == Install the NextCloud Client from Kali's repository == | ||
The NextCloud client is is also available in the Kali's repository (probably in Ubuntu's and Debian's ones). The version in the repository is little bit older but it works as it is expected with my NextCloud server.<syntaxhighlight lang="shell" line="1"> | The NextCloud client is is also available in the Kali's repository (probably in Ubuntu's and Debian's ones). The version in the repository is little bit older but it works as it is expected with my NextCloud server. | ||
<syntaxhighlight lang="shell" line="1" class="mlw-shell-gray"> | |||
sudo apt update | sudo apt update | ||
sudo apt install nextcloud-desktop | sudo apt install nextcloud-desktop | ||
Line 21: | Line 25: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Shortcuts == | == Settings and Desktop Shortcuts == | ||
When the option "Launch on System Startup" is selected within the NextCloud klient's settings, it will automatically create a .desktop fine in <code>~/.config/autostart</code>. If you want to place an icon at the desktop, follow the next steps.<syntaxhighlight lang="shell" line="1" class="force-prompt"> | |||
If you want to | nano ~/Desktop/NextCloud.desktop | ||
</syntaxhighlight><syntaxhighlight lang="bash" line="1"> | |||
[Desktop Entry] | |||
Encoding=UTF-8 | |||
Type=Application | |||
Name=NextCloud Client | |||
Exec="/home/$USER/.local/share/NextCloud/Nextcloud.AppImage" | |||
Icon=Nextcloud | |||
Categories=Network | |||
StartupNotify=false | |||
Terminal=false | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Then right click on the new icon at the desktop and choice on the <code>Allow Launching</code> option. Or run the following [https://stackoverflow.com/a/73455006/6543935 commands] which will do the same for you. <syntaxhighlight lang="shell" line="1" class="force-prompt"> | Then right click on the new icon at the desktop and choice on the <code>Allow Launching</code> option. Or run the following [https://stackoverflow.com/a/73455006/6543935 commands] which will do the same for you. <syntaxhighlight lang="shell" line="1" class="force-prompt"> | ||
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/ | chmod +x ~/Desktop/NextCloud.desktop | ||
dbus-launch gio set ~/Desktop/ | desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/NextCloud.desktop | ||
dbus-launch gio set ~/Desktop/NextCloud.desktop "metadata::trusted" true | |||
</syntaxhighlight><syntaxhighlight lang="shell" line="1" class="force-prompt"> | |||
cp ~/Desktop/NextCloud.desktop ~/.local/share/applications | |||
update-desktop-database ~/.local/share/applications/ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== References == | |||
* NextCloud at GitHub: [https://github.com/nextcloud/desktop Desktop] | |||
* PureOS Tracker: [https://tracker.pureos.net/w/pureos/tips/integrate_nextcloud_with_file_manager/ Integrate Nextcloud with File Manager] | |||
<noinclude> | <noinclude> | ||
Line 38: | Line 59: | ||
{{devStage | {{devStage | ||
| Прндл = Linux Desktop | | Прндл = Linux Desktop | ||
| Стадий = | | Стадий = 6 | ||
| Фаза = | | Фаза = Утвърждаване | ||
| Статус = | | Статус = Утвърден | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = {{REVISIONUSER}} | | РзбПт = Spas | ||
| АвтПт = Spas | |||
| УтвПт = {{REVISIONUSER}} | |||
| ИдтДт = 26.08.2022 | | ИдтДт = 26.08.2022 | ||
| РзбДт = {{Today}} | | РзбДт = 26.08.2022 | ||
| АвтДт = 26.08.2022 | |||
| УтвДт = {{Today}} | |||
| ИдтРв = [[Special:Permalink/30622|30622]] | | ИдтРв = [[Special:Permalink/30622|30622]] | ||
| РзбРв = {{REVISIONID}} | | РзбРв = [[Special:Permalink/30636|30636]] | ||
| АвтРв = [[Special:Permalink/30637|30637]] | |||
| УтвРв = {{REVISIONID}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:30, 26 September 2022
Install the latest version of the NextCloud Client
For Linux, the NextCloud desktop client is available as AppImage. Here is how to deeply it via the command line.
cd ~/Downloads
wget -O Nextcloud.AppImage \
$(curl https://nextcloud.com/install/ | grep -Po 'https://github.com/nextcloud/desktop/releases/download/v[\d.]{5,9}/Nextcloud-[\d.]{5,9}-x86_64.AppImage')
mkdir ~/.local/share/NextCloud
mv Nextcloud.AppImage ~/.local/share/NextCloud
chmod +x ~/.local/share/NextCloud/Nextcloud.AppImage
~/.local/share/NextCloud/Nextcloud.AppImage
sudo apt install nautilus-nextcloud
Install the NextCloud Client from Kali's repository
The NextCloud client is is also available in the Kali's repository (probably in Ubuntu's and Debian's ones). The version in the repository is little bit older but it works as it is expected with my NextCloud server.
sudo apt update
sudo apt install nextcloud-desktop
sudo apt install nautilus-nextcloud
Settings and Desktop Shortcuts
When the option "Launch on System Startup" is selected within the NextCloud klient's settings, it will automatically create a .desktop fine in ~/.config/autostart
. If you want to place an icon at the desktop, follow the next steps.
nano ~/Desktop/NextCloud.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=NextCloud Client
Exec="/home/$USER/.local/share/NextCloud/Nextcloud.AppImage"
Icon=Nextcloud
Categories=Network
StartupNotify=false
Terminal=false
Then right click on the new icon at the desktop and choice on the Allow Launching
option. Or run the following commands which will do the same for you.
chmod +x ~/Desktop/NextCloud.desktop
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/NextCloud.desktop
dbus-launch gio set ~/Desktop/NextCloud.desktop "metadata::trusted" true
cp ~/Desktop/NextCloud.desktop ~/.local/share/applications
update-desktop-database ~/.local/share/applications/
References
- NextCloud at GitHub: Desktop
- PureOS Tracker: Integrate Nextcloud with File Manager