Adapta and Pixel-Saver applet

Hi,

some pictures…

budgie_pixel_saver_background

budgie_pixel_saver_not_a_separator

It seems that pixel-saver applet has some glitches in any theme - except Pocillo where it looks right :wink: and here with Adapta it stays quite beautiful - but becomes really awful with Arc, Ambiance, radiance…

Ambiance and Radiance are just GTK themes - they do not have the additional budgie CSS theme styling.

For all other themes that have budgie CSS styling, some tweaks will need to be made to accommodate the pixel saver. If you can I would suggest fork the theme from GitLab/Github - make the change and submit the change back to the maintainer. If you cannot make the change yourself, then raise an issue with the maintainer - maybe the maintainer will find a bit of time to tweak hopefully.

So for Pocillo - I made this small tweak https://github.com/UbuntuBudgie/pocillo-gtk-theme/blob/f5d3f12100544bd4a10ad39708e91baa7ac7d872/src/gtk-3.0/3.22/sass/apps/_budgie.scss - search for “pixel” - to ensure pixel saver is themed correctly.

As usual, thanks for explanations @fossfreedom !
I’ll see what I’m able to do…

( but why ship themes that are known to not work then ? )

but why ship themes that are known to not work then ?

The team concentrates on one theme that we have defaulted to - Pocillo. We aim to make this the go-to theme for the distro. All other themes we make available for as a choice - but obviously we do depend on all users to help here to resolve issues.

In /adapta-gtk-theme-master/gtk/sass/3.22/ downloaded zip from github, there is a _3rd_party.scss file.

Is this where I should add

& .horizontal.titlebar { //budgie-pixel-saver applet
      background-color: transparent;
      border: none;
      min-height: 0px;
      color: $inverse_fg_color;
      box-shadow: none;

      & .image-button.titlebutton.close {
        background-color: transparent;
      }
  }

// transparent-mode
&.transparent {
  background-color: $alt_panel_bg_color;
}

How can I test that ?

And for reference : https://github.com/adapta-project/adapta-gtk-theme/issues/705

Instructions on how to compile the theme are in the README of that github repo.

I haven’t looked at where the budgie bits are in adapta. If they are in that file then yes add it there and compile and install using the README

Well… It seems it has been fixed upstream, even if I am not sure to understand Tista’s comment…

Adapta gtk theme has been updated today in my system and it is ok now !

Brilliant news! Well done to the excelllent maintainer :slight_smile:

Hey, I know this comment does not actually answer your question, but I was just wondering what applet is that? I have tried searching for a lot of pixel-saver applet but all I found does not work. Thanks!

install pixel saver from budgie-welcome - software - budgie applets

Hi,

I guess I missed a bit. I assume it’s related to my theme of choice, Adapta. But it is ok on one computer and not on the other.

( sorry for blur, it’s from a remote desktop )

at work with theme styling → wrong spacing between buttons and no red circle background under the ×
at work without theme styling → very weird spacing + background for buttons are oval instead of circle.

at work is a fresh install from a couple of weeks, at home is my daily driver for years so I probably did something at home I should also do at work but not sure where to look at.

deb packages in both computers are :

ii  adapta-gtk-theme                      3.95.0.11-1                             all          Adaptive Gtk+ theme
ii  adapta-gtk-theme-colorpack            3.94.0.149                              all          Extra color variants of Adapta Gtk+ theme

pixel-saver are different though

 at home ( older ? )
ii  budgie-pixel-saver-applet             4.0+git20200313-0ubuntu1+build1~focal   amd64        budgie-desktop pixel saver applet
 at work ( fresher ? )
ii  budgie-pixel-saver-applet             4.0+git20210323-0ubuntu1~focal          amd64        budgie-desktop pixel saver applet

…that difference is very unexpected as I am using at home http://ppa.launchpad.net/ubuntubudgie-dev/budgie-extras-daily/ubuntu ppa.

But here my main « fear » is that the « modification » of style regarding pixel-saver inside Adapta is finally not part of the package to be found in official Ubuntu repo.

Which are the files to compare between my two machines regarding styling of pixel-saver by or through Adapta ?

And if it’s not « fixable » do you know any dark-theme with a warm dominant color ( not blue ) that may work with pixel-saver ( and global menu ) ?

Your home version of pixel-saver is out of date. I’m guessing you have disabled the backports PPA hence why it hasn’t updated.

You mentioned you are using adapta-deeporange-nokto on both - that’s obviously not from the repos since it doesn’t exist.

So are you using “adapta” at work but the deeporange variant at home? Is that the key difference?

DeepOrange on both - from the same .deb package.
And on both computers « regular » Adapta is also installed.

Budgie desktop settings + same setting for each applets in both computers ( except theme styling in pixel-saver ).

That’s usually how I proceed : testing at home for weeks / months then « copycat » things at work.

Gonna check that weird thing about ppa - here at home.


on a side note : vimix/ruby looks like a good compromise. It better handles pixel-saver and show-desktop applets, and thus allows top panel to actually be 36 px. Too bad its panels are always solid color, not transparent / I did not notice : they are a bit transparent.
And if making use of « integrated style » as with other styles, global-menu gets wrong spacing.

Regarding ppa :

django@ASGARD:~$ sudo add-apt-repository ppa:ubuntubudgie-dev/budgie-extras-daily
[sudo] Mot de passe de django : 
 test daily builds of Git budgie-extras - master branch
 Plus d’info : https://launchpad.net/~ubuntubudgie-dev/+archive/ubuntu/budgie-extras-daily
Appuyez sur [ENTRÉE] pour continuer ou sur Ctrl-c pour annuler l'ajout.

Atteint :1 http://archive.canonical.com/ubuntu focal InRelease
Ign :2 http://liveusb.info/multisystem/depot all InRelease                                                             
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal InRelease                                                         
Atteint :4 http://ppa.launchpad.net/costales/folder-color/ubuntu focal InRelease                                       
Atteint :5 http://liveusb.info/multisystem/depot all Release                                                           
Réception de :6 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]                                    
Atteint :7 http://apt.syncthing.net syncthing InRelease                                                                
Réception de :8 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                   
Atteint :9 http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu focal InRelease                           
Atteint :10 http://ppa.launchpad.net/libreoffice/libreoffice-7-0/ubuntu focal InRelease                                
Réception de :12 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]       
Atteint :13 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease                    
Atteint :14 http://ppa.launchpad.net/tista/plata-theme/ubuntu focal InRelease
Atteint :15 http://ppa.launchpad.net/ubuntubudgie-dev/budgie-extras-daily/ubuntu focal InRelease
Réception de :16 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,3 kB]
Atteint :17 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease                     
Réception de :18 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58,3 kB]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [454 kB]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [920 kB]
Réception de :21 http://fr.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [213 kB]
Réception de :22 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [264 kB]
Réception de :23 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [13,1 kB]
Réception de :24 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [758 kB]
Réception de :25 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [562 kB]
Réception de :26 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [303 kB]
Réception de :27 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [16,6 kB]
Réception de :28 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Réception de :29 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1 768 B]
3 913 ko réceptionnés en 5s (821 ko/s)                                             
Lecture des listes de paquets... Fait

seems ok

django@ASGARD:~$ sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://security.ubuntu.com/ubuntu focal-security InRelease                                                  
Ign :3 http://liveusb.info/multisystem/depot all InRelease                                                             
Atteint :4 http://archive.canonical.com/ubuntu focal InRelease                                                         
Atteint :5 http://ppa.launchpad.net/costales/folder-color/ubuntu focal InRelease                                       
Atteint :6 http://apt.syncthing.net syncthing InRelease                                                                
Atteint :7 http://liveusb.info/multisystem/depot all Release                                                           
Atteint :8 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease                                                 
Atteint :9 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease                                           
Atteint :10 http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu focal InRelease
Atteint :11 http://ppa.launchpad.net/libreoffice/libreoffice-7-0/ubuntu focal InRelease
Atteint :12 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease
Atteint :13 http://ppa.launchpad.net/tista/plata-theme/ubuntu focal InRelease
Atteint :14 http://ppa.launchpad.net/ubuntubudgie-dev/budgie-extras-daily/ubuntu focal InRelease
Atteint :15 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease
Lecture des listes de paquets... Fait                       
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
5 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

seems fine too

django@ASGARD:~$ apt list --upgradable 
En train de lister... Fait
libpci3/focal-updates 1:3.6.4-1ubuntu0.20.04.1 amd64 [pouvant être mis à jour depuis : 1:3.6.4-1]
pciutils/focal-updates 1:3.6.4-1ubuntu0.20.04.1 amd64 [pouvant être mis à jour depuis : 1:3.6.4-1]
python3-distupgrade/focal-updates,focal-updates 1:20.04.31 all [pouvant être mis à jour depuis : 1:20.04.30]
ubuntu-release-upgrader-core/focal-updates,focal-updates 1:20.04.31 all [pouvant être mis à jour depuis : 1:20.04.30]
ubuntu-release-upgrader-gtk/focal-updates,focal-updates 1:20.04.31 all [pouvant être mis à jour depuis : 1:20.04.30]
django@ASGARD:~$ 

errrr… no pixel-saver there. What’s broken ?

The backports ppa

sudo add-apt-repository ppa:ubuntubudgie/backports
sudo apt upgrade

Indeed. And I know why it was gone, a mistake I forgot to fix few weeks ago, while trying to « tidy up » my ppa’s.

Les paquets suivants seront mis à jour :
  budgie-calendar-applet budgie-pixel-saver-applet
2 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 33,5 ko dans les archives.
Après cette opération, 8 192 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu focal/main amd64 budgie-calendar-applet amd64 5.2-0ubuntu2~focal [16,2 kB]
Réception de :2 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu focal/main amd64 budgie-pixel-saver-applet amd64 4.0+git20210323-0ubuntu1~focal [17,3 kB]
33,5 ko réceptionnés en 0s (110 ko/s)                 
(Lecture de la base de données... 427361 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../budgie-calendar-applet_5.2-0ubuntu2~focal_amd64.deb ...
Dépaquetage de budgie-calendar-applet (5.2-0ubuntu2~focal) sur (5.2-0ubuntu1+build1~focal) ...
Préparation du dépaquetage de .../budgie-pixel-saver-applet_4.0+git20210323-0ubuntu1~focal_amd64.deb ...
Dépaquetage de budgie-pixel-saver-applet (4.0+git20210323-0ubuntu1~focal) sur (4.0+git20200313-0ubuntu1+build1~focal) ..
.
Paramétrage de budgie-pixel-saver-applet (4.0+git20210323-0ubuntu1~focal) ...
Paramétrage de budgie-calendar-applet (5.2-0ubuntu2~focal) ...
Traitement des actions différées (« triggers ») pour libglib2.0-0:i386 (2.64.6-1~ubuntu20.04.3) ...
No such key “show-nm-trayicon” in schema “com.solus-project.tray” as specified in override file “/usr/share/glib-2.0/sch
emas/10_budgie-network-manager-applet.gschema.override”; ignoring override for this key.
Traitement des actions différées (« triggers ») pour libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.3) ...
No such key “show-nm-trayicon” in schema “com.solus-project.tray” as specified in override file “/usr/share/glib-2.0/sch
emas/10_budgie-network-manager-applet.gschema.override”; ignoring override for this key.
django@ASGARD:~$ 

And now that pixel-saver is at 4.0+git20210323-0ubuntu1~focal on my home computer, I get the same « wrong » behavior with styling in Adapta.

At least we have a culprit.

pixel-saver-updated
So this is with :
use_theme_styling
I’d expect something more like :
adapta_buttons

Here is Firefox, but same happens with Gimp, LibreOffice or Nemo.


And I can also confirm it’s pixel-saver / without theme styling styling which forces to have at least a 42px top panel. It’s very noticeable with « highlighted » tabs of Firefox or Thunderbird.

Other side-note : regarding how different gtk styles handle applet styling differently.

show-desktop-applet as an example.

In Adapta(DeepOrange ) : its color is by default light grey, white on hovering, and orange when clicked ( to remind you minimize all your windows ).

In Vimix-dark-ruby : it’s always white.

The two styles also apply different « spacing » around its icon.

I guess the color change is expected as a feature of the applet. I don’t know which « spacing » is the correct one.

And pixel-saver as another example :

In vimix it makes no difference to use it with or without « Use Theme Styling », buttons always look like this in pixel-saver
vimix_buttons_pixel_saver
while they look like this in window bar
vimix_buttons
…ok it’s subtle difference but why is there one after all ?

So what changed in pixel-saver from 4.0+git20200313-0ubuntu1+build1~focal to 4.0+git20210323-0ubuntu1~focal @fossfreedom ?

probably this commit Remove all classes before adding style classes - fixes ubuntubudgie/b… · UbuntuBudgie/budgie-pixel-saver-applet@073ffd1 · GitHub