Workspace grid (2D) and switcher

by Unknown

UUID: workspace-grid@hernejj
Score: 24
Last edited: 1 day ago
Last commit: ba0627d3dc21f86994771dc65a5022889741a662



2D workspace grid and switcher for Cinnamon

41 Comments

-
1 year ago
Ok, so simply replacing 'switch-to-workspace-up' and 'switch-to-workspace-down' by 'switch-to-workspace-11' and 'switch-to-workspace-12' in the "applet.js"-file , assigning shortcuts to them via "keyboard shortcuts" in "system settings" and checking the "Use Keyboard shortcuts (Ctrl+Alt+Up/Down) to switch desktop rows" option in the applet settings got everything to work. Now I can specify shortcuts for expo/scale and move up/down separately. Nice!
-
1 year ago
Is there a way to keep custom shortcuts for toggling expo and scale? As soon as I activate the "Use Keyboard shortcuts (Ctrl+Alt+Up/Down) to switch desktop rows" option, none of my shortcuts for toggling expo and scale are working anymore.

In 17.2 you can specify the shortcuts for expo and scale. Shouldn't it be possible to keep these user defined shortcuts and still move up and down between workspaces via a shortcut?
-
1 year ago
varanasi, This is an often requested feature. we have discussed some ways of doing this on the bug tracker on GitHub. Perhaps someday I'll work on it :) If you know how to code, I'd be willing to accept patches.
-
1 year ago
Is there a way to make this applet work as the image on the main applet page shows, i.e. to show windows in the workspaces rather than just a number? Perhaps gnome 3 removed the ability to do this?
-
2 years ago
JBJB, nope, no way to change them. Sorry :-/. You can disable them if that helps. Check the settings for that option.

What would you set them to? I've never found a better set of keys then Ctrl+arrows. I could consider adding an option to remap them.
-
2 years ago
Works well, thanks! Is there any way to change the keyboard shortcuts for navigating within the grid? The usual methods work for left and right, but I can't see any way to change the up and down shortcuts.
-
2 years ago
Leng, Thanks for the words of encouragement :).
-
2 years ago
I created an account just to say:

Thank you so much for this applet! I adore it.
-
2 years ago
mrmacman2u, thanks :) I'll look into adding the standard configure option in place of the unsightly icon. Thanks for the info!
-
2 years ago
Excellent update overall, I have a few ideas for possible improvements and just an FYI, there is some form of "right click to configure" option in Cinn 2.2, all the "default" apps have the option.

Screenshots and further info going to your email.

Thanks again for adding much needed functionality to Mint!
-
2 years ago
Hi luigino, I read the thread you linked to and saw you solved the problem. Glad things are working out :).

For future reference, if you update this applet, it now has an icon to configure it. You no longer right click to access the configuration menu. Just click the "gear" icon to the right of the applet.
-
2 years ago
Feedback to author: I feel this applet would meet my needs, but I am unable to install it in Linux Mint 17 (Qiana). I get an error 404 when i attempt to install it. Kindly refer to my post in the Linux Mint forums:
http://forums.linuxmint.com/viewtopic.php?f=47&t=170423&p=875837#p875837

respectfully
-
2 years ago
d5xtgr, this problem is fixed with v0.4. Please update :) Thanks for reporting.
-
2 years ago
Based on a bit more tinkering, I think the root cause of the problem is the lack of the right-click dialog. I inspected the code and made a file in my home directory called ".workspace-grid.prefs" which consisted of a 2, followed by a newline, followed by another 2, and restarted Cinnamon. The applet now correctly displays a 2x2 grid. My conclusion is that on loading, the applet overwrites the Expo settings with a hardcoded 1x2 layout, and then if it finds a user config, overwrites it again with that. Since the user can't access the right-click menu, he never creates a config file and only 1x2 will work. If I get time this week I will figure out what needs to be done to get the right-click menu working again.
-
2 years ago
Hi, this does not appear to be working correctly with the new Mint 17:
- Only the top row of workspaces are shown, e.g. "Expo" shows 4 workspaces in a 2x2 grid (when your applet is removed- you still successfully intercept the ctrl-alt-up keystroke), but your applet shows 1 row by 2 columns without the row switcher to the left.
- Right-clicking does not bring up the dialog to set the dimensions, but gives only the option to remove the applet from the panel.
Restarting Cinnamon does not fix the problem.
-
2 years ago
wedeluxe, I don't think I ever did that :). I just never got around to writing up a nice proper description of the problem. Probably not a bad idea. I'll put it on my todo list.
-
2 years ago
This applet really is great work!

Abusing the "switch"-bindings is a severe usability bug in Cinnamon.
Have you already reported this one to the bug tracker?
-
2 years ago
Geoffm, yes this is indeed anoying :) Cinnamon actually hard codes expo and scale bindings to 'switch-desktop-up' and 'switch-desktop-down'. I am able to repurpose those indings but when you manually set different key combinations yourself using Cinnamon preferences (or gnome preferences) you are actually just switching the bindings for 'switch-desktop-up' and 'switch-desktop-down'. Cinnamon really needs to stop abusing the 'switch...' bindings and just create their own.
-
2 years ago
On my system (LM16 cinnamon 2.0.14) this applet causes the keyboard shortcuts for Expo and Scale to stop working.
-
3 years ago
jimbudler, Thanks for the report :).
-
3 years ago
Still works with ubuntu 13.10 and Cinnamon 2.0.6
-
3 years ago
Serged,

If I understand correctly you are asking for a preview to be displayed on switch? If so, that is do-able. I'll consider it for future releases.
-
3 years ago
When a true worksapce switcher whith a "preview" of workspaces? As in the old Gnome 2 ?
-
3 years ago
Bought a new machine. Loaded Fedora 19 on it. Still have the trouble where columns only take from 1 to 6. I need one row and eight columns!!!!!
-
3 years ago
jadekraut, yep, knwon issues with the row indicator bars not always drawing correctly. I have a temporary fix checked into git with a much better solution coming with the next release of Cinnamon. I'll try to get the temp fix rolled up into a release soon. In the mean time if anyone wants to resolve this issue please just restart Cinnamon: Alt+F2, type 'r' without the quotes and hit enter.
-
3 years ago
Using LM 14, Cinnamon 1.6.7, single panel at the top: icon on the panel only reflects columns, never rows. Using Hot corner (which I prefer to turn off), I can see that changing the number of rows does indeed change the number of workspaces, but the number of rows is never reflected in the icon. For example, 2 columns, 3 rows does indeed create 6 worskspaces, but the icon only shows 2. 3 columns, 2 rows does indeed create 6 workspaces, but the icon only shows 3. It always, only, reflects the columns. (I only need 2 workspaces, it's just that I was hoping to have 1 column with 2 rows, in order to take up less space on the panel.) Thanks for your work!
-
3 years ago
rickrich, do you have a need for more than 6x6?? I figured that was a safe bet for a maximum. In the "height" dimension adding more than 6 makes it quite difficult to distinguish between the indicator bars that tell you which row you are on.

As far as moving it goes, I turn on panel edit mode and I have no trouble moving it.
-
3 years ago
1) I edited the souce and changed 6 to 8 in TWO places (need a one constant up front!)
2) I used edit in dconf-editor the value of org.cinnamon.enabled-applets with the help of a text editor. Since I use the classic layout (top+bottom panel) I also had to specify "panel2" by hand when editing the value because the applets, for the life of them, don't seem to indulge me when I drag them between panels.
-
3 years ago
Hmm, works nice, but:

1) cols 1 to 6 works, cols greater than 6 don't.
2) can't move it from the top panel to the bottom panel in Cinnamons Classic View. All applets can be moved except this one!
-
3 years ago
Update - It has suddenly started working!! I had already re-started the system and that had not helped. Tried for the umpteenth time and suddenly the screen cleared, the workspaces updated to 4 and all is good.
-
3 years ago
Cinnamon 64. Workspace grid and switcher does not work. On attempt to change number of workspaces whole system freezes; can only crash out!!!! Ugly!!
-
3 years ago
one of the best applets, i wish it was the default behavior of the stock workspace applet
-
3 years ago
bondhuPaul, yes this is indeed anoying :) Cinnamon actually hard codes expo and scale bindings to 'switch-desktop-up' and 'switch-desktop-down'. I am able to repurpose those indings but when you manually set different key combinations yourself using Cinnamon preferences (or gnome preferences) you are actually just switching the bindings for 'switch-desktop-up' and 'switch-desktop-down'. Cinnamon really needs to stop abusing the 'switch...' bindings and just create their own. perhaps I'll whip up a patch to fix this and propose it to Clem.
-
3 years ago
Sorry for the late reply. It works but, still getting in the way of Expo and Scale. Whatever I fix my expo-scale key binding to be grid-workspace grabs that for moving to up-down workspaces.
-
3 years ago
bondhuPaul, it works for me in Fedora 18 running Cinnamon 1.6.7.
-
3 years ago
Ok bondhuPaul, I've fixed it in Cinnamon 13 so I think you should be good to go. I'm still waiting for Fedora 18 to finish installing so I can test in your actual environment. Let me know how it works for you.

If it fails, please some how capture and report the debugging output that can be found by pressing Alt+F2 then typing lg in the command line that pops up then hitting enter. Click the "Error" tab and look for any line that starts with "debug ... workspace-grid@hernejj". You can log it to a file with Cinnamon 1.6. using the Cinnamon Settings application, under the General section there is an option titled "Log LookingGlass output to ~/.cinnamon/glass.log (Requires Cinnamon Restart)". Sorry I do not have an easier method for capturing this data.
-
3 years ago
bondhuPaul, never mind :) I was able to reproduce this bug directly on Linux Mint 13 which is based on ubuntu 12.04. I, myself, have been running Ubuntu 12.10. The exact method used to register keybindings appears to have changed. Hang in there and I'll find a solution. I'm downloading a Fedora-18 ISO so I can test it there too. Thanks for reporting this!! it is likely that many users will run into this problem if not fixed.
-
3 years ago
bondhuPaul, what is the problem you are seeing? After you enable the applet your ctrl+alt+up and ctrl+alt+down keys are still bringing up expo and scale and NOT switching your desktop row?
-
3 years ago
Hello hernejj. Its cinnamon version 1.6.7. in Fedora 18.
-
3 years ago
Hi bondhuPaul, what version of Cinnamon are you running? (from termainal, execute command cinnamon --version)
-
3 years ago
It seems 'changing row' is bound with 'expo and scale applet'. Is it the case or am I facing some aberration? Since its only the initial version, I'n sure it'll get better. Thanks.