hardpixel / unite-shell Goto Github PK
View Code? Open in Web Editor NEWUnite is an extension that makes GNOME Shell look like Ubuntu Unity Shell.
License: GNU General Public License v3.0
Unite is an extension that makes GNOME Shell look like Ubuntu Unity Shell.
License: GNU General Public License v3.0
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.
Check if top icons work with touchscreen.
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
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:
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!
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.
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; }
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.
I create a working extension here, just for test it:
https://github.com/lestcape/metacity-buttons
I open also a question in stackoverflow related with that, to find a better implementation if some one help:
https://stackoverflow.com/questions/50313744/how-to-darwing-the-window-buttons-from-a-gtk-context-in-gjs
Whatever you want to know about it, just ask.
[BUG] Notification pop-up is too small in width at HiDPI display
If i deactivate and reactivate the extension with gnome tweaks the buttons disappear.
also if i change the buttons alignment. (e.g from right to left)
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!
Thanks for a great extension!
When a window is dragged to the left or right edge of the screen it covers half the screen and gets maximized vertically.
Hide the window decorations in that case as well.
When you integrate the settings, an option to customize the clock format would be a nice addition.
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
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!
Requirements:
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.
It would be nice to have a default ambiance theme window buttons at the top left corner instead of custom ones
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.
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 :)
Is it possible to add software menu bar in top left 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.
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:
Mockups:
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.
Hi,
I'm just wondering if I can use the unite-shell on a lower version than my current GNOME Shell? Thanks!
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.
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..
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'
Love this, it's the only thing that makes using ubuntu 18.04 feel 'right'. Thank you.
I'm wondering if there could be a way to reorder elements on the menubar. would be really nice. I tried to use https://extensions.gnome.org/extension/1201/extend-panel-menu/ but it breaks your extension.
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).
Window decorations are removed from windows with CSD not in primary monitor.
Activities button should have 3 options:
Auto hide mode should hide the button only when there are windows visible.
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?
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):
And here it is what it looks like when my window is maximized:
I just want to point out that using https://github.com/vmavromatis/gnome-layout-manager with https://github.com/lestcape/Gnome-Global-AppMenu makes it more look & act like Unity. Maybe you can get hints from them.
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
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.
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.
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
The now unmaintained project TopIcons-plus has the feature to convert the icons in the tray to grayscale.
https://github.com/phocean/TopIcons-plus
https://raw.githubusercontent.com/phocean/TopIcons-plus/master/screenshots/tray2.png
It would be great if this was also supported by unite-shell.
Thanks a lot in advance!
As per the title, when I resume from locked / suspend I have to do the trusty alt+F2 then 'r' command to get them back
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.