Giter Club home page Giter Club logo

spaces-renamer's People

Contributors

dado3212 avatar dominiklohmann avatar franciosi avatar w0lfschild avatar

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

spaces-renamer's Issues

Is there a way to run SpacesRenamer without having to run MacForge at startup?

I am currently on macOS Catalina. I don't have MacForge automatically launch at reboot of my Mac, but SpacesRenamer does. When I reboot and while SpacesRenamer is running, the spaces don't get renamed. After I launch MacForge and then quit the MacForge app again, functionality of SpacesRenamer returns. I'm wondering if there is a way to run SpacesRenamer without having to run MacForge at startup.

Not working with external monitor?

The desktops are renaming on the MacBooks itself, however any desktop spaces on the second monitor are not being renamed.

Versions

  1. MySIMBL version - 0.7.1
  2. Spaces Renamer version - 1.7.1

Big Sur support

Describe the bug

Doesn't work on Big Sur. The layer tree has changed.
Fixed here : #62

Versions

  1. MacForge version - beta
  2. Spaces Renamer version - 1.7.4

Access spaces' names

Is there any way to access the names of the spaces? I'm trying use this with up TextBar Hoping I could get the space name to display in status bar.

Not working with multiple displays

  • Spaces Renamer doesn't work properly for Spaces on different displays.
    • The names apply in the same order on all displays as the names of the main display
    • The Desktops are not shown in the menubar app

Originally reported by @w0lfschild in #3.

Not working on OS Catalina after csrutil reenabled

Versions

  1. MySIMBL version - using latest MacForge
  2. Spaces Renamer version - using latest spaces-renamer
  3. MacOS Catalina version 10.15

I am able to get spaces-renamer to work during the initial install following all steps outlined in the read-me. However, when I reboot my Mac and reenable csrutil it stops functioning. I've done this twice and same result.

Attempt #1: on restart I did csrutil enable
Attempt #2: I tried to follow the instructions on MacForge under the 'System' tab csrutil enable --without fs --without nvram --without debug; nvram boot-args="amfi_get_out_of_my_way=1" but same result. In fac, I got an error message in the recovery terminal stating that nvram wasn't a recognized term (forget exact wording)

Can someone please help me understand what I'm doing wrong?

Creating more than 16 spaces

I swear back in the day on lion you could make more than 16 spaces.

There's a hack to do this via connecting an external display, making the extra spaces, and then disconnecting it, which moves those spaces to your home displays spaces list creating 32.. So it's obviously semi-supported.

Re: https://superuser.com/questions/893258/how-to-remove-the-limit-of-how-many-desktop-spaces-can-be-opened-in-mission-cont

I was wondering if you might have an inkling on how to do it?

Would it be easy to add an option to always expand the screen preview?

I'm not an expert with Mac software, so this might not make much sense. My understanding is that Spaces Renames reimplements parts of the mission control view in order to display the custom space names. If this is the case, would it be easy to add an option to always expand the screen previews? Usually, one needs to hover the screen names with the mouse for them to expand to previews. However, this is less than ideal for a keyboard-centric workflow and there is no good existing solution to this problem as far as I know.

Not working with (top) corners triggers / fullscreen mode

Hello,

In first time thanks you for spaces-renamer ! A great tool.

I noticed you're plugin no working when desktop thumbnails are already visible during mission control invocation. If you use an top active corner or invoke mission control from a fullscreen app, you will see "Desktop 1" etc.

I just put theses lines :

        if (unexpandedViews == nil)
        {
            if (expandedViews == nil)
            {
                return;
            }
            unexpandedViews = expandedViews;
        }

After

        NSArray<CALayer *> *unexpandedViews = self.sublayers[3].sublayers[0].sublayers;
        NSArray<CALayer *> *expandedViews = self.sublayers[3].sublayers[1].sublayers;

in the setBounds function for bypass the problem, but It look like very ugly :D

👍

Add a LICENSE file

I'm interested in some of your code, but it is currently unlicensed and thus unusable for everyone. I think an MIT type license would be a good fit for this project, such that people can use the code when attributing you as the original author.

Please consider—it would be very much appreciated.

Program only works when turning off transparency

Describe the bug
The names only work when I turn off transparency. I don't mind having transparency but still prefer without transparency for the look.

I'm using MacOS high sierra 10.13.5

Versions

  1. MySIMBL version - 0.7.0
  2. Spaces Renamer version - 1.6.0

Can I donate??!?!?!?!

You need money for this, this app is incredible, streamline the install process and you have a product on your hands.

Thank you so much for this Apple is LAZY

Dock crashes on hover

First, thanks for making this, it's awesome!

Here is when the problem occurs:

I activate control center with my mouse NOT at the top of my screen (somewhere bellow the 'spaces' bar).
I hover oven the spaces bar to expand and pick a space, Dock crashes and I'm back at my desktop. I checked Activity Monitor and Dock is definitely crashing when I hover over the bar.

Here is when the problem does NOT occur:

I activate control center with my mouse already at the top of my screen, and it activates with the space bar expanded.

MacOS Version 10.14.6, also I partially disabled SIP as outlined in the README.

I grabbed the Dock crash log from the Console:

Dock *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN: [0 0; 0 nan]'

More crash log bellow:

`
Process: Dock [1758]
Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
Identifier: com.apple.dock
Version: 1.8 (1963.6)
Build Info: Dock-1963006000000000~18
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Dock [1758]
User ID: 2147015034

Date/Time: 2020-07-21 20:23:00.214 -0700
OS Version: Mac OS X 10.14.6 (18G4032)
Report Version: 12
Bridge OS Version: 4.4 (17P4263)
Anonymous UUID: 58CC0A4F-302C-9B46-1935-F9D4CC656F4F

Time Awake Since Boot: 320 seconds

System Integrity Protection: disabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

External Modification Warnings:
Thread creation by external task.

Application Specific Information:
dyld3 mode
*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN: [0 0; 0 nan]'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff361dbacd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff608baa17 objc_exception_throw + 48
2 CoreFoundation 0x00007fff361db8ff +[NSException raise:format:] + 201
3 QuartzCore 0x00007fff40ba0cf4 _ZN2CA5Layer10set_boundsERKNS_4RectEb + 194
4 QuartzCore 0x00007fff40ba0c10 -[CALayer setBounds:] + 254
5 spaces-renamer 0x0000000106a361ea -[_SRCALayer setBounds:] + 106
6 QuartzCore 0x00007fff40ba37d7 -[CALayer setFrame:] + 642
7 spaces-renamer 0x0000000106a36662 -[_SRCALayer setFrame:] + 1138
8 spaces-renamer 0x0000000106a37f5e refreshFrames + 286
9 spaces-renamer 0x0000000106a37f8e refreshFrames + 334
10 spaces-renamer 0x0000000106a37f8e refreshFrames + 334
11 spaces-renamer 0x0000000106a374fa -[_SRECMaterialLayer setFrame:] + 2474
12 Dock 0x0000000104ab46b9 Dock + 1709753
13 Dock 0x0000000104ab5e63 Dock + 1715811
14 Dock 0x0000000104ab5f8b Dock + 1716107
15 Dock 0x0000000104ab5d34 Dock + 1715508
16 Dock 0x0000000104bf2756 Dock + 3012438
17 Dock 0x0000000104bd8962 Dock + 2906466
18 Dock 0x0000000104bd9ed9 Dock + 2911961
19 Dock 0x0000000104b0cbc4 Dock + 2071492
20 Dock 0x0000000104b0cc08 Dock + 2071560
21 Dock 0x0000000104964b79 Dock + 334713
22 Dock 0x0000000104963f40 Dock + 331584
23 Dock 0x0000000104a0f9a4 Dock + 1034660
24 Dock 0x0000000104bd8551 Dock + 2905425
25 Dock 0x0000000104c12595 Dock + 3143061
26 Dock 0x0000000104c128a6 Dock + 3143846
27 Dock 0x000000010493563a Dock + 140858
28 HIServices 0x00007fff34902771 mshPerform + 11
29 CoreFoundation 0x00007fff3613d347 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41
30 CoreFoundation 0x00007fff3613d2a5 __CFRunLoopDoSource1 + 527
31 CoreFoundation 0x00007fff3612529c __CFRunLoopRun + 2524
32 CoreFoundation 0x00007fff3612466e CFRunLoopRunSpecific + 455
33 Dock 0x0000000104aa3193 Dock + 1638803
34 Dock 0x0000000104aa300e Dock + 1638414
35 libswiftObjectiveC.dylib 0x00007fff61d98f4f $s10ObjectiveC15autoreleasepool8invokingxxyKXE_tKlF + 47
36 Dock 0x0000000104aa3073 Dock + 1638515
37 Dock 0x0000000104aa2b3e Dock + 1637182
38 libswiftObjectiveC.dylib 0x00007fff61d98f4f $s10ObjectiveC15autoreleasepool8invokingxxyKXE_tKlF + 47
39 Dock 0x0000000104918747 Dock + 22343
40 libdyld.dylib 0x00007fff620893d5 start + 1

`

Few issues

  • _CD_CLASS_NAME_ Swizzles should be changed to something else otherwise this won't work simultaneously with cDock. Maybe use _HDM or _SR.

  • Spaces Renamer doesn't work properly for Spaces on different displays.

    • The names apply in the same order on all displays as the names of the main display
    • The Desktops are not shown in the menubar app
  • There is no way to quit the Spaces Renamer menubar app.

Is there a way to achieve this programmatically?

I'd love to use Alfred or Keyboard Maestro to change the name of the current desktop on the fly, but I haven't found a way to retrieve the current desktop's UUID? Have you ever discovered how to retrieve that?

MacOS 10.14 Support inquiry

Describe the bug
Hey, it just doesnt work on the new MacOs 10.14 Betas

Do you think you can add support, or let me know how to do so, if it's swift related, I can probably bang it myself.

The app seems super useful!!!!
Hope this can be a standalone!! (I'd like to help)

Versions

  1. MySIMBL version - 0.7.1
  2. Spaces Renamer version -lastest one 141-1 I believe

Spaces Renamer not working on Mojave 10.14.3

Describe the bug
First thanks @dado3212 that you took the initiative to solve this "long-standing open problem" within mission control.

Unfortunately, it does not work neither in my case and does not rename anything. Also here the plist-files are in place and contain the names I specified in the menu. Other mySIMBL-plugins work perfectly, I deactivated SIP and AMFI, reinstalled several times. I am on the most recent version of Mojave (10.14.3) on 2015 Macbook Pro 13" and checked it with several display configurations (internal, one external, two external). Logs in debug mode after pressing "Update Names" show imho nothing special (except the SpacesRenamer actions like the "looked up value" etc.). I can send you the logs if needed.

Versions

  1. MySIMBL version - 0.7.2 (72)
  2. Spaces Renamer version - 1.6.0

Not changing desktop names on MacOS Sierra

Describe the bug
The tool has been installed (from MacForge) and started, the menubar icon appears, but unfortunately whatever name I choose for the desktops, they are still called "Desktop 1", "Desktop 2", etc.

Versions

  1. MySIMBL version - 0.14.2
  2. Spaces Renamer version - 1.7.1

Update Names not working

I installed the newest versions of MySIMBL and Spaces Renamer on 07/26/2019. I followed all of the steps: installing MySIMBL and SpacesRenamer, along with disabling SIP (also note that I am on Mojave 10.14.5). After following all of the steps, I logged out and back in; and everything worked great! The ability to name spaces was incredible in improving my productivity--huge thank you!!

But, I restarted my MacBook this morning 07/29/2019 and SpaceRenamer stopped working properly. On restart, all of the spaces launched but they defaulted to native Desktop 1, Desktop 2, Desktop 3, etc. I clicked the SpacesRenamer icon in the menubar, all of the names I had previously inputted remained which was great. I clicked the Update Names button hoping it would rename everything but it didn't work. I tried closing all of the open Desktops except Desktop 1 and re-adding them, and again clicking Update Names with the hope this might fix the solution but it didn't work. I tried quitting SpaceRenamer and relaunching, this also didn't fix the issue.

Can you please kindly assist me in trouble shooting this? I am incredibility grateful I found this tool and I'd really hate to lose the ability to use it now that I've experienced how helpful it is to my workflow.

Versions

  1. MySIMBL version - 0.7.1 (71)
  2. Spaces Renamer version - newest version

misson control is at bottom..

Describe the bug
Just as the Title shows. My Macos Version 10.13.6 (17G65).
Versions

  1. MySIMBL version - newest.
  2. Spaces Renamer version - newest.

And besides, the rename do not work.

Would be great if you posted a video of spaces-renamer in action

I was going to install this, but I don't run mySIMBL for anything else and I don't like the idea of disabling SIP because over the years I've found adjusting my Mac's configuration much makes upgrades less likely to work correctly. I would love to rename my spaces, but I would like to see a video clip of this in action to see what it actually looks like. Is it ascetically pleasing?

Thanks for releasing something that a lot of us are interested in (renaming our spaces).

Space names disappear when on focus with many desktops

Describe the bug
When many desktops are active and the screen is too small (e.g., internal display), then macOS shrinks the miniature sizes on the top in mission control. When hovering over these miniatures, the names of the spaces other than in focus disappear.

Versions

  1. MySIMBL version - 0.7.2
  2. Spaces Renamer version - 1.6.0

Suddenly stopped working

Describe the bug
After a restart the plugin stopped working. I've tried all of the steps I usually do, and done a full reinstall of the plugin.

Everything is disabled:
image

I've run killall -9 Dock

Versions

  1. MacForge version - 0.14.2
  2. Spaces Renamer version - 1.7.4
  3. MacOS version - 10.15.5

No idea what else to try now.

spaces-renamer doesn't rename desktops on Big Sur

Running Big Sur 11 Beta (20A5364e). Followed the installation steps and everything seems to have worked properly. The spaces-renamer icon shows on the menu bar and when clicked displays the prompt to rename the desktops however they don't get renamed. SIP is disabled.

Could I use this tool to display screen labels from yabai?

The yabai window manager lets you assign labels to spaces yabai -m space 1 --label name that can be read via yabai -m query --spaces --space 1 | jq .label. I'm wondering if I could hook that up with Spaces Renamer to show these labels in mission control. Do you have an idea if and how this could be done? Thanks!

Spaces not renamed after restart

Describe the bug
I installed Spaces Renamer and named all spaces. It worked.
I restarted my computer.
The names appear in the Spaces Renamer boxes (and the computer remembers them from before rebooting)

Screen Shot 2020-08-28 at 12 25 24 PM

They do not appear on my screen, through Mission Control.

Screen Shot 2020-08-28 at 12 25 30 PM

I tried both by having the app automatically open on launch,
And by having it manually launch through Finder.

Both attempts to access the app and rename my spaces result in the same behaviour (spaces appear in Spaces Renamer, but names are not reflected in Mission Control)

Versions

  1. MySIMBL version -
  2. Spaces Renamer version - Latest version (downloaded yesterday)

Sorry, but this still does not work using MacForge

Hey before I updated to Catalina this application was working perfectly and I loved it to organized work/school desktops. Now since the update, it does not work and I have since gone to MacForge to run the application (originally using MySIMBL). What is happening for me is spaceremover also has an extra desktop to the spaces that I have open (3 spaces open + 1 space that I cannot see). As well, I can't rename any of spaces - they just remain Desktop 1, Desktop 2, etc.

SIP is disabled.

Screen Shot 2019-12-09 at 10 09 44 AM
Screen Shot 2019-12-09 at 10 09 44 AM (2)

Adding Display resets Desktop Names

Plugging in a Display-Port Display cable resets Desktop Names to default names, i.e.desktop-1, etc. Configured names remain in spaces-renamer app.

Naming DP desktops with spaces-renamer app renames them on the laptop display, not the DP.

Removing DP cable returns laptop-display desktop names to what was set already in spaces-renamer.

To make it work with DP plugged in:

  • Quit Spacer-Renamer app
  • `killall -9 Dock1
  • mySimbl -> System Info -> Load into all applications
  • start Spaces-Renamer app

mission control

Hello,
Will the edited names show up in the mission control?

Messes up when auto-rearranging

Let's say there are three desktops, "One" with Safari open, "Two" with Word open, and "Three" with Spotify open. If you're on the third desktop, "Three" and you click on Safari in the dock, then it will switch to "One", but the Spotify desktop will now be labeled as "Two" (so that swiping back will return you to the desktop you were previously on).

Not sure if this modifies anything underlying about the spaces.

Menubar icon displays a blank menu; appears nonfunctional

So I have spaces renamer and mySimbl, all updated to the newest (stable) version. Same with macOS. I used to rely on TotalSpaces just to rename spaces (I cant believe this isn't a default feature), but figured I would try this out. Here is the app in my menu:
screenshot 2018-04-13 00 49 37

However, when I click it or try basically any troubleshooting i.e. killing the dock or restarting, I just get this:
screenshot 2018-04-13 00 38 03

I am new to all this, so my best guess is that maybe I need to toggle AMFI to get it to work? However, I haven't seen it listed as a prerequisite anywhere, and I have read that it's best to avoid it unless you need to toggle it.
screenshot 2018-04-13 00 49 47

Is AMFI in need of toggling or is there some other issue at play here, most likely? Thats what I am trying to figure out.

Mojave 10.14, Worked initially..now no longer..

Describe the bug
A clear and concise description of what the bug is.

The App. runs just fine but after the first reboot after using it, it now no longer renames spaces.

Needs Mojave 10.14 support..

Versions

  1. MySIMBL version - 0.7.1 (71)
  2. Spaces Renamer version - v1.4.1-1

Feature Request: Window width

Can the default width of the Spaces Renamer app window
equal the width of the active monitor/screen?

Using the whole width instead of half (the present value)
would allow more cases where most of the Spaces
are not at all hidden beyond the app frame.

Plus scrolling still available when surpassing that, obviously.

.

A cool effect is that generally,
Spaces in the renamer-app window could be centered
to approximately line up with the
Spaces in official mission control window :D

.

Versions
Spaces Renamer version - 1.8.1

Desktop Names Misaligned with Dock on Right Side

Describe the bug
If you switch your dock to be on the right, the names in the desktop switcher will be misaligned. This only happens in the non-expanded view.

Versions

  1. MySIMBL version - ??
  2. Spaces Renamer version - 1.4.0

Screen Shot 2020-05-19 at 9 38 09 AM

Names reset following lock unlock

I think the space UUID resets. Not entirely sure how to save through this. If the computer doesn't know it's the same space, how could I?

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.