Giter Club home page Giter Club logo

mate-window-applets's Introduction

mate-window-applets

Applets for mate-panel to show various window controls. The original author delete their GitHub repository, so this in an import from the source uploaded to Debian.

  • WindowButtons applet shows the close,minimize,actions in a panel.
  • WindowTitle applet shows the title of the active window.
  • WindowMenu applet shows you the window menu of the active window.

Install

On Ubuntu MATE 18.04 or newer:

sudo apt install mate-window-buttons-applet mate-window-menu-applet mate-window-title-applet

Compile

Requirements

  • meson
  • ninja
  • vala
  • Gtk3
  • Gdk3
  • libwnck3
  • libmatepanelapplet

To install them in Ubuntu MATE 20.04 or newer, run:

sudo apt install meson ninja-build valac libwnck-3-dev libgtk-3-dev libgdk-pixbuf2.0-dev libmate-panel-applet-dev

Build

meson --prefix=/usr build
cd build
ninja
sudo ninja install
cd ..
sudo ./install-icons.sh install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Remove

cd build
sudo ninja uninstall
cd ..
sudo ./install-icons.sh uninstall

License

  • GPLv3

See the LICENSE file.

mate-window-applets's People

Contributors

aero31aero avatar david-byrne avatar flexiondotorg avatar gabrielfin avatar just1number avatar vkareh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mate-window-applets's Issues

How to change the buttons theme?

Hello!!
I installed this applet on my laptop, running Debian 12 Stable, running MATE 1.26.0, and, although it works really well, the default button theme is completely different from what I like, and I couldn't find any options in the applet settings to change the theme.
I found the issue #1 and #15, are these instructions correct?
Thanks for developing this applet for the MATE desktop!!

[BUG] Huge memory leak in window title applet.

I was unable to get a lot of data as my priority was to stop the process. The following is the output on my 4GB RAM laptop with the window-title applet using 84% of memory.

$ ps -e --sort=-%mem -o pid,ppid,cmd,%mem,%cpu| head
  PID  PPID CMD                         %MEM %CPU
24866  2141 /usr/lib/mate-applets/mate- 84.3  4.7
 1610  1579 /usr/lib/xorg/Xorg -core :0  0.4  1.6
 2974  2176 /usr/bin/python3 /usr/bin/g  0.4  0.6
 2746  2141 /usr/lib/mate-indicator-app  0.2  0.0
 2700  2176 mate-panel                   0.2  0.1
 2738  2141 /usr/lib/mate-panel/clock-a  0.2  0.0
 2778  2176 compiz                       0.2  0.9
 3115  3114 /usr/bin/gtk-window-decorat  0.2  0.0
 2922  2176 plank                        0.2  0.0

Changing Layouts crashes randomly on Beta 2

Hi ! , Thanks for the awesome App
I'm getting some random crashes on 18.04 Beta 2 while changing Layouts , and /or customizing the taskbar ( like moving/removing from taskbar)
Thanks

The window buttons are a bit blurry.

Here are the window buttons in a usual window decoration:
good
Here are the buttons in the window applet:
bad

As you can see, the latter are a bit blurry. I am using the arc-dark theme. Is there any remedy to this?

[window-buttons-applet] Add option to control the background window when current window is not maximized

Add a third option to "Control only maximized windows" so that when the current window is not maximized, the window-buttons-applet controls the maximized window which is behind the current one (i.e. the last maximized window), instead of hiding the buttons. Also, the buttons should look "unfocused".
This is similar to how regular windows work. And also how Gnome's window-buttons applet works.

Also (perhaps this should be a separate issue), "Control only maximized windows" should be implemented in window-menu-applet and window-title-applet as well.

Change buttons app when moving to another workspace

If I have configured mate-window-applets to follow current maximized window, and I move to another workspace, the buttons are still the ones from the maximized window in the previous workspace. They should be the buttons of the windows in the current workspace only, if not then you could be closing an app from another workspace, that's annoying.

Wnck-CRITICAL: update_client_list: assertion 'reentrancy_guard == 0' failed

This error shows up constantly on all three applets:

(window-buttons-applet:19310): Wnck-CRITICAL **: 17:17:54.909: update_client_list: assertion 'reentrancy_guard == 0' failed

It appears to come from these lines:
https://github.com/ubuntu-mate/mate-window-applets/blob/master/window-buttons-applet/window-buttons-applet.vala#L223
https://github.com/ubuntu-mate/mate-window-applets/blob/master/window-title-applet/window-title-applet.vala#L64
https://github.com/ubuntu-mate/mate-window-applets/blob/master/window-menu-applet/window-menu-applet.vala#L81

Apparently it's because that function is being called too often.

I've commented those lines and have been using the applets for a couple of weeks and have found no issues. Is calling that function really needed?

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.