Skip to content

Can't enable dark mode? Check second comment. #354

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

Closed
cobalt2727 opened this issue Jan 15, 2022 · 4 comments
Closed

Can't enable dark mode? Check second comment. #354

cobalt2727 opened this issue Jan 15, 2022 · 4 comments

Comments

@cobalt2727
Copy link

cobalt2727 commented Jan 15, 2022

There is a small tool made by exalm that they use for testing the mode change, you could compile that and use it. Pop!_OS won't upgrade to GNOME 42 because of off-topic drama.

Originally posted by @lainsce in #244 (comment)

What can we use for this? I couldn't find anything that jumped out to me after a quick look at exalm's GitHub.

@oscfdezdz
Copy link
Contributor

Check this out.

@lainsce lainsce pinned this issue Jan 16, 2022
@lainsce lainsce closed this as completed Jan 16, 2022
@lainsce lainsce changed the title can't enable dark mode Can't enable dark mode? Check second comment. Jan 16, 2022
@cobalt2727
Copy link
Author

I ran the commands in the README as stated and Notejot is still in light mode - do I have to build the GUI too?

meson build --prefix=/usr -Dgui=false
cd build
ninja
sudo ninja install
systemctl --user restart xdg-desktop-portal

I should note that when building with -Dgui=true I got the following results:

cobalt@cobalt-inspiron:~/color-scheme-simulator$ meson --reconfigure build --prefix=/usr -Dgui=true
The Meson build system
Version: 0.60.1
Source dir: /home/cobalt/color-scheme-simulator
Build dir: /home/cobalt/color-scheme-simulator/build
Build type: native build
Project name: impatience
Project version: 0.1.0
C compiler for the host machine: cc (gcc 11.2.0 "cc (Ubuntu 11.2.0-7ubuntu2) 11.2.0")
C linker for the host machine: cc ld.bfd 2.37
Vala compiler for the host machine: valac (valac 0.52.6)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Dependency systemd found: YES 248 (cached)
Configuring xdg-desktop-portal-impatience.service using configuration
Configuring org.freedesktop.impl.portal.desktop.Impatience.service using configuration
Dependency gio-2.0 found: YES 2.68.4 (cached)
Program build-aux/meson/postinstall.py found: YES (/home/cobalt/color-scheme-simulator/portal/build-aux/meson/postinstall.py)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Dependency gio-2.0 found: YES 2.68.4 (cached)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.18.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency gtk4 found: NO (tried pkgconfig and cmake)

gui/src/meson.build:7:0: ERROR: Dependency "gtk4" not found, tried pkgconfig and cmake

A full log can be found at /home/cobalt/color-scheme-simulator/build/meson-logs/meson-log.txt

Would running sudo apt install libgtk-4* be what I'm looking for?

@lainsce
Copy link
Owner

lainsce commented Jan 21, 2022

Yes to both questions. Although, I don't know how the gtk4 developer pkg is named in Ubuntu/Pop, so search it up before installing unnecessary stuff. :)

@cobalt2727
Copy link
Author

I got GTK4 installed but it seems like I'm at a dead end with Ubuntu until 22.04 rolls around or something.

Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gtk4 found: YES 4.4.0
Found CMake: /usr/bin/cmake (3.18.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency libadwaita-1 found: NO (tried pkgconfig and cmake)

gui/src/meson.build:7:0: ERROR: Dependency "libadwaita-1" not found, tried pkgconfig and cmake

The only libadwaita packages in the repo are libadwaitaqt1, libadwaitaqt-dev, and libadwaitaqtpriv1, none of which resolved the error. I should look into switching to Fedora or Arch or something...

I'll just stick with Gnome's ToDo app for the time being since that's still on GTK3 - thanks for the help though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants