Problem getting Nextcloud Theme in Desktop Client to work under LinuxMint 18

Hi everybody,

as far as I suggested to switch from ownCloud to Nextcloud i also wanted to change the Desktop Clients.

Under linux (LinuxMint 18) -> ubuntu 16.04. i followed this instruction:

All went ok so far, but under /usr/local/bin only a “owncloud” binary and no nextcloud binary has been build.
As follows i only can start alt F2 -> owncloud instead of nextcloud and only the owncloud Theme is used.

Unter …/client_theming/nextcloudtheme/… the whole Icons are present but not in use.

So how can I start “nextcloud” by using the nextcloudtheme under linux?

The desktop client for now is owncloud 2.2.4

Thanks for Help!

Hi @chrissi55 ,

I’ve been luckier and have a working client on my Linux Mint 18. Did you make all the steps from the link? The last ones are important. I was building deb file in docker, so my setup was little changed, but can be done also on one host.

I don’t understand all the steps, but it works:

apt update
apt install git cmake checkinstall software-properties-common 
add-apt-repository ppa:fihufil/test-02
apt update
apt install qtkeychain-dev qt5keychain-dev
sh -c "echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
apt-get build-dep owncloud-client
git clone https://github.com/nextcloud/client_theming.git
cd client_theming/ 
git submodule update --init --recursive
mkdir build-linux
cd build-linux/ 
cmake -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client
make
checkinstall

Command checkinstall ask you about some deb information, but for personal usage, it is not so important.

Now, you can install the package like other ones from deb file.

After instalation, you will probably have some problems - some extra steps has to be done:

1. Add line /usr/local/lib/x86_64-linux-gnu to file /etc/ld.so.conf.d/x86_64-linux-gnu.conf. Mine looks as follows:

# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
/usr/local/lib/x86_64-linux-gnu

You can use for example nano to edit a file:

sudo nano /etc/ld.so.conf.d/x86_64-linux-gnu.conf

2. Run

sudo ldconfig

3. I had also another problem. Library libocsync.so.2.2.4 took place in folder /usr/local/lib/x86_64-linux-gnu/nextcloud/ not in /usr/local/lib/x86_64-linux-gnu/. You can copy file to parent directory or make link to it.

I’m not experienced with building apps, so I will appreciate a ppa or packages for download. Nextcloud client looks nicer, but now for a basic user, it is hard to make it run.

Good luck!

Sorry, I didn’t explain it. You have to build it from the themed sources, until that, it will be another application. You can run both of them, but also you don’t need to install owncloud client to have the themed one.

Thanks for reply.

I found another instruction here:

https://www.c-rieger.de/how-to-install-nextcloud-desktop-client-for-ubuntu/

It differs in some steps (but for good reason!)

It should be very important to switch directories cd client_theming and then only “git submodule update --init” and after that

cd client (!) followed by another “git submodule update --init”

Then 2 more steps:

sed -i ‘s/Icon=nextcloud/Icon=Nextcloud/g’ src/gui/nextcloud.desktop
sed -i ‘s/Icon[(.*)]=nextcloud/Icon[\1]=Nextcloud/g’ src/gui/nextcloud.desktop

and least it differs in editing the path

/etc/environment

-> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu

With that explanation it was possible to build a working nextcloud client under linuxmint 18 / ubuntu 16.04.1

without any owncloud binary under /usr/local/bin!

Alt + F2 and “nextcloud” started propperly my nextcloud client

Very good instruction with perfect result I have to mention.

Many Thanks!!

Congratulations to making it work.

Changing a destination path looks good, I’ll try it. Thanks for mentioning it.