Coder Social home page Coder Social logo

gtile's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtile's Issues

Mouse only

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.

gTile compatible with Gnome Shell 3.8.x?

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.

Cinnamon 1.8.8 gTile not working

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)

Launch from CLI

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.

gTile not shown with error "grids is undefined"

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

Problems with mint 17.2, cinnamon 2.6.13

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

Broken in Cinnamon 5.4.2

The invocation shortcut seems to no longer work in Cinnamon 5.4.2. I have tried changing it, without any effect.

Nothing happens

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 :)

Fork gTile applet

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

MultiMonitor support is broken.

Maybe find a way to enable MultiMonitor support for cinnamon2.0's built in tiling...

Windows don't fill entire height when panel auto-hides

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.

Linux Mint 17.2 Rafaela

Don't work in Linux Mint 17.2 Rafaela, Cinnamon version 2.6.11+rafaela. Log said that the this version is not supported.

Keyboard Shortcuts for Window Sizing

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.

Does not work with multiple monitors

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.

Flatten windows? Like built in tiling?

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?

Can't load gTile applet in cinnamon 2.4.8

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".

Feature Request: Window Margins

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

Applet not working - extension.module.main is not a function

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```

Better Keyboard support on multi-monitor environments

switching with arrows to another monitor should be improved:

  • directly switch to next monitor
  • recognize monitor layout and jump to correct up/down/left/right monitor
  • visually blink to show which monitor is activated
  • use tab to move (current selection) to next screen

Make compatible with Cinnamon 1.8.0

I just upgraded Cinnamon and gtiles not work.
It is activated in Setting

cinnamon_extension_gtiles

> cinnamon --version

Cinnamon 1.8.0

I tried to change Cinnamon version in metadata.json

> cat 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
"'

Remove Auto-Tiling? (is somebody using that?)

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!

AutoTile Buttons sometimes not working

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)

Apps tile with gaps around them

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.

Screenshot from 2022-12-02 01-46-06

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.

Tiling Effect

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...

gTile is already active but not working for me!

Super + Space is doing nothing.

Install gTile applet and got a message: gTile is not installed or incompatible wtih Cinnamon version. Please install/update it in order to use the applet.

I'm using Archlix (64bit) with lastest update.

Screenshot from 2013-03-09 10:27:12

Screenshot from 2013-03-09 10:28:14

Cinnamon 2.2.13 not working (Linux Mint 17)

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.

Selected tiles fail to activate

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.

Grid sizes are not updated when monitor resolution changes

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.

Rename to "cTile"?

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.

Custom keyboard shortcuts

Is there a way to customize the keyboard shortcuts? If not, I would like to ask for that as a new feature.

Feature Request: Keyboard only Interaction

(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.

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.