Crystal dock

Hi, do you know this dock for plasma 6?

In aur is available a git version but is very old.

Have you any idea in how compile in endeavouros?

Rgs

First few lines say yes it is for plasma 6
Probably can build in arch but not even attempting right now way too wavy
you could try something like debtap (though I would avoid, not sure why, brain says no)

It is in AUR as crystal-dock-git. Why not just try it?

Just keep in mind it only works on Wayland.

2 Likes

this is what I mean by wavy, I normally check AUR

Yes Dalto, I’ve installed and then removed because that version is very old, alpha release with too much bugs.
The last version should be good and should work very well.

That git package always builds the latest source. It will never be “old”.

Don’t pay attention to the “version” on *-git packages.

2 Likes

Just installed it via with yay -S crystal-dock-git
It compiled from the git main branch without a problem.

==> Finished making: crystal-dock-git r314.gc2643f0-1 (Tue 22 Oct 2024 13:28:59 CEST)

It started directly the initial configuration, when started via the applications launcher. It reports as version 2.7 alpha via the about entry in it’s context menu,

And It doesn’t work in combination with a regular Plasma6 panel. Breaks some stuff, at least for me. The configuration options are limited as it seems like.

Thus, at least for me, yay -Rns crystal-dock-git

2 Likes

You can use this PKGBUILD for a stable build of 2.6. Most likely better than the unstable git version in this case.

# Maintainer: currently no one, made by emk2203

pkgname=crystal-dock
pkgver=2.6
pkgrel=1
arch=(x86_64)
pkgdesc='A cool desktop panel for Linux desktop'
arch=('x86_64')
url='https://github.com/dangvd/crystal-dock'
license=('GPL3')
provides=(crystal-dock)
conflicts=(crystal-dock-git)
depends=(qt6-base wayland layer-shell-qt kwin)
makedepends=(cmake git extra-cmake-modules qt6-base wayland layer-shell-qt)
source=("https://github.com/dangvd/crystal-dock/archive/refs/tags/v2.6.zip")
sha256sums=('f5334a0701e2aee7995b706b314e95f03a3837d1b55441340dc774aa833b88fe')

build() {
  cd "${pkgname}-${pkgver}"
  mkdir -p build
  cd build
  cmake  \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    ../src
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  DESTDIR="${pkgdir}" cmake --install build
}

# vim:set ts=8 sts=2 sw=2 et:

This was hacked together by me in 5 minutes, no guarantees. It builds on my system.

3 Likes

Pls explaine me better, it’s almost new for me.
I must download crystal-dock-git from aur, and chage his PKGBUILD with your new file?
How I may install then?

Sorry but it’s my first time

It’s simple.

  1. Save text as PKGBUILD somewhere on your PC, let’s say in ~/Public.
  2. cd ~/Public
  3. makepkg -si
  4. Done.

That’s it. Not too difficult.

2 Likes

Thank you, I’ll try late when I’ll be back home.

Thank you very much, all works good and dock is perfect.

Version 2.6 works very good instead git version is unstable and buggy on my laptops.

Thank you again

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.