foldex / adwsteamgtk Goto Github PK
View Code? Open in Web Editor NEWA simple Gtk wrapper for Adwaita-for-Steam
License: GNU General Public License v3.0
A simple Gtk wrapper for Adwaita-for-Steam
License: GNU General Public License v3.0
I think it would be neat to have an update button instead of an install button if there is a version of the skin already installed.
@Vovkiv @cmkohnen @AnaxMorden @RobOT05442309
Opening this just to clue in Translation Contributors.
I've been working on getting Weblate Integration set up.
You can see the project's Weblate page here
Currently it is in trial status, but I've sent in an application to have it granted free hosting. I don't foresee any issue with that going through, but I have locked contributions for the time being until it does.
Aside from that, I believe we should hopefully be good to go.
Bit of a PIA, but I've added detailed Labels and Screenshots for every applicable string I could.
If you want to give it an initial look over and provide any feedback you might have, feel free to do so.
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
Headerbar are not working, inspecting in dev mode also doesn't work
Steps to Reproduce:
:root
{
--bg: #eeeee;
--fg: #FFFFFF;
--accent: #C10022;
--accent_bg: #6b0000;
--accent_disabled: rgba(120, 0, 0, 0.5);
--accent_hover_bg: rgba(120, 0, 0, 0.07);
--accent_active_bg: rgba(120, 0, 0, 0.16);
--focusring: #A83334;
--button_bg: rgba(255, 0, 0, 0.1);
--button_hover_bg: rgba(255, 0, 0, 0.15);
--button_active_bg: rgba(255, 0, 0, 0.3);
--button_disabled_bg: rgba(255, 0, 0, 0.05);
--button_success_bg: linear-gradient(0deg, var(--success_bg), var(--success_bg));
--button_suggested_bg: linear-gradient(0deg, var(--accent_bg), var(--accent_bg));
--button_suggested_hover_bg: rgba(255, 0, 0, 0.1);
--button_suggested_click_bg: rgba(0, 0, 0, 0.2);
--checkbox_checked_bg: var(--button_suggested_bg);
--checkbox_bg: transparent;
--checkbox_active_bg: var(--button_active_bg);
--radio_checked_bg: var(--button_fg);
--card_bg: rgba(255, 0, 0, 0.1);
--card_solid_bg: #eeeee;
--entry_bg: var(--button_bg);
--entry_hover_bg: var(--button_hover_bg);
--window_bg: var(--bg);
--view_bg: #eeeee;
--headerbar_bg: #eeeee;
--popover_bg: #eeeee;
--toast_bg: rgba(0, 0, 0, 0.7);
}
patching file Adwaita/adw/controls/window.styles
Hunk #1 succeeded at 29 (offset -5 lines).
patching file Adwaita/resource/layout/steamrootdialog.layout
patching file Adwaita/resource/layout/uinavigatorpanel.layout
patching file Adwaita/resource/steamscheme.res
patching file Adwaita/steam/cached/UpdateNewsDialog.res
patching file Adwaita/resource/layout/htmlpopup.layout
patching file Adwaita/steam/cached/SingleUpdateNewsDialog.res
→ Copying to the stage directory /tmp/tmpti_84jqf/Adwaita
→ Applying patch windowcontrols/left...
→ Applying web_extra /home/chrispycode/.var/app/io.github.Foldex.AdwSteamGtk/config/AdwSteamGtk/custom...
→ Applying web_extra windowcontrols/left...
→ Applying web_extra /home/chrispycode/.var/app/io.github.Foldex.AdwSteamGtk/config/AdwSteamGtk/custom...
→ Applying web_extra windowcontrols/left...
✦ Directory /home/chrispycode/.var/app/com.valvesoftware.Steam/.steam/steam does not exist
→ Patching Steam Client Library Files...
✦ Directory /home/chrispycode/.var/app/com.valvesoftware.Steam/.steam/steam does not exist
→ Installing skin Adwaita into /home/chrispycode/.local/share/Steam/skins...
→ Patching Steam Client Library Files...
✓ Done!
More of a personal note to look into:
Seems like strings for Dialogs and Toasts aren't getting properly localized, despite being present in the po
file. Not sure what the cause is though.
Steam client updated and broke a lot of things.
For the moment:
AdwSteamGtk is going to crash on launch. (Fixed in 758d290, pending release)
Even with that fixed:
Most upstream themes are broken right now and will not apply properly.
It would be great if the tool could remember your last settings, so you don't have to set them manually each time when you update
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
Steps to Reproduce:
Other Info (Screenshots, etc):
This issue is specific to AdwSteamGtk and not the upstream project:
Description of Issue:
When I click on install, it says "Extract: Bad Zip file"
Steps to Reproduce:
flatpak install flathub io.github.Foldex.AdwSteamGtk
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
Install fails with error message. Uninstall fails silently.
Steps to Reproduce:
Install: Installer process failed
message$ flatpak run io.github.Foldex.AdwSteamGtk
F: Not sharing "/usr/share/themes" with sandbox: Path "/usr" is reserved by Flatpak
→ Creating stage directory /tmp/tmpe0n529p2/adwaita
→ Patching Steam Client Library Files...
→ Patching Steam Client Library Files...
Traceback (most recent call last):
File "/usr/lib/python3.10/shutil.py", line 816, in move
os.rename(src, real_dst)
OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpe0n529p2/adwaita/libraryroot.custom.css' -> '/home/brian/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamui/libraryroot.custom.css'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/brian/.var/app/io.github.Foldex.AdwSteamGtk/cache/AdwSteamInstaller/extracted/install.py", line 313, in <module>
patch_client_css(sourcedir, target, "Library")
File "/home/brian/.var/app/io.github.Foldex.AdwSteamGtk/cache/AdwSteamInstaller/extracted/install.py", line 210, in patch_client_css
shutil.move(source_css, custom_library)
File "/usr/lib/python3.10/shutil.py", line 836, in move
copy_function(src, real_dst)
File "/usr/lib/python3.10/shutil.py", line 434, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpe0n529p2/adwaita/libraryroot.custom.css'
Other Info (Screenshots, etc):
Version 1.8 worked great. Ran into this issue when I saw the notification for the 1.9 update.
This issue is a problem with AdwSteamGtk and not the Theme it installs:
I have checked the Troubleshooting page
Description of Issue:
Store recommendation window has no headbar, thus making it very hard to drag around.
Steps to Reproduce:
Loving the theme, but I can't use it since I use the minimize button a lot
This issue is specific to AdwSteamGtk and not the upstream project:
Description of Issue:
The window is hung after selecting something in a dropdown menu.
It then can't be moved any more as well as any hover actions are not showing, clicking the dropdowns still works.
Clicking 'Install' directly installs the skin and doesn't hang the window.
Steps to Reproduce:
Other Info (Shell Output, Screenshots, etc):
I'm thinking it would great to see how installer itself changes colors to scheme you selected so you don't have to look at screenshots of github page for skin and get roughly idea of the colors. Or perhaps some other presentation of the colors
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
This crashes when applying a color scheme. It does not matter which one, as it even crashes when just selecting Adwita
Steps to Reproduce:
Select a color scheme
$ G_MESSAGES_DEBUG=all adwaita-steam-gtk
...
(adwaita-steam-gtk:42264): Gtk-DEBUG: 17:15:26.357: Connecting to session manager
(adwaita-steam-gtk:42264): Gtk-DEBUG: 17:15:26.357: Failed to get the GNOME session proxy: The name org.gnome.SessionManager is not owned
(adwaita-steam-gtk:42264): Gtk-DEBUG: 17:15:26.358: Failed to get the Xfce session proxy: The name org.xfce.SessionManager is not owned
(adwaita-steam-gtk:42264): GLib-GIO-DEBUG: 17:15:26.361: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(adwaita-steam-gtk:42264): Gdk-DEBUG: 17:15:28.667: [destroyed object]: error 6: surface was destroyed before its role object
Gdk-Message: 17:15:28.667: Error 71 (Protocol error) dispatching toWayland display.
Latest Release has Experimental Beta Support:
Visually it should more or less work at this point, though expect bugs.
Report issues with the beta theme here: tkashkin/Adwaita-for-Steam#150
Note: The beta branch has no releases for the updater to check against, so it will simply download the latest zip.
Expect lots of these:
Some of the cli -o
option names have changed.
Old Name | New Name |
---|---|
colortheme | color_theme |
qr_login | login_qr |
whats_new | library_whats_new |
since both adwaita (with gradience, accent colors extension, etc) and also yaru on ubuntu support accent colors, is there any chance to add this like a option?
for example yaru-blue, yaru-red - adwaita-magenta - adwaita-red.
Rosé Pine (Standard/Dawn/Moon) themes would be greatly appreciated!
when steam has been installed with other package managers then flatpak it doesnt install themes correctly but its says it was successfu. (in my situation pacman)
here is the log :
→ Creating stage directory /tmp/tmp59f7m4td/adwaita
→ Applying color theme breeze...
→ Patching Steam Client Library Files...
✦ Directory /home/hosein/.var/app/com.valvesoftware.Steam/.steam/steam does not exist
✓ Done!
as you can see /home/hosein/.var/app/com.valvesoftware.Steam/.steam/steam does not exists witch is path of steam that is installed with flatpak
Hello,
First of all, thanks you for taking on your time to maintain this software. I would like to be able to update automatically the Adwaita theme for Steam using command-line.
I saw that you've already implement the -c
option that fetch the archive but is there any possibility that you could also implement something like -i
, -u
, --install
or --update
this way a script can run something like:
/usr/bin/flatpak run io.github.Foldex.AdwSteamGtk -c -i
Do you think that you could implement such feature?
Edit 1: I forgot to mention that the -i
command line need to respect the user choice in the app regarding full theme, button on right or left, etc.
Edit 2: Ideally (this is totally optional if it take too much time to implement) my previous request about the user choice settings could also be enhanced by letting the user eventually override those one by passing arguments and if none are given, then fallback to the default user choice set in the application.
The command line could look like:
/usr/bin/flatpak run io.github.Foldex.AdwSteamGtk -c -i -p "window:right-all;theme:full;qr:show"
Or something similar, or even pointing to a file (if you are using a file to remember settings) like:
/usr/bin/flatpak run io.github.Foldex.AdwSteamGtk -c -i -f "/path/to/file.conf"
This could also allow users to deploy quickly with different configuration, but like I said, this is optional, just a thought!
Thanks for your time.
Title
This issue is specific to AdwSteamGtk and not the upstream project:
Description of Issue:
Adwaita's font does not show after theme installation, is generic font.
Steps to Reproduce:
Would be great if this beautiful theme also could work with Steam installed trough Flatpak. I don't know if that's possible, but here's hoping. Thanks! :)
Steam updated and theres no option for custom themes anymore, the new UI looks good and all, and better then the old default one, and sure it was time that it got an overhall, but why did they remove custom themes though 😢
Hi there! I think AdwSteamGtk would benefit from an app icon following GNOME's distinct visual style. This would make it look more at home in the GNOME ecosystem, and make it visible at a glance as an app targeting GNOME.
I can assist with designing one if you want me to. Feel free to reach out to us in the GNOME App Icon Design group on Matrix for guidance or answers to any questions :)
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
Installation Process fails with the following output:
usage: install.py [-h] [-c COLOR_THEME] [--custom-css] [-d]
[-e EXTRAS [EXTRAS ...]] [-l] [-t TARGET [TARGET ...]] [-u]
install.py: error: unrecognized arguments: -f
Steps to Reproduce:
♥ ❯ flatpak run io.github.Foldex.AdwSteamGtk
usage: install.py [-h] [-c COLOR_THEME] [--custom-css] [-d]
[-e EXTRAS [EXTRAS ...]] [-l] [-t TARGET [TARGET ...]] [-u]
install.py: error: unrecognized arguments: -f
The sidebar can be a bit redundant and it would be more simplistic to remove it if possible.
This issue is specific to AdwSteamGtk and not the upstream project:
Description of Issue:
I don't know, it just fails with some vague message. Where are the logs?
Steps to Reproduce:
Hello,
I saw their was some PO directory in the app but I haven't seen (or found) any .po file that I could use to translate strings in French.
Is there any way I can contribute to translate this app or this is not planned/implemented at the moment?
Thanks you for your reply, have a nice day.
In some distros, the Adwaita theme on steam use a Serif font to show the texts due to the missing Cantarell Regular And Cantarell Bold fonts.
Installing the fonts to the system and restart Steam solve it.
Is it possible to list the font on the project readme and on Flathub?
Link to the font download
I've recently added a few new patches to the skin to show downloads or friends buttons (or both) in the headerbar.
It's a bit more complicated than other options because these patches are conflicting and currently only compatible with the default window controls preset. So for now this option should only be available/active when the window controls preset is set to default.
Not sure if there's a way to combine window controls presets with these patches without making each combination a separate patch. Maybe the installer should allow to add/remove/reorder headerbar buttons and modify steamrootdialog.layout
directly.
Anyway, that's an issue for the skin itself, but maybe you'll have some ideas how to handle that.
This issue is specific to AdwSteamGtk and not the upstream project:
I have checked the Troubleshooting page
Description of Issue:
With the Adwaita theme installed, the FAQ link in a games properties are out of place.
Steps to Reproduce:
(Until weblate (or other platform) will be used for translations)
There high chance, that someone who want to contribute, never heard about ".po", ".pot" files, how to check their translation in-program or even don't know how to make pull request (or what is pull request is, fork). So, it's better to cover this users:
/update_pot.sh
they might see "xgettext: command not found", so it's worth mention that to generate pot user need "gettext" package to actually do that (or, at least it's called in Fedora as such. Maybe on other distros it has different name, idk)I'm writing this from perspective, that i myself learned how to do all of this stuff fairly recently and learning process itself was quite painful, since most devs don't even put any instructions. They already assume that you know all of this.
usually at the bottom left corner there is a button to add games (ADD A GAME button) , but when I installed this the button is no longer there, and I don't know how to find it, if it is somewhere else or if it just isn't in any place.
run AdwSteamGTK
install the theme
button no longer there, nor anywhere
not applicable, this is in regards to the GUI
Using Fedora silverblue flatpak steam. I see no minimize button. Can you add it?
like this one: https://github.com/ungstein/OG-Steam
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.