Coder Social home page Coder Social logo

chwick / gnomesome Goto Github PK

View Code? Open in Web Editor NEW
129.0 129.0 13.0 101 KB

Yet another gnome extension for window tiling inspired by awesome supporting multiple workspaces and screens.

License: MIT License

Makefile 0.86% JavaScript 99.06% CSS 0.08%

gnomesome'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  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  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

gnomesome's Issues

Extension won't load after update

After updating via extensions.gnome.org and restarting my wayland session (via logout/login), the extension no longer loads. journalctl shows these errors:

gnome-shell[5730]: Some code accessed the property 'SHOW_INPUT_SLIDER' on the module 'prefs'. That property was defined with 'let' or 'const' inside the module. This was previously sup
gnome-shell[5730]: Extension "[email protected]" had error: ImportError: No JS module 'thirdparty' found in search path

I'm on Ubuntu 18.04 with Gnome 3.28.2. #14 possibly related.

Thanks for an otherwise awesome extension!

remove `gir1.2-clutter-gst-3.0` from settings dialog dependencies

gir1.2-clutter-gst-3.0 (Gobject introspection data for Clutter GStreamer elements) shouldn't be needed for the settings dialog.

This should be enough to get the settings dialog working:

sudo apt-get install gir1.2-gtkclutter-1.0
$ sudo apt-get install gir1.2-gtkclutter-1.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0
The following NEW packages will be installed:
  gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gtkclutter-1.0
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
...

Cannot open gnomesome configuration

Hello,
thanks a lot for your nice extension!
I installed recently the new Ubuntu 18.04 release and installed this extension. If I want to open the configuration menu in the tweak tool, I will get following error:

Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
  @/home/xx/.local/share/gnome-shell/extensions/[email protected]/convenience.js:8:7
  @/home/xx/.local/share/gnome-shell/extensions/[email protected]/gnomesome_settings.js:6:7
  @/home/xx/.local/share/gnome-shell/extensions/[email protected]/prefs.js:7:7
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43

Is there a certain library, I am missing? Could you point out this case in your documentation?
Thanks a lot for your help!

Update layout icon when layout changes

Currently when you change the layout of a monitor on a workspace then the icon will not update immediately. This means you don't know which layout you are in.

It will change when you perform a windowing action or when you select a window on a different monitor and go back to the original monitor.

Apps such as Lutris

Hi there, first of all I would like to thank you for that extension. It is amazing! Been using it for a year, then I moved to KDE but unfortunately there is no such thing as your extension that works so smooth and reliable so I moved back to GNOME+Gnomesome!

I have found an issue with apps such as Lutris, basically they are not obeying the gaps between windows, here is an example.

lutrisglitch

closing wayland-native application crashes Gnome Shell (3.30.2)

If I open any wayland application (tested gnome-terminal, firefox on wayland) and move it to my secondary monitor, closing that window causes gnome-shell to crash. Doesn't happen when using xterm, firefox (for X), or qutebrowser in xwayland.

Edit: Additional Datapoints (will add as I find)

  • putting the wayland application in float mode before closing avoids the crash.
  • closing is only action I've found that causes the crash. moving the tile around the layout or to another monitor is fine.

Error on Gnome-shell 3.38

Getting this on gnome-shell 3.38 when trying to start

Extension [email protected]: TypeError: meta is null
addLayout@/home/nico/.local/share/gnome-shell/extensions/[email protected]/menubutton.js:45:24
                                                    _init@/home/nico/.local/share/gnome-shell/extensions/[email protected]/menubutton.js:53:22                   initSettingsMonitor/indUpdate<@/home/nico/.local/share/gnome-shell/extensions/[email protected]/manager.js:192:39
                                                    initSettingsMonitor@/home/nico/.local/share/gnome-shell/extensions/[email protected]/manager.js:208:9
                                                    _init@/home/nico/.local/share/gnome-shell/extensions/[email protected]/manager.js:102:14
                                                    enable@/home/nico/.local/share/gnome-shell/extensions/[email protected]/extension.js:15:15

Some keybindings do not work reliably

Sometimes increase the master window area does not work until I restarted my session (alt+f2 -> r). The rest of the extension is still functional.

  1. There is no log message.
  2. I remapped the keyboard shortcut to something else, and the new shortcut did not work.

Launching new application from Activities menu while in tiled mode crashes Gnome Shell.

Great project, thanks for the work!

When in vertical or horizontal tiled mode, open the activities menu/launcher by pressing Super. Select a new application to launch. Gnome shell crashes and returns to the log-in screen.

The last critical message in Gnome Logs is:

Sender: gnome-session-b
Time: 10:06:24
Message: Unrecoverable failure in required component org.gnome.Shell.desktop
Audit Session: 5
Priority: 3

I also get these reoccurring warnings/errors:

Sender: gnome-shell
Time: 10:05.13
Message: JS ERROR: TypeError: this.layouts[cw] is undefined
Manager<.current_layout@/home/mike/.local/share/gnome-shell/extensions/[email protected]/manager.js:318:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
MenuButton<._updateIndicator@/home/mike/.local/share/gnome-shell/extensions/[email protected]/menubutton.js:73:25
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Audit Session: 6
Priority: 4
Sender: gnome-shell
Time: 10:04.49
Message: JS WARNING: [/home/mike/.local/share/gnome-shell/extensions/[email protected]/manager.js 318]: reference to undefined property 0
Audit Session: 6
Priority: 5

Ubuntu 17.10, x86_64, kernel 4.13, Gnome 3.26, Wayland.

feature request: do not break gnome split view layout if it has been asked

Example1: If i open a single window in vertical mode, it takes the whole screen.
So i do Super+Left to split view, but every now and then the layout is recalculated.

Example2: if i open several windows in vertical mode and use the Super+Left split view to the left shortcut on a small window of the right column, it should move that window to the left column as if SuperRight+Ctrl+Enter was typed.

This is somehow related to #18.

I hope these request do not annoy you, it's only here to help conceiving a better UI. If it does not i'll stop !

Wayland: Opening windows jumping

When opening a new window inside a Wayland session,
the window first appears aligned with the left screen edge
and then jumps to its correct position.

On Xorg it appears correctly.

Move Focus to Monitor

Hi. I would like to have a keybind to move the focus between monitors.

I would set it up like this:

<Mod4>j              = Move Focus to Next Window
<Mod4>k              = Move Focus to Previous Window
<Mod4><Shift>j       = Move Focused Window below Next Window (in the list)
<Mod4><Shift>k       = Move Focused Window above Previous Window (in the list)
<Mod4><Ctrl>j        = Move Focus to Next Monitor (Master Window)
<Mod4><Ctrl>k        = Move Focus to Previous Monitor (Master Window)
<Mod4><Ctrl><Shift>j = Move Focused Window to Next Monitor (in the list)
<Mod4><Ctrl><Shift>k = Move Focused Window to Previous Monitor (in the list)

Desktop being treated as a window

I have nemo-desktop running to get desktop icons appearing and gnomesome looks like its treating this as another window and tiling a blank gap.

Would it make sense to have an option to list specific programs from being tiled?

modal dialogs

There's a gnome tweak allowing one to choose wether to "join modal dialogs" or not.
When using gnomesome, this setting is not respected: modals use their own place wether that setting is checked or not.
What is expected ? that the modal is shown above the window creating it, not next to it.

Ability to override layout per-application

A handy feature that some other window managers have is to override the layout on a per-application basis, allowing for modals like pinentry to be set to always float.

Shortcuts for specific layouts

Currently we have shortcuts to cycle layouts, would it be possible to specify shortcuts for floating layout / horizontal layout / vertical layout so you can easily toggle between them?

Icons Replaced by Generic Window Icon

I'm proposing that the icons be renamed from window-* to something akin to gmsm-* ("gnomesome"), as the icons on multiple Fedora 30 systems of mine seem to be replaced with a generic window icon, triggered by the name. I end up re-doing this each time I update the extension, and I figure others are likely affected by it.

The change would need to take place for each file in the icons/status folder, as well as each mention of them in layout.js.

I am happy to submit a PR for this if necessary.

Example Image

Error on 3.38 again, settings can't be displayed

Hi,

I justed installed the extension again from the gitlab page, as soon as #46 was closed. The extension now works, however I cannot access the settings

Error_Messsage

The technical details are

`Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
@/home/may/.local/share/gnome-shell/extensions/[email protected]/convenience.js:8:17
@/home/may/.local/share/gnome-shell/extensions/[email protected]/gnomesome_settings.js:6:38
@/home/may/.local/share/gnome-shell/extensions/[email protected]/prefs.js:7:27
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
`

Layout: centerwork / centerfair for ultrawide monitors

I am trying out Ubuntu 20.04 and I am coming from awesomewm.

There I had the centerwork layout which works really well with ultrawide monitors. where the main window was "fullscreen" but to the left and right were smaller windows. The main window hat 2/4ths of the space in the middle and 1/4 was free to the left and the right.

Is there a possibility that this can be implemented?

I used this: https://github.com/lcpz/lain/blob/a4c86f9ace9dc5caad4f942af5d1be3eca47f666/layout/centerwork.lua

Rounded corners in tiling mode

Hi,

so I had reported an issue about rounded corners in fullscreen or tiled mode and, well, that's because of this extension.


Expected

Tiled windows in fullscreen mode or when tiled do not have rounded corners

Status

Windows do have rounded corners

Proof

Extension

Steps to reproduce

  • Without the extension or with the extension using Floating
  • Full screen a window. It has have sharp, neat corners.

  • Tile this window manually with another one. They have sharp, neat corners

  • Pass to Vertical mode.
  • Full screen a window. It has rounded corners.

  • Open another window on the same works space.

  • The extension now tiles the windows left-right. They have rounded corners.

Switching layout has impact on other screens

Hi,

I am switching layout/cycle between those on my second monitor and the primary one gets also adjusted and moves windows around. Am I doing something wrong here? I thought that layouts are screen independent.

Maybe you should also provide a "default" layout in some kind of settings menu like shellshape does. Would be really nice.

Gnomesome crashes

Hello,

with the latest release gnomesome crashes with following line in log:

gnomesome_chwick.github.com has error: TypeError: this.gslayout is null

I tried to fix this error message inserting an if here:

    destroy: function() {
        if (this.gslayout) {
            this.gslayout.removeGSWindow(this);
        }
        this.window.gswindow = undefined;
    },

I'm not sure whether there are any unintended consequences ...

Best

weird blue selection

Totally useless bug report, because i don't know how to reproduce. However sometimes i see this;
capture d ecran du 2018-11-16 18-38-00

In vertical mode, half of the screen stays blue.

Loosing keybindings sometimes

Unfortunatly, this isn't reproducible easily, but Gnomesome looses it's keybindings multiple times over the course of a day for me.

E.g. I switch to another workspace with Super+3 just fine, but when I press Super+1 afterwards, Geary is being opend. At that point I just open Gnome Tweaks and reload Gnomesome once to get the bindings back.

If there is any information that might be helpful, I'll happily try to provide it.
GNOME Shell 3.34.5 on NixOS 20.03

Crashes on 3.38

Hi,

so I installed the latest version here from github and my gnome session gets terminated regularly.

I couldn't find a way to replicate 100%, but possibly it's related the Auto Move Windows extension.

I'd appreciate hints on how to debug this further.

I'm on Ubuntu 20.10

Error global.screen undefined

On gnome 3.30.1

Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:20 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:21 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:22 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:22 fireYoga gnome-shell[1339]: Ignoring excess values in shadow definition
Oct 02 16:49:23 fireYoga gnome-shell[1339]: JS WARNING: [resource:///org/gnome/shell/ui/extensionDownloader.js 86]: reference to undefined property "GLocalFileOutputStream"
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Archive:  /tmp/T0RNQZ.shell-extension.zip
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/layout.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/prefs.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/glib-2.0/schemas/gschemas.compiled
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/extension.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/utils.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/glib-2.0/schemas/org.gnome.shell.extensions.gnomesome.gschema.xml
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/icons/status/window-tile-full-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:    creating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/icons/status/
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/manager.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/maximizelayout.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/icons/status/window-tile-vertical-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/convenience.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/splitlayout.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/icons/status/window-tile-floating-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/icons/status/window-tile-horizontal-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/icons/status/window-tile-vertical-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/icons/status/window-tile-floating-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/menubutton.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/icons/status/window-tile-horizontal-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/glib-2.0/schemas/org.gnome.shell.extensions.gnomesome.keybindings.gschema.xml
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:    creating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/schemas/
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/gnomesome_settings.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/gswindow.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.gnomesome.keybindings.gschema.xml
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/data/icons/status/window-tile-full-symbolic.svg
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/floatlayout.js
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:   inflating: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.gnomesome.gschema.xml
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]:  extracting: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/metadata.json
Oct 02 16:49:23 fireYoga gnome-shell[1339]: Some code accessed the property 'ENABLED_EXTENSIONS_KEY' on the module 'extensionSystem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] adding icon dir: /home/genofire/.local/share/gnome-shell/extensions/[email protected]/icons/status
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-layout".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-layout
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-layout".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-layout
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-with-next-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-with-next-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-with-previous-window".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-with-previous-window
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "next-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: next-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "previous-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: previous-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-to-next-monitor".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-to-next-monitor
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "increase-master-area".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: increase-master-area
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "decrease-master-area".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: decrease-master-area
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "increase-n-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: increase-n-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "decrease-n-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: decrease-n-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "swap-window-with-master".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: swap-window-with-master
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-1".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-1
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-2".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-2
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-3".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-3
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-4".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-4
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "set-workspace-5".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: set-workspace-5
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-1".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-1
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-2".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-2
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-3".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-3
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-4".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-4
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "move-window-to-workspace-5".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: move-window-to-workspace-5
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-maximize".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-maximize
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-fullscreen".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-fullscreen
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "window-toggle-floating".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: window-toggle-floating
Oct 02 16:49:23 fireYoga org.gnome.Shell.desktop[1339]: Window manager warning: Trying to re-add keybinding "launch-terminal".
Oct 02 16:49:23 fireYoga gnome-shell[1339]: [gnomesome] Error: failed to add keybinding handler for: launch-terminal
Oct 02 16:49:23 fireYoga gnome-shell[1339]: Extension "[email protected]" had error: TypeError: global.screen is undefined

Error on opening settings

Hi!

I'd love to try this but when I open the settings I'm getting this error now:

Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found

Stack trace:
  @/home/tom/.local/share/gnome-shell/extensions/[email protected]/convenience.js:8:7
  @/home/tom/.local/share/gnome-shell/extensions/[email protected]/gnomesome_settings.js:6:7
  @/home/tom/.local/share/gnome-shell/extensions/[email protected]/prefs.js:7:7
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:67:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:82:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:235:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:389:5
  @<main>:1:43
  

gnomesome spams syslog

Hi,
gnomesome is really nice. However it spams my syslog:

Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:07 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:07 laptop gnome-shell[10618]: h 1372 w 1523 x 0 y 0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Waiting until window is ready
Mar  6 15:35:07 laptop gnome-shell[10618]: h 1372 w 1523 x 0 y 0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] window-entered-monitor 0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:07 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:07 laptop gnome-shell[10618]: h 1372 w 1523 x 0 y 0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:07 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:07 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:07 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Window added 0 0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Waiting until window is ready
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] window-entered-monitor 0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Window added 0 0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 681 w 1265 x 1285 y 701
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Waiting until window is ready
Mar  6 15:35:08 laptop gnome-shell[10618]: h 681 w 1265 x 1285 y 701
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] window-entered-monitor 0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current window/monitor: 0/0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout size: 2
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 681 w 1265 x 1285 y 701
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 681 w 1265 x 1285 y 701
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Window added 0 0
Mar  6 15:35:08 laptop gnome-shell[10618]: [gnomesome] Current layout floating
Mar  6 15:35:08 laptop gnome-shell[10618]: h 774 w 1674 x 433 y 459
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20
Mar  6 15:35:08 laptop gnome-shell[10618]: h 681 w 1265 x 1285 y 701
Mar  6 15:35:08 laptop gnome-shell[10618]: h 1372 w 1523 x 518 y 20

This is not the full two seconds.

  1. Can every log message of Gomesome use the prefix? ([gnomesome])
  2. Can this be only be done in some kind of bedug mode?

It seams a lot.
Thanks.

reference to undefined property "menuButton"

Hi again,

I was hunting a crash and found this unrelated:

Mar 12 14:25:00 laptop gnome-shell[5087]: JS WARNING: [/home/human/.local/share/gnome-shell/extensions/[email protected]/manager.js 284]: reference to undefined property "menuButton"
Mar 12 14:25:00 laptop gnome-shell[5087]: JS ERROR: TypeError: this.menuButton is undefined#012prepare_workspace/<@/home/human/.local/share/gnome-shell/extensions/[email protected]/manager.js:284:68#012set mode@/home/human/.local/share/gnome-shell/extensions/[email protected]/layout.js:110:106#012roll_layout@/home/human/.local/share/gnome-shell/extensions/[email protected]/layout.js:161:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012initKeyBindings/<@/home/human/.local/share/gnome-shell/extensions/[email protected]/manager.js:114:80#012_do@/home/human/.local/share/gnome-shell/extensions/[email protected]/manager.js:255:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012handleKey/added<@/home/human/.local/share/gnome-shell/extensions/[email protected]/manager.js:230:41

I am on GNOME Shell 3.30.2 on Xorg (ubuntu 18.10).
I have not looked at it further.

move-to-next-monitor issue w/ gnome-shell 3.30.1

move-to-next-monitor does not work on my system

  • gnome-shell v 3.30.1
  • gnomesome v 6

Here is some debugging info

[gnomesome] start action: handler for binding move-to-next-monitor
[gnomesome] Uncaught error in handler for binding move-to-next-monitor: TypeError: Utils.DisplayWrapper.getMonitorManager(...).get_n_monitors is not a function
roll_move_to_monitor@/home/ida/.local/share/gnome-shell/extensions/[email protected]/manager.js:423:26
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
initKeyBindings/<@/home/ida/.local/share/gnome-shell/extensions/[email protected]/manager.js:117:80
_do@/home/ida/.local/share/gnome-shell/extensions/[email protected]/manager.js:250:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
handleKey/added<@/home/ida/.local/share/gnome-shell/extensions/[email protected]/manager.js:225:41

Add column

Hi I love this extension, but I have a question. There is a way to add columns in vertical view ?

Exclude window classes from tiling

I would need to have windows excluded from tiling. For example some applications look pretty ugly or don't allow to resize.

It would be easy to exclude them hardcoded. The problem for me is to write it so that you can have preferences for it. Or at least store it in dconf. Maybe you can give me a hint on that than I can prepare a PR if you are interested in such an extension.

Otherwise I will stay with my clone and hardcoded excludes. Here is the hardcoded example:
tflori@ef110d6

readme.md

Hello and than you for the great work done on this extension. I love it. It's simple and to the point.
Now to the "problem": Why use Mod4 instead of Super in the readme? Almost everyone uses super as the name of the key between ctrl and alt. This is so not friendly for linux newcommers. While i am not a power user, i can't say i am noob in linux.
Then, try to be a little bit more consistent:
Mod4+Shift+j: Swap the current client with the next client in a layout
Mod4+Ctrl+Shift+j: Move the active window to the next monitor
is client the same thing as window? Don't you think it's more clear to say:
Mod4+Shift+j: Swap the current window with the next window in a layout?
It will make it easyer for people that go trough the readme to start with the extension.

Anyway, thanks again and keep up with the great work.

PS. Sorry if this is not the place to say this, still learning stuff

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.