Coder Social home page Coder Social logo

theychx / workspaceswitcherwraparound Goto Github PK

View Code? Open in Web Editor NEW

This project forked from war1025/workspaceswitcherwraparound

18.0 2.0 8.0 13 KB

Gnome Shell Workspace Switch Wraparound Extension

JavaScript 55.09% Makefile 44.91%
gnome gnome-shell gnome-shell-extension gnome-extension

workspaceswitcherwraparound's Introduction

workspaceswitcherwraparound's People

Contributors

adambaker avatar eathtespagheti avatar jfernandz avatar julien-nc avatar matheuslasserre avatar rody-oldenhuis avatar theychx avatar war1025 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

workspaceswitcherwraparound's Issues

Gnome 41.x Support

I'm not sure what changes (if any) need to be made, but a quick (and potentially dirty) workaround can be achieved by modifying the shell-version array in ~/.local/share/gnome-shell/extensions/[email protected]/metadata.json to include '41' like so:

{
  "_generated": "Generated by SweetTooth, do not edit",
  "description": "When switching workspaces, going down from the bottom workspace switches to the top workspace. Likewise, up from the top workspace goes to the bottom workspace.",
  "name": "Workspace Switch Wraparound",
  "shell-version": [
    "3.30",
    "3.34",
    "3.32",
    "3.36",
    "3.38",
    "40",
    "41"
  ],
  "url": "https://github.com/theychx/WorkspaceSwitcherWrapAround",
  "uuid": "[email protected]",
  "version": 7
}

then log out and back in.

TypeError: global.screen is undefined

With this extension installed on gnome-shell 3.30.0+19+g7778d1c30-1, the following error is logged in journalctl when right-clicking on any window titlebar.

Sep 10 21:26:45 desktop-arch gnome-shell[1163]: JS ERROR: TypeError: global.screen is undefined
                                                lastWSIndex@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:3:26
                                                indexUp@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:16:9
                                                get_neighbor@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:22:11
                                                _buildMenu@resource:///org/gnome/shell/ui/windowMenu.js:102:34
                                                wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                _init@resource:///org/gnome/shell/ui/windowMenu.js:26:9
                                                wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                _Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
                                                newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32
                                                showWindowMenuForWindow@resource:///org/gnome/shell/ui/windowMenu.js:216:20
                                                wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                _showWindowMenu@resource:///org/gnome/shell/ui/windowManager.js:1987:9
                                                wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

Furthermore, attempting to switch workspaces spawns the following message.

Sep 10 21:28:55 desktop-arch gnome-shell[1163]: JS ERROR: TypeError: global.screen is undefined
                                                lastWSIndex@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:3:26
                                                indexDown@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:6:30
                                                get_neighbor@/home/imyxh/.local/share/gnome-shell/extensions/[email protected]/extension.js:24:11
                                                _showWorkspaceSwitcher@resource:///org/gnome/shell/ui/windowManager.js:2085:21
                                                wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

Keyboard shortcuts inactives

Hello,

First of all, thanks for your very useful extension !

Under fedora 29 (GNOME Shell 3.30.1) your extension « disables » the keyboard shortcut for the navigation between workspaces.

when disabling your extension, shortcuts works well, but, after enabling the extension, the workspace navigation shortcuts seems to be disabled.

There is nothing printed in dmesg -w and keyboard events are effectively sent (with evemu-record, I see the Ctrl + Tab pressed (my user defined shortcut for action go to next workspace))

No support for 3.24

As stated, this is not updated for 3.24. Can you please add 3.24 to the metadata json?

Can you make it work with swipe gesture?

I loved this app. Then I went to Ubuntu 21.10. Now it uses Gnome 40, Wayland, and the workspaces are left-right and it no longer works. Can you please make it work again with Gnome 40 and Wayland? Or maybe a whole new one for Gnome 40+?

Problem installing extension manually

Hi,

I tried to install this shell extension on Ubuntu 17.10 (gnome-shell 3.26.1) by downloading as ZIP file and extracting the contents. Now the three files are under my ~/.local/share/gnome-shell/extensions/WorkspaceSwitcherWrapAround-master. But I don't see it listed in Gnome Tweaks - Extensions after logging out or even a restart. Am I missing something ? Please help.

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.