Code Monkey home page Code Monkey logo

unite-shell's Introduction

Unite Shell

Unite is a GNOME Shell extension which makes a few layout tweaks to the top panel and removes window decorations to make it look like Ubuntu Unity Shell.

  • Adds window buttons to the top panel for maximized windows.
  • Shows current window title in the app menu for maximized windows.
  • Removes titlebars on maximized windows.
  • Hides window controls on maximized windows with headerbars.
  • Moves the date to the right, fixes icons spacing and removes dropdown arrows.
  • Moves legacy tray icons to the top panel.
  • Moves notifications to the right.
  • Hides activities button.
  • Adds desktop name to the top panel.

Screenshots

Unite running with the default options.

Screenshot

Settings window available in gnome-tweaks.

Settings

Wayland

Since version 2 applications on wayland with client side decorations are supported using CSS.

Install

Make sure you have installed xorg-xprop:

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

Then, download the latest release and extract it into ~/.local/share/gnome-shell/extensions. To get the complete Ubuntu Unity layout, you can combine it with Dash to Dock or Dash to Plank extension and Gnome HUD menu.

Gnome Shell Extensions

The easiest way to install this extension is via the official Gnome Shell Extensions resource page here.

Packages

Arch Linux: AUR package

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/unite-shell.

License

Unite Shell is available as open source under the terms of the GPLv3

Credits

This extension is inspired from Pixel Saver, TopIcons Plus, Extend Left Box.

unite-shell's People

Contributors

42willow avatar aiosadchy avatar amereyeu avatar bdaase avatar btd1337 avatar dandv avatar galen1423 avatar gbegkas avatar gonzaarcr avatar jonian avatar leleat avatar mjkim0727 avatar mufeedali avatar natewind avatar njsf avatar olibia avatar peetz0r avatar rffontenelle avatar rohan-mohapatra avatar shemgp avatar simon-l avatar soal avatar thelastzombie avatar vistaus avatar vltr avatar

Stargazers

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

Watchers

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

unite-shell's Issues

Positioning

Hi,
What a great extension! Thank you for this.
Would it be possible to have the buttons all to the right? See attached picture to see what I mean.
screenshot

Bug: having the window button in the wrong place

So I'm using Ubuntu 17.10 (tested both Wayland and Xorg) and with your plugin, I've got the window buttons on the right side of the active window's title, when maximized (tried with left and right window button setup in Tweaker, but they just don't want to move from the right side of the window title when maximized!)

Here you can see in windowed mode the buttons are in the corner (left or right does not change anything in my case):
windowed view

And here it is what it looks like when my window is maximized:
fullscreen view

[feature request] GUI option to change the dock's application button position

Actually, if you're using Ubuntu's dock extension, the applications menu's button is on the bottom of your dock (on the right if yours is on the bottom of your screen), but as you might know, Unity has it's menu button on the top (and on the left if you used Unity Tweak Tool to set the dock at the bottom of your screen).
If I understand correctly the purpose of this plugin, the goal is to mimick the behaviour of Unity shell.
So that's why I'm requesting this feature!

60+% cpu usage when extension is activated [ubuntu 18.04] lenovo t420

with:

  Avg[||||||||||||||||||||||||||||                                                                           25.2%]   Tasks: 303, 1174 thr, 128 kthr; 1 running
  Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||5.20G/7.55G]   Load average: 1.61 1.05 1.15
  Swp[|||                                                                                               234M/9.41G]   Uptime: 17:29:53

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 8910 david      20   0 3712M  279M 89988 S 63.0  3.6 10:06.73 /usr/bin/gnome-shell
22789 david      20   0  499M 82328 60112 S  5.3  1.0 10:39.79 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3


without:


  Avg[||||||||||||||||||||||||||||                                                                           25.2%]   Tasks: 303, 1174 thr, 128 kthr; 1 running
  Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||5.20G/7.55G]   Load average: 1.61 1.05 1.15
  Swp[|||                                                                                               234M/9.41G]   Uptime: 17:29:53

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 8910 david      20   0 3712M  279M 89988 S 63.0  3.6 10:06.73 /usr/bin/gnome-shell
22789 david      20   0  499M 82328 60112 S  5.3  1.0 10:39.79 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3

I'm hoping you can fix because this extension is the only thing that makes using ubuntu 18.04 bearable.

Extend the close button hitbox to the top left corner

Requirements:

  • activities button needs to be hidden (default for now as of 11c3abf);
  • window buttons need to be on the left.

When I wanted to close a maximized window in Unity, I used to mindlessly jam the mouse in the top left corner and click. It was very convenient and I would love to have this in unite-shell.

Not an issue, just a modification to stylesheet.css for custom activities icon

Just a modification I made to stylesheet.css so I could substitute my own icon for the activities button without having to resize the icon.

#panel #panelActivities {
width: 55px; }
#panel #panelActivities > * {
background-color: transparent;
color: transparent;
background-image: url("assets/activities.svg");
background-position: center;
background-size: contain; }

Window buttons not working on touchscreen

I am using your extention on a convertible laptop with a touchscreen.

The window buttons (minimize, maximize, close) do work with the trackpoint and even the pen, but are not working when I touch them. They do change color while touching them (just like hovering with the mouse), but the window doesn't actually minimize/maximize/close. Everything else does work with both mouse and touch.

I'm using Fedora 26 with Gnome 3.24 on wayland and unite-shell v6. The laptop is a Lenovo ThinkPad Yoga 370.

[Feature Request] Ability to close, maximize, minimize unfocused windows

For example, I have two windows, one is maximized, but the other is focused, not maximized. I can't see maximized window contol buttons. Without this extension, for example, I can close the unfocused maximized window. It would be nice to add this feature that unfocused maximized window control buttons should be seen on panel for clicking.

Thanks for great extension..

Window title sometimes not showing in the top bar

My system:
Ubuntu 18.04 (17.02.2018)
Gnome 3.26
unite-shell V10

Your extension runs very well for the most part, but when I switch windows from the overview, the window title disappears from the top bar.

Menu bar

Is it possible to add software menu bar in top left panel?

Conflict issues between this plugin and the multi-monitors extension

This may be a wontfix situation but I'm using both of these extensions (multi-monitor here) because I want the time at the top of every window although I prefer your placement over to the right a al unity's shell, and I'd like the functionality that I can get with both of these extensions on the primary monitor across my other two monitors.

I'm on Xorg, Gnome 3.26.1 on Ubuntu 17.10.

Double icons

After resume Ubuntu after been suspended. The icons are doubled.

Ubuntu 18.04

image

Maximize by dragging window to top

Hello,
When dragging a window to the top bar, it maximizes, but its window controls remain attached to the window itself. I believe the correct behavior would be to place them on the top bar as if the maximize button was pressed (or the titlebar was double-clicked).

Disable custom keybindings?

I couldn't find any information about this so I thought I'd just open an issue. I've noticed that when I press alt that the current window loses focus. This is especially annoying when using a terminal ๐Ÿ˜•

Is this a desired effect of this extension or a bug or weird side-effect?

Problem with Pop!_OS distro

Hello,

It's probably a problem in the Pop!_OS distro, but I will comment here with you.
When Pop! _OS returns from the lock screen or suspend, your extension is disabled, having to restart the Gnome Shell, to it works again.

Do you have an idea why?

Extensions like Pixel Saver, doesnt break after suspend / lock screen.

But i prefer your extension, its so far, better and complete.

[Feature Request] Make topbar CSS modifications configurable

In the stylesheet.css, you added some default values for the horizontal spacing in the status area.

#panel .panel-button {
  -natural-hpadding: 8px;
  -minimum-hpadding: 6px;
}

Could you please make these values configurable?
Thanks a lot in advance!

Multiple buttons

screenshot from 2018-04-05 09-33-39
This happens after unlocking the computer after it locked itself due to inactivity, or by switching the extension on and off (done here multiple times, normally it just adds one more set of buttons).

I'm on Ubuntu 18.04.

Option to move Notifications to the right

In Unity the Notifications where on the right upper corner under the indicators and clock.

bildschirmfoto vom 2017-09-30 15-35-52

Bye the way, if you later need a translator for german, I can do it if you want.

Window buttons are always visible on the top bar

After returning from overview mode, the window buttons are always visible in the top bar, except if I chose to never show them in the options.
This issue appeared after updating Gnome-Shell to 3.28 (3.27.92).
I am using unite-shell form git with Ubuntu 18.04.

Title disappears from bar

When I use the "super" key the title of e.g. a webpage disappears from the top panel.
What for information do you need to debug the issue?

Extension installed from https://extensions.gnome.org/
Using Ubuntu 17.10 (Ubuntu dock removed)
Gnome: 3.26.2

ugly buttons on v12

after upgrade (v12,v13) buttons looks ugly. all fine on v11

2018-03-20 20-41-23

Gnome-Shell 3.28.0
Ubuntu 18.04

BUG with actual gnome version

Hello again.

When I was using the Pop_OS! 17.10, and after, Ubuntu 18.04, I have the same issue: After get back from suspend / lock mode, unite get error in gnome-tweak and in gnome extension site.

I guess that is about gnome version, but, with antergos gnome, I guess that this problem doesn't work

more monitor support not the best

When use on more monitor, the application which is on the second monitor the window control buttons on the first monitor.

See the attached screenshot. kepernyokep errol 2017-09-05 09-10-55
The application on the right monitor, windows controll button on the left monitor.

I don't know which will be the best solution.
Maybe, on that monitor which is not the main monitor, the application will work normal mode with unity menu support.

I love your extension, good work :)

[Suggestion] Use Appindicator instead of own tray icon implementation

Ubuntu is maintaining the extension "Appindicator" upstream as Gnome removed the legacy tray. I guess it's easier to implement an upstream solution then maintaining your own and TopIcons Plus is unmaintained, which I think is the inspiration for your solution. There also seem to be efforts making libappindicator available outside Ubuntu so other Distros can use it as well.

"Hi. On Do 01 Mรคr 2018 18:26:34 CET, Jan Niklas Hasse wrote: > It's not used outside ubuntu AFAIK Debian: https://packages.debian.org/stretch/libappindicator1 The libappindicator package in Debian is unmaintained / orphaned. Currently, there are efforts taken by me, Martin Wimpress and others to make libappindicator available outside of Ubuntu under a new upstream umbrella [1,2]. Fedora: https://apps.fedoraproject.org/packages/libappindicator openSUSE: https://software.opensuse.org/package/libappindicator No clue about there status. Mike"

ubuntu/gnome-shell-extension-appindicator#74

https://github.com/ubuntu/gnome-shell-extension-appindicator

[Feature Request] Persistent panel items location (reordering)

Hey there.
I've been tinkering around with the extension in my free time to try to figure out how to add this myself as there are a few other extensions that steal priority over this I believe. I'm also using Extend Panel Menu, which seems to offer an offset option but it doesn't always work on account of when I restart the shell from time to time, Unite will move back to the center of the panel icons. I've googled this a bit, found a solution on askubuntu.com but a lot of the tags and values (forgive me if I'm using the wrong jargon, I'm only really experienced with webdesign coding, not so much actual programming! haha) they are for items not in your code and I'm not sure if it was left out as they report that if left out, it will be placed to the right by default. However, I'm thinking that other extensions do have this and are possibly stealing priority over panel placement.

So... TL;D(wt)R ;
If you were to implement this functionality, how might you go about doing it if you're not feeling it is necessary to the integrity of the code? I would very much like to add it myself but I'm kind of at a loss. The only location I feel like it would make sense to make adjustments is here* but the code they are saying to search for doesn't match any of your code. This is probably the closest but then again, I could be in the wrong .js file all together. I'm looking in the WindowButtons.js module.
Ideally the functionality I am looking for is that it gains priority to immediate right placement at all times. Of course if you wanted, you could add an option to change the offset in your uisettings from the extension panel but I wanted to spare you guys the extensive coding if I could, I'm sure you're fairly busy and if it isn't "broke"-broke, why fix it kind of a thing?

if (this._position == 'left') {
        let appmenu = Main.panel.statusArea.appMenu.actor.get_parent();
        Panel._leftBox.insert_child_below(this._buttonsActor, appmenu);
      }

      if (this._position == 'right') {
        Panel._rightBox.add_child(this._buttonsActor);
}

And here is the url to what they are suggesting ; https://askubuntu.com/questions/453969/how-can-i-order-gnome3-shell-extensions-at-the-top

Anyway, I really appreciate your time for taking a look at my proposed idea, would very much love it if you added this functionality as I have always liked having window buttons in the panel without window titlebar decorations and your extension is a hell of a lot better than what I remember Maximus being back in the day. Thank you for the work you have already contributed and I wish you all the best.

Cheers!

Joshua

Option for using gtk-theme buttons

First of all, your extension is genius and really needed for the GNOME-Desktop in my opinion. My issue or better enhancement would be, enable the user to use his gtk-theme buttons for the close, min and max buttons. Additionally i would give the option to replace the activity button with window-controls and get the activity button back if no window is maximized. This way the window-title would not move if a window get maximized. All of this adds consistency and would be really awesome.

Please take this with a grain of salt, because i have no experience with GNOME-Shell-extensions and don't really know, if this enhancement is possible. Anyway, thank you for the effort.

Error: No signal 'size-changed' on object 'ShellWM'

I can not activate the unite extension (installed latest version via: extensions.gnome.org) on my Ubuntu 16.04 installation (dual monitor setup)

LG shows the following error:

Error: No signal 'size-changed' on object 'ShellWM'

Titlebar for halftiled windows

In my opinion it would be better if halftiled windows have the titlebar and window buttons on it, as it was under Unity and only for maximized windows they get moved to the panel. Something like this:

bildschirmfoto von 2017-09-21 12-47-26

Are there any plans on implementing a global menu in future versions? The Ubuntu Mate guys seem to patch unity-gtk-module, because they implemented a global menu in Mate.
There is already a Global Menu extension in the works but lestcape has stopped development, because he found no solution of implementing a global menu under Wayland. Maybe you can work together and bring Unity back to it's users.

Thank you for your work!

[Feature Request] Desktop name in panel

Unity had a feature that showed "Ubuntu Desktop" in the top left of the panel if no window was focused or when it just showed the desktop. In Gnome Shell desktop symbols has to be activated, so if you click on the desktop the opened windows get unfocused.

unity

If it's possible it would be great if the extension could fetch the right name of the Distro that's used. Maybe this link can help:

https://unix.stackexchange.com/questions/6345/how-can-i-get-distribution-name-and-version-number-in-a-simple-shell-script

Mockups:

ubuntu_desktop
fedora_desktop
antergos_desktop

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.