Kali Linux Install NextCloud Client: Difference between revisions
From WikiMLT
Line 39: | Line 39: | ||
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"> | ||
chmod +x ~/Desktop/NextCloud.desktop | |||
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/NextCloud.desktop | desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/NextCloud.desktop | ||
dbus-launch gio set ~/Desktop/NextCloud.desktop "metadata::trusted" true | dbus-launch gio set ~/Desktop/NextCloud.desktop "metadata::trusted" true | ||
</syntaxhighlight> | </syntaxhighlight><syntaxhighlight lang="shell" line="1" class="force-prompt"> | ||
cp ~/Desktop/NextCloud.desktop ~/.local/share/applications | |||
<noinclude> | update-desktop-database ~/.local/share/applications/ | ||
</syntaxhighlight><noinclude> | |||
<div id='devStage'> | <div id='devStage'> | ||
{{devStage | {{devStage |
Revision as of 21:49, 26 August 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
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
Desktop Shortcuts
If you want to put a Telegram icon at the desktop execute the following command. Note Telegram must be started at least one time before running the find/copy command below.
nano ~/Desktop/NextCloud.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=NextCloud Client
Exec="/home/pa4080/.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/