Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian Build Works (with hints for rank amateurs like me) #64

Open
ghost opened this issue Oct 20, 2020 · 10 comments
Open

Debian Build Works (with hints for rank amateurs like me) #64

ghost opened this issue Oct 20, 2020 · 10 comments
Labels
deployment Related to the distribution and setup of kristall linux Related to Linux

Comments

@ghost
Copy link

ghost commented Oct 20, 2020

This probably doesn't belong here, but on the build instructions page, you asked for confirmation of whether the build instructions work on Debian. They do on the current stable (10.6).

"Notes for Ubuntu

Supported Versions: 18.04, 20.04 Unsupported Versions: 16.04

Required packages
    qt5-default
    qt5-qmake
    qtmultimedia5-dev
    libqt5svg5-dev
    libssl-dev
    make
    g++

These notes are probably also correct for Debian (someone please verify)"

Verified. Install all of the above packages.

As root:

clone the repo: "git clone https://github.com/MasterQ32/kristall.git"

Enter the directory

Enter the commands "make" and then "make install"

As user:

start the program by typing "kristall"

It does create a .desktop file, but I'm not seeing the item in my menu, so I'll have to have a look at it later.

Edit: move the Kristall.desktop file from /usr/local/share/applications to /home/yourusername/.local/share/applications and as root enter: chown yourusername Kristall.desktop

@ragnar76
Copy link

ragnar76 commented Nov 6, 2020

I can verify it. works like a charm but instead of doing it all as root, it works very well as a regular user:

sudo apt -y install qt5-default qt5-qmake qtmultimedia5-dev libqt5svg5-dev libssl-dev make g++
git clone https://github.com/MasterQ32/kristall.git
make -j16       # -j depends on your cpu, mine is a Ryzen 7 so i can run 16 jobs at a time
make install    # sudo should have cached your password

@ikskuh
Copy link
Owner

ikskuh commented Nov 8, 2020

Thanks you two! I'll incorporate that info into the building docs when i find the time :)

@ghost
Copy link

ghost commented Mar 6, 2021

Today I have installed Kristall on Raspberry Pi 400 running Raspbian 10 (buster)

Not only qt5 were missing but also libssl-dev

This is how I have installed Kristall:

git clone https://github.com/MasterQ32/kristall.git
cd kristall
sudo apt-get install qt5-default qtmultimedia5-dev libqt5svg5-dev libssl-dev
make
sudo make install

It went well. The only one thing that is not right are missing icons to change colours in Settings ➠ Style (to the right from Background Color, Standard Font etc.). I've got a screenshot.

Earlier I tried instructions from Peter, but it was a bit messy (I had to move Kristall.desktop between folders, edit it, then app icon was missing).

I hope it helps. :)

ikskuh pushed a commit that referenced this issue Mar 6, 2021
Many icon themes does not have the palette icon, which results
in an empty button in the settings.

It should fix a bug from one of the comments in #64.
(but not the issue itself).
@ikskuh
Copy link
Owner

ikskuh commented Mar 6, 2021

@przsak can you test if the icons are now visible?

@ikskuh ikskuh added deployment Related to the distribution and setup of kristall linux Related to Linux labels Mar 6, 2021
@ghost
Copy link

ghost commented Mar 6, 2021

No, it didn't help unfortunately.
Now icons with "a" to change fonts are missing too.
screenshot

@krkk
Copy link
Contributor

krkk commented Mar 6, 2021

Uh that's not good. What icon theme are you using?

@ghost
Copy link

ghost commented Mar 7, 2021

I use default PiXflat, but changing to other themes doesn't make difference.

@krkk
Copy link
Contributor

krkk commented Apr 1, 2021

I've looked at the source code of PiXflat a bit and it looks like it has about 60 unique action icons and none of them fits well for those buttons, so I don't think we can do much about it.

On the other hand, #215 adds alt texts for the buttons, so you should know what button does what. You can also change the UI Theme in Kristall to Dark or White to use the built-in icons.

@mYnDstrEAm
Copy link

mYnDstrEAm commented Oct 6, 2021

On Debian11/KDE I had to
sudo apt -y install qtmultimedia5-dev qttools5-dev-tools ("'qt5-default' has no installation candidate" and all the other packages were already installed)
and allow port 1965 in the nftables firewall (if enabled):

(in chain INPUT:) tcp sport 1965 counter packets 0 bytes 0 accept
(in chain OUTPUT:) tcp dport 1965 counter packets 0 bytes 0 accept

Icons are shown under Settings->Style (the color-picker on the right of Background Color etc), the application icon is there too (except for the Settings window in KDE's bottom traybar).

However there is no icon for application in the .desktop application (e.g. when searching for it or when added to the Favorites panel) even though the .desktop file under /usr/local/share/applications has the icon set. This could be an unrelated problem - something similar (same thing except that the .desktop file also doesn't have an icon) happened with the Nuclear music player (nukeop/nuclear#374) Running kbuildsycoca5 didn't solve this. However the console output of that has:

kf.service.sycoca: Service type not found: "text/x-kristall-theme"
kf.service.sycoca: Service type not found: "text/gemini"

@casperl
Copy link

casperl commented Sep 17, 2022

Edit: I am going to elevate this to a formal issue: Icons not visible to the left of the URL bar.

@przsak can you test if the icons are now visible?

On Ubuntu 20.04 using QT + i3 Window Manager, I cloned the current kristall repo from github today and issued a make command as a regular user which created a kristall binary. The missing or not displayed icon issue remains the same with all the icons to the left of the URL bar not being displayed while those on the right side of the URL are displayed. I feel the position of the icons might be relevant to the issue.

This same issue persists in an appimage nightly build I found somewhere on the Internet.

Could it also be related to a missing icon or system font on the system?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Related to the distribution and setup of kristall linux Related to Linux
Projects
None yet
Development

No branches or pull requests

5 participants