Coder Social home page Coder Social logo

Pixel Saver

Pixel Saver is an extension for Gnome Shell that merge the activity bar and the title bar of maximized window. It is especially interesting for small screens, but MOAR pixels for your apps is always good!

The extension has no configuration. Its behavior is made to mimic the one of the title bar and settings affecting the title bar should reflect in Pixel Saver. It Just Works!

For applications using the modern GTK header bar, there are no space savings, but the application title is still displayed in the top panel to achieve a uniform appearance.

The title bar is completely gone and integrated to the activity bar.

It is largely inspired by bios and mathematicalcoffee's Window Buttons Extension and mathematicalcoffee's maximus extension and some code come from there. You may want to check theses out, especially if you want something more configurable.

Get it!

Gnome Shell version Pixel saver version Recommended installation method
43 1.30 GNOME extensions
42 1.28 GNOME extensions
41 1.26 GNOME extensions
40 1.24 GNOME extensions
3.38 1.24 GNOME extensions
3.36 1.24 GNOME extensions
3.34 1.24 GNOME extensions
3.32 1.20 GNOME extensions
3.30 1.18 GNOME extensions
3.26 1.14 GNOME extensions
3.24 1.12 GNOME extensions
3.15 1.10 GNOME extensions
3.14 1.5.1 GNOME extensions
3.12 1.3 GNOME extensions

Pixel saver has been available for a long time on GNOME Extensions website (so it is on GNOME Software, too).

Manual install

From graphical interface

  • (eventually) switch to the tag for your version from this page;
  • download the repo's zip from the green button;
  • navigate from your home to the gnome shell extension directory .local/share/gnome-shell/extensions;
  • unzip the [email protected] directory in extension directory;
  • reload gnome-shell pressing Alt + F2 and entering r;
  • enable the extension using GNOME Tweaks.

From terminal

    # Clone repository
    git clone https://github.com/deadalnix/pixel-saver.git

    # Enter cloned directory
    cd pixel-saver

    # Switch to the proper tag
    git checkout tags/1.24

    # copy to extensions directory
    cp -r [email protected] -t ~/.local/share/gnome-shell/extensions

    # You may need to reload GNOME Shell to recognise new extension by
    # hitting Alt + F2 and entering "r"

    # activate 
    # GNOME <3.38
    gnome-shell-extension-tool -e [email protected]
    # GNOME >= 3.38
    gnome-extensions enable [email protected]

Dependencies

Pixel Saver depends on Xorg's xprop and xwininfo utilities. If not already present on your system, these can be installed using:

  • Debian/Ubuntu: apt install x11-utils
  • Fedora/RHEL: dnf install xorg-x11-utils
  • Arch: pacman -S xorg-xprop

Wayland

Since this extension relies on features provided by X.org, by default it won't work on GTK 3.x+ windows in wayland sessions. Neverthless, you can still run any GTK application in x11 mode setting the GDK_BACKEND variable to x11, i.e.

GDK_BACKEND=x11 <application_name>

on the opposite, QT applications need the variable QT_QPA_PLATFORM to be set to wayland to not run in x11 mode.

If you need a particular program to always run in a given mode, copy its desktop file from /usr/share/applications to your user XDG applications directory (~/.local/share/applications) and edit the Exec line to look like this one

Exec=env GDK_BACKEND=x11 <your_application>

then run update-desktop-database to refresh menu entries.

Configuration

Soon!

Screenshots

If you want to see what the full desktop look like with this extension, you can check out what a unmaximized window looks like, as well as a maximized one.

pixel-saver's Projects

pixel-saver icon pixel-saver

Pixel Saver is designed to save pixel by fusing activity bar and title bar in a natural way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.