diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.3k stars 41 forks source link

Can't Change Theme #327

Closed eeriemyxi closed 17 hours ago

eeriemyxi commented 1 day ago

I looked around for a support forum or something like that but I couldn't find anything. So I thought I would make a new issue.

I installed the Flatpak version and immediately got flashed by the light theme; then I went to settings and the only relevant setting I could find there was "Use Discord's color preference." I tried toggling it on and off but it doesn't do anything. And yes my Discord account's theme is indeed set to dark mode.

Is there a solution to this? I can't bear this light theme at all.

I tried installing Flatseal then allowing access to /home/myxi/.themes and /home/myxi/.icons but it didn't do anything. I also sensibly copy-pasted some commands from here but that didn't do anything too.

Then I tried running the native build for amd64, but when I run ./bin/dissent, I get this: ./bin/dissent: error while loading shared libraries: libspelling-1.so.1: cannot open shared object file: No such file or directory. My distribution is Ubuntu 22.04. I went as far as downloading the .deb file for that library from Debian repositories but I couldn't install it because it would break other packages. What do I do? TBH I couldn't care less about spell-checking; if there is a way to just straight up ignore this thing, I am more than willing to do so.

myxi :: ~/Documents/trash » apt search ^libgspell                           127 ↵
Sorting... Done
Full Text Search... Done
libgspell-1-2/jammy,now 1.9.1-4 amd64 [installed,automatic]
  spell-checking library for GTK+ applications

libgspell-1-common/jammy,jammy,now 1.9.1-4 all [installed,automatic]
  libgspell architecture-independent files

libgspell-1-dev/jammy,now 1.9.1-4 amd64 [installed]
  spell-checking library for GTK+ applications - development files

libgspell-1-doc/jammy,jammy 1.9.1-4 all
  spell-checking library for GTK+ applications - documentation

myxi :: ~/Documents/trash » apt search ^libspell
Sorting... Done
Full Text Search... Done
myxi :: ~/Documents/trash » apt search ^libspelling
Sorting... Done
Full Text Search... Done
myxi :: ~/Documents/trash » apt search ^libgspelling
Sorting... Done
Full Text Search... Done
eeriemyxi commented 1 day ago

I managed to get it to work. The "fix" is to install Distrobox and set up an Arch Linux container. You install the dissent-bin AUR, then install everything it errors at, then eventually follow this. This is better than the Flatpak but it's cumbersome at best due to the amount of disk space and work you need to do (unless you are using Distrobox already).

[!WARNING] Running Distrobox requires quite a bit of RAM. On my system just running Dissent through a container requires 1.1GB RAM. This is not a problem for me personally since I've got a lot of RAM to spare.

image

diamondburned commented 17 hours ago

I installed the Flatpak version

It's hard to get Flatpak to see your native theme. I think you'll have to poke around with this more. Dissent, with the "Use Discord's color preference" option disabled, should adhere to your system's dark theme preference.