Coder Social home page Coder Social logo

sanjarcode / gnome-shell-wsmatrix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mzur/gnome-shell-wsmatrix

0.0 0.0 0.0 566 KB

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails

License: GNU General Public License v3.0

JavaScript 99.68% Makefile 0.32%

gnome-shell-wsmatrix's Introduction

Workspace Matrix

GNOME shell extension to arrange workspaces in a two dimensional grid with workspace thumbnails.

Preview

Theme: Numix-Complement

This is a clone of the Workspace Grid extension. I was not able to wrap my head around Workspace Grid so I started to implement my own extension to get the features I wanted.

Features

  • Configurable number of rows and columns of the workspace grid.
  • Workspace thumbnails with live previews of the workspaces (optional).
  • Configurable scale of the workspace thumbnails.
  • Configurable timeout of the workspace switcher popup.
  • Three wraparound modes for navigating workspaces (optional).
  • Workspace labels in the workspace switcher popup (optional).
  • Workspace overview on Super+W.
  • Workspace switcher popup on all monitors (optional).
  • Workspace grid in the activity overview (optional).

Installation

The easiest way to install this extension is via the GNOME Shell Extensions website. Alternative installation methods are noted below.

GNOME Shell Extensions Website Method

  1. Visit the GNOME Shell Extensions website. Follow the instructions to install the GNOME native host connector/messaging application and browser extension.
  2. To install Workspace Matrix, click to toggle the "Off" icon on the extension page. A red "ERROR" icon can safely be ignored. This issue is resolved after a restart of GNOME Shell.
  3. Restart GNOME Shell.

To configure the extension, return to the extension page page and click the blue "tool" icon.

Manual Linux Method

  1. Download the ZIP file of the latest release and extract it to ~/.local/share/gnome-shell/extensions/[email protected]
  2. Restart GNOME Shell.
  3. Run gnome-extensions enable [email protected] in the terminal.
  4. Restart GNOME Shell a second time.

Arch Linux Method

On Arch Linux, use this AUR:

git clone https://aur.archlinux.org/gnome-shell-extension-workspace-matrix.git
cd gnome-shell-extension-workspace-matrix
makepkg -sri

Known Issues / FAQ

How do I restart GNOME Shell?

  • If you are running the newer Wayland system, log out and log back in.

  • If you are running the X.org/X window system, press Alt+F2, type r in the "Run a command" prompt and press Enter.

My windows jump between workspaces after the machine was locked or suspended

Disable the extension, set workspaces to "static" in GNOME Tweaks and then enable this extension again. (#29)

How do I change the keyboard shortcuts?

Take a look at the wiki for the available shortcuts of this extension and how to change them.

How do I change the workspace labels?

Take a look at the wiki for a how-to.

How do I manually open the Workspace Matrix preferences window?

Go to the terminal and run gnome-extensions prefs [email protected] and the preferences pop-up should appear. Closing this pop-up will save any changes.

Contributing

Pull requests for issues that are marked as "bug" or "help wanted" are always welcome. If you want to implement any other new feature, please open an issue about this first. See the next section on how to get started with development.

If you want to report a bug, please attach the output of the command journalctl /usr/bin/gnome-shell.

Developing

You can develop this extension "live" while it is installed in GNOME on your system:

  1. Uninstall this extension if it is already installed. You can do this via the GNOME Shell Extensions website.
  2. Fork this repository and clone your fork somewhere, e.g. to ~/code/gnome-shell-wsmatrix.
  3. (optional) If testing a pull request, you may checkout the branch of the pull request using the gh utility command e.g.:
    gh pr checkout https://github.com/mzur/gnome-shell-wsmatrix/pull/152
    
  4. Create a symlink from the repository to the GNOME extensions directory, e.g.:
    ln -s ~/code/gnome-shell-wsmatrix/[email protected] ~/.local/share/gnome-shell/extensions/[email protected]
    
  5. Restart GNOME by pressing Alt+F2 and running the command r (X.org) or log out and back in (Wayland). Do this whenever you want to apply and test a change of the code.

If you change something in the gschema XML file, run make to recompile it. The make command also builds the ZIP file that can be used for new releases of this extension.

gnome-shell-wsmatrix's People

Contributors

mzur avatar ebeem avatar pnkov avatar allella avatar ettavolt avatar elijahlynn avatar gowza avatar esauvisky avatar peetersdiet avatar aminvakil avatar arritmic avatar zakkak avatar logankoester avatar matttbe avatar

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.