shuairan / gtile Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vibou/vibou.gtile
cinnamon extension that tiles windows as you like.
This project forked from vibou/vibou.gtile
cinnamon extension that tiles windows as you like.
Hi,
is it possible to add Mousebuttons as binding?
On Windows Fancy Zones I could define that I move the window with the left mouse (as usual) an by additional right clicking, it shows the zones and I can drop the window there.
by now the last instance of gTile gets the key-focus. may need to restructure the keyboard handling and binding and globally catch the key event.
Dear shuairan, I saw that you are working on the gTile extension. As far as I have seen, you focus on improvements for Cinnamon. Since Gnome Shell 3.8.x, vibou's original extension does not install anymore. Do you have any idea how to fix this? Thanks in advance.
I have installed the gTile as per the guide. When I press super+space bar....(i'm assuming super is the windows key) Nothing ever pops up. Am I missing a critical step?
Or am I supposed to add a grid setting button?
I also have been getting this error:
"An error occurred during installation or updating. You may wish to report this incident to the developer of gTile@shuairan.
If this was an update, the previous installation is unchanged
Details: [Errno 2] No such file or directory: '/tmp/tmp3CX79g/metadata.json'"
(Linux mint 15, Cinnamon 1.8.8)
Hello!
I am trying to find a way to launch this extension from terminal.
This is because I want to try testing it out in conjunction with another extension, SmartPanel, as one of the programmable actions.
I encountered this error when I press Super+space to invoke gTile.
No pop up is shown. I'm using Mint 15 64-bit.
$ cinnamon --version
Cinnamon 1.8.8
$ tail -n 10 ~/.xsession-errors
"'
[WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
JS ERROR: !!! Exception was: TypeError: grids is undefined
JS ERROR: !!! message = '"grids is undefined"'
JS ERROR: !!! fileName = '"/home/leesei/.local/share/cinnamon/extensions/gTile@shuairan/extension.js"'
JS ERROR: !!! lineNumber = '497'
JS ERROR: !!! stack = '"showTiling()@/home/leesei/.local/share/cinnamon/extensions/gTile@shuairan/extension.js:497
toggleTiling([object _private_Meta_Display],[object _private_Meta_Screen],null,[object _private_Meta_KeyBinding])@/home/leesei/.local/share/cinnamon/extensions/gTile@shuairan/extension.js:556
"'
[WARNING:flash/platform/pepper/pep_module.cpp(63)] SANDBOXED
Hello I install gtile from extensions manager and gtile doesn't work, I can't active or configure.
I tried add cinnamon version to metadata.json but also doesn't work
The invocation shortcut seems to no longer work in Cinnamon 5.4.2. I have tried changing it, without any effect.
Hey guys, I installed gTiles per the instructions without any errors and restarted but when I press the key combination Super ("Windows Key") + Space, nothing happens :(
Is there a error log I could look into or something that could explain this behavior. I'm running ArchLinux.
Thanks :)
I feel that it makes more sense if the gTile applet has the @shuairan.org domain name, so feel free to fork it can claim it to be yours!
MultiMonitor support is broken.
Maybe find a way to enable MultiMonitor support for cinnamon2.0's built in tiling...
My app panel is pinned to the top of the screen and set to auto-hide. However gTile doesn't "fill" my windows to the top when organizing windows e.g. there is an empty bar at the top where the panel would be. I would expect the windows to fill to the top.
Don't work in Linux Mint 17.2 Rafaela, Cinnamon version 2.6.11+rafaela. Log said that the this version is not supported.
It would be great if there were keyboard shortcuts for window sizing.
Currently, the keyboard is used to launch gTile, but then have to go to the mouse to select the area to resize the window.
So, maybe keybindings could be applied in this way:
There may be better suggestions for the key sequence, etc., but in general this idea would be extremely valuable to not require the mouse for resizing.
When using multiple monitors gTile will tile all windows. E.g. when trying to tile windows on your main screen, the windows on the secondary screen will be tiled on the main screen as well, removing all windows from the secondary screen.
This should be updated so each screen can be tiled separately.
Hey!
Would be nice if there would be possibility to mimic the built in tilling behavior, which causes windows to go flat (no rounded corners, no shadows, no windows standing out). It looks weird, when window slightly overlaps it's neighbours when focused.
I dunno if it's possible in extension, but just a thought?
It does install but if I try to load the applet it says "error while loading the applet..."
If I try to delete the applet, it says "Details: [Errno 2] No such file or directory: '/home/username/.local/share/cinnamon/applets/gTile@shuairan'"
Something seems messed up with the path, because the name of the downloaded folder is actually "gTile-applet@shuairan".
Crash probably comes from line
metaWindow.move_frame(true,x,y);
in function move_resize_window
Spec:
Would it be possible to implement an option to set margin values? IMO having a small space between windows (just as few as 10 pixels) can really improve the overall look of the tiling. Apparently this is already implemented in the original project from which this is forked, e.g. see it mentioned here: vibou#31
the new keyboard-tiling does not work in terminator. The grid will be resetted each time a key is released.
Hi - Thanks for your work on this.
The Gtile Applet isn't working for me in Mint/Cinnamon 2.4.6 - the extension seems to load ok, but the applet fails. Any idea what would be causing this or how I could fix it? Here's the log:
info t=1969-12-31T19:00:00Z ================ DBus connection established ===============
info t=2015-04-02T07:34:33Z loading user theme: /usr/share//themes/Mint-X/cinnamon/cinnamon.css
info t=2015-04-02T07:34:33Z added icon directory: /usr/share//themes/Mint-X/cinnamon/
info t=2015-04-02T07:34:33Z Loaded extension gTile@shuairan in 27 ms
info t=2015-04-02T07:34:33Z loaded at Thu Apr 02 2015 07:34:33 GMT-0400 (EDT)
info t=2015-04-02T07:34:33Z Loaded applet [email protected] in 293 ms
...
info t=2015-04-02T07:34:53Z Resized mintupdate.py (20.799999237060547x20.799999237060547px)
error t=2015-04-02T07:35:13Z extension.module.main is not a function
trace t=2015-04-02T07:35:13Z
<----------------
createApplet@/usr/share/cinnamon/js/ui/appletManager.js:334
addAppletToPanels@/usr/share/cinnamon/js/ui/appletManager.js:248
onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:187
---------------->
error t=2015-04-02T07:35:13Z [Extension "gTile@shuairan"]: Failed to evaluate 'main' function on applet: gTile@shuairan/25```
switching with arrows to another monitor should be improved:
I just upgraded Cinnamon and gtiles not work.
It is activated in Setting
Cinnamon 1.8.0
I tried to change Cinnamon version in metadata.json
{
"cinnamon-version": ["1.8.0"],
"uuid": "gTile@shuairan",
"name": "gTile",
"description": "Tile your windows as you like. It even supports multiscreen ! -EDIT: - See README.md file for configuration -",
"url" : "https://github.com/shuairan/gTile"
}
Here is an error message from ~/.xsession:
** Message: using fallback from indicator to GtkStatusIcon
JS ERROR: !!! Exception was: Error: No JS module 'panelMenu' found in search path
JS ERROR: !!! message = '"No JS module 'panelMenu' found in search path"'
JS ERROR: !!! fileName = '"/home/transposablebeuss/.local/share/cinnamon/extensions/gTile@shuairan/extension.js"'
JS ERROR: !!! lineNumber = '19'
JS ERROR: !!! stack = '"@/home/transposablebeuss/.local/share/cinnamon/extensions/gTile@shuairan/extension.js:19
"'
The two buttons on the bottom right are for "Auto-Tiling". Does sombody use that functionality?
It's a funny thing through, letting you windows tile randomly... Instead of improving that feature it will be kicked out in a future version, because I don't use it.
If you want me to keep that feature, please comment here!
In some cases the autotile buttons are not working directly.
Sometimes it seems on dual monitor the wrong button is triggered (buttom from an other screen)
I mostly see web browsers do this, but I've gotten other apps to do it as well. It seems to be Gnome-style windows that do it, Cinnamon-style windows don't. I can get Gnome-Boxes, Firefox and Chromium to do this but Xed and Nemo won't.
Here I opened Gnome-Mahjongg, maximized it, then used Gtile to snap it, and the gap around the top and sides appeared.
This often requires an additional Super+G click click to fix. It's already much slower to tile things since it's a multi-step process, but it has to be done twice.
In cinnamon settings a tiling effect can be configured. Would be nice to also use this effect if it is enabled.
Also see: Cinnamons js/ui/windowManager.js:_tileWindow
It also would be nice to use the internal system functions for tiling and to support snapping, but by now I could not figure out how to call these directly. Snapping seems to be handled by Muffin...
key focus should jump to the next instance if hitting borders, if more than one monitor/screen is available.
Recently installed Linux Mint 17 and was sad to find out my favorite extension isn't working anymore. For starters, the Configure
button is now grayed out and even the default shortcut doesn't do anything. I looked at the code but couldn't figure out what's going wrong.
I can bring up the tile selector, and set up tiles, but i can't seem to "make it so" when my selection is done.
It seems to depend on what program im using. The chrome window im writing this in is ok as long as I don't have focus on a text input or textarea.
Text editors and terminals do not work, they simply insert space or enter when i hit those keys to activate the tile selection.
cinnamon 2.6.13
T.
I don't like the default shortcut. Is there a way to configure another?
marvinone
With activated and visible gTile a drag and drop to another monitor causes some strange behaviour.
There is an extra branch which has this feature:
https://github.com/shuairan/gTile/tree/escape
the changes are that the gTile window is now able to grab the key focus, but by now it also grabs the pointer focus, and so manual tiling isnt possible while gTile is displayed.
I tried to use this great extension in a virtualbox appliance.
When first started everything is OK and the tiling works as expected. But when the size of the virtualbox changes then gTile still works on the old resolution and therefore the tiling is broken. I guess the same happens if you would use it with a laptop and dock on and off an external monitor.
I guess it should either monitor for resolution change events or update the monitor resolution on each start of gTile through super+space
.
or "cintile?
Wanted to use a new name on a complete rewrite of the extension. But that won't happen as long as developing cinnamon extensions is such a pain.
Is there a way to customize the keyboard shortcuts? If not, I would like to ask for that as a new feature.
(I left the same comment at the mint spices page, as I wasn't sure of the best location for such a suggestion) It would be great if there were keyboard shortcuts for window sizing. Currently, the keyboard is used to launch gTile, but then have to go to the mouse to select the area to resize the window.
So, maybe keybindings could be applied in this way: 1. Use the keyboard arrow keys to move to the "first square" to use. 2. Press and hold Shift while continue to press keys to hilight the full area desired. 3. Upon letting go of Shift, the resize is done, window closes.
There may be better suggestions for the key sequence, etc., but in general this idea would be extremely valuable to not require the mouse for resizing. Thanks for considering and thanks for the effort so far.
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.