-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
112 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,49 @@ | ||
/*global global, log */ // <-- jshint | ||
/*jshint maxlen: 150 */ | ||
/* @overview | ||
* Pixel Saver v1.0 | ||
* Amaury SECHET <[email protected]> | ||
* Other contributors: | ||
* - Amy Chan <[email protected]> | ||
* Sept-- 2013. | ||
* | ||
* ## Help! It didn't work/I found a bug! | ||
* | ||
* This extension is based on work by Amy Chan, namely maximus[1] and Window Buttons[2]. | ||
* | ||
* 1. Make sure you can *reproduce* the bug reliably. | ||
* 2. Do 'Ctrl + F2' and 'lg' and see if there are any errors produced by Maximus, | ||
* both in the 'Errors' window *and* the 'Extensions' > 'Maximus' > 'Show Errors' | ||
* tab (the 'Show Errors' is in GNOME 3.4+ only I think). | ||
* 3. Disable all your extensions except Maximus and see if you can still reproduce | ||
* the bug. If so, mention this. | ||
* 4. If you can't reproduce th bug with all extensions but Maximus disabled, then | ||
* gradually enable your extensions one-by-one until you work out which one(s) | ||
* together cause the bug, and mention these. | ||
* 5. Open a new issue at [4]. | ||
* 6. Include how you can reproduce the bug and any relevant information from 2--4. | ||
* 7. Also include: | ||
* - your version of the extension (in metadata.json) | ||
* - list of all your installed extensions (including disabled ones, as | ||
* this is no guarantee they won't interfere with other extensions) | ||
* - your version of GNOME-shell (gnome-shell --version). | ||
* 8. I'll try get back to you with a fix. | ||
* (Brownie points: open a terminal, do `gnome-shell --replace` and reproduce the | ||
* bug. Include any errors that pop up in this terminal.) | ||
* | ||
* ## Note: | ||
* It's actually possible to get the undecorate-on-maximise behaviour without | ||
* needing this extension. See the link [5] and in particular, the bit on editing | ||
* your metacity theme metacity-theme-3.xml. ("Method 2: editing the theme"). | ||
* | ||
* ## References: | ||
* [1]:https://launchpad.net/maximus | ||
* [2]:https://extensions.gnome.org/extension/59/status-title-bar/ | ||
* [3]:https://bitbucket.org/mathematicalcoffee/window-options-gnome-shell-extension | ||
* [4]:https://bitbucket.org/mathematicalcoffee/maximus-gnome-shell-extension/issues | ||
* [5]:http://www.webupd8.org/2011/05/how-to-remove-maximized-windows.html | ||
* | ||
*/ | ||
const ExtensionUtils = imports.misc.extensionUtils; | ||
const Me = ExtensionUtils.getCurrentExtension(); | ||
const Decoration = Me.imports.decoration; | ||
|
@@ -19,3 +63,4 @@ function disable() { | |
AppMenu.disable(); | ||
Decoration.disable(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
{"shell-version": ["3.8", "3.10", "3.12", "3.14"],"uuid": "[email protected]", "name": "Maximus Two", "description": "Removes the title bar on maximised windows.\n Based on Pixel Saver (use Window Buttons to get the buttons (you can configure them then)\n You should be albe to use the original Maximus extension if you have 3.4 or 3.6", "url": "https://github.com/wilfm/GnomeExtensionMaximusTwo", "version": 2} | ||
{ "description": "Removes the title bar on maximised windows.\n Based on Pixel Saver (use Window Buttons to get the buttons (you can configure them then)\n You should be able to use the original Maximus extension if you have 3.4 or 3.6\nPlease report bugs on the github issues page: https://github.com/wilfm/GnomeExtensionMaximusTwo/issues\nNote you need xprop installed for this to work - see the github page for help with which package to install.", | ||
"name": "Maximus Two", | ||
"shell-version": [ | ||
"3.6", | ||
"3.8", | ||
"3.10", | ||
"3.12" | ||
], | ||
"url": "https://github.com/wilfm/GnomeExtensionMaximusTwo", | ||
"uuid": "[email protected]", | ||
"version": 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ function getWindow() { | |
|
||
return null; | ||
} | ||
|