You are not logged in.
I've decided to get into designing text adventures and started playing with Inform7 recently.
I've got it installed on my machine, and it runs, yay! (Though weirdly at 25% cpu, not sure why.)
I'm using a dark theme, as all good BunsenLabs pros would! But the dark theme is inherited by the text adventure interpreter in the Inform7 IDE!
This means that my text entry into the part of the IDE where I test the game is dark blue letters on dark grey background.
I can change the color theme settings for the IDE and change it back when I'm done, but there's got to be a better way than that!
I did find this, I know we're not KDE, but I wonder if any of the same ideas might apply? https://www.reddit.com/r/kde/comments/l … re_system/
and
https://www.reddit.com/r/kde/comments/l … a/gmni00o/
I've tried what it suggests here (making a config folder for the theme I want, applying those themes, copying the relevant folders,) and trying to execute the command for the program passing on those theme options, but haven't got any joy so far.
Is there a better or different way to get this done on BunsenLabs?
Last edited by JasonMehmel (2024-01-10 17:42:54)
Fortune favours the bold.
ThinkPad T15 Gen 2i
Offline
Assuming this ide is gtk3, then you can try (from terminal)
GTK_THEME=adwaita inform7
Where 'adwaita' is the name of the theme you want to use.
Looking at this thread: https://askubuntu.com/questions/78088/c … applicatio
Offline
@JasonM, are you using the latest version 10.1.2?
https://github.com/ganelson/inform/releases
I was able to install the amd64.deb via dpkg on my Ubuntu 23.10 rig (I don't have a Debian setup at the moment). dpkg installed it with errors, 'sudo apt -f install' brought in missing dependencies.
My current Yaru-dark theme was adopted just fine, and I'm not seeing any CPU spike (but I'm just opening the program, not running anything).
Here are the dependencies it needed...
libgoocanvas-2.0-9 2.0.4-1build1 333 KB
libgoocanvas-2.0-common 2.0.4-1build1 1.8 MB
libjavascriptcoregtk-4.0-18 2.42.3-0ubuntu0.23.10.1 29.1 MB
libwebkit2gtk-4.0-37 2.42.3-0ubuntu0.23.10.1 73.9 MB
Available in bullseye and up...
https://packages.debian.org/bullseye/li … gtk-4.0-37
https://packages.debian.org/buster/libj … gtk-4.0-18
https://packages.debian.org/bullseye/li … 2.0-common
https://packages.debian.org/bullseye/libgoocanvas-2.0-9
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
@hhh, I did install it from the .deb file in that release!
Regarding the CPU usage, I did see that there's a lot of webkit instances being run, and asking on the intfiction.org forums someone mentioned that it might have to do with the documentation being rendered in HTML inside the IDE.
(Which I still don't totally understand, unless it's constantly reloading them, because they're static pages without a lot of fancy design. It probably wouldn't generate so many cycles if I was browsing local HTML files!)
EDIT: FACEPALM I should have considered this: The CPU was higher because I was also compiling and running/playing the text adventure inside the IDE.
Which I was doing because I was testing the inherited theme from the system, as soon as I started the IDE.
When I stop the embedded interpreter, the CPU usage drops to what I would otherwise expect... and I SHOULD have expected that it would run a little hotter while essentially emulating an interpreter inside an IDE!
Last edited by JasonMehmel (2024-01-10 17:40:16)
Fortune favours the bold.
ThinkPad T15 Gen 2i
Offline
Assuming this ide is gtk3, then you can try (from terminal)
GTK_THEME=adwaita inform7
Where 'adwaita' is the name of the theme you want to use.
Looking at this thread: https://askubuntu.com/questions/78088/c … applicatio
This worked perfectly! (The command was inform7-ide, but it worked! And I'm guessing it would work for other programs where you'd want the same effect!)
I built a single line shell script to run the command with that addition, now I just need to figure out how to get it to run from anywhere in the terminal!
Fortune favours the bold.
ThinkPad T15 Gen 2i
Offline
^ Usually you just copy script somewhere on the $PATH (see 'echo $PATH'), where your user enabled path should be in $HOME/bin (expands to /home/username/bin).
p.s. to test if true, something like
echo "${PATH//:/\n}" | grep "$HOME/bin"
Offline
Thank you for this as well!
Fortune favours the bold.
ThinkPad T15 Gen 2i
Offline