-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guake width wrong on non-Unity Ubuntu desktop #517
Comments
I managed to fix this by modifying src/guake/guake_app.py and replacing:
with:
Apparently the DESKTOP_SESSION is "ubuntu" when the user is using Unity, but it's different for the other Ubuntu flavors (it's "gnome" for Ubuntu GNOME, "mate" for Ubuntu MATE, "Lubuntu" for Lubuntu, etc.). I'm not sure if this is the best approach, but it works for me :) |
I have the same problem. Ubuntu 14.10 + Gnome 3.12.2. |
I moved this code to a dedicated method. It should work on ubuntu 14.10 and 15.04 at least |
that's why I used lower() to remove this ambiguity |
I guess that you won't use unity on lubuntu, xubuntu, etc. Only on "ubuntu" |
Sorry, I noticed that after and removed my comment. I'm not a programmer, I'm just trying to improve what I can in Guake with my limited knowledge. Can't the code just detect Unity since the left launcher-specific code is only needed there? Because there are quite a few Ubuntu flavors... your code is missing Xubuntu and Kubuntu for instance and it's easy to figure out if the users runs Unity - only when running Unity, "DESKTOP_SESSION" returns "ubuntu" (for Ubuntu 14.04 and newer at least). |
Or I may have misunderstood your code, like I said I'm not a programmer. If that's the case, ignore my comment above :) |
Signed-off-by: Gaetan Semet <[email protected]>
I managed to setup a Ubuntu Gnome 15.04 VM and it works :) |
Issue is still here on Ubuntu 15.04 stock install. I tried 0.5.0 which is in 15.04 then 0.7.2 from webupt8 ppa |
Signed-off-by: Gaetan Semet <[email protected]>
Signed-off-by: Gaetan Semet <[email protected]>
When using Guake (0.7.0) on a non-Unity desktop (for instance, in Ubuntu GNOME which uses GNOME Shell instead of Unity), the app assumes I'm somehow using Unity and adds a gap to Guake which doesn't fill the screen 100% horizontally. Here's a screenshot: http://i.imgur.com/cDJhkY9.jpg (notice the space on the right).
And here's the output:
Tested in Ubuntu GNOME 15.04, Unity is not installed and /apps/compiz-1/ doesn't exist in dconf so I'm really not sure why Guake does this...
The text was updated successfully, but these errors were encountered: