dado3212 / spaces-renamer Goto Github PK
View Code? Open in Web Editor NEW💻 Ability to rename desktop spaces on macOS 10.10+
License: MIT License
💻 Ability to rename desktop spaces on macOS 10.10+
License: MIT License
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.
The desktops are renaming on the MacBooks itself, however any desktop spaces on the second monitor are not being renamed.
Versions
Describe the bug
Doesn't work on Big Sur. The layer tree has changed.
Fixed here : #62
Versions
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.
Originally reported by @w0lfschild in #3.
Is this working in Catalina? It was working in Mojave but I recently updated and it no longer seems to work.
Versions
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?
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.
I was wondering if you might have an inkling on how to do it?
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.
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
👍
The Spaces are not renamed in High Sierra 10.13.4...
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.
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
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
As far as I have tested, both 1.3.1 and 1.6.0 contain the app which requires at least macOS 10.12. I would like to know is there an earlier version which works on 10.11?
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
`
_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.
There is no way to quit the Spaces Renamer
menubar app.
On the mySIMBL GitHub page, it says its been replaced by MacForge. Can I use that instead since it seems like it will be getting updates (into Catalina)?
Thanks
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?
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
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
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
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
Describe the bug
Just as the Title shows. My Macos Version 10.13.6 (17G65).
Versions
And besides, the rename do not work.
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).
So you don't need to three-finger swipe-up to know where you are.
Of course if #4 isn't fixed that's a total blocker.
When I change the name of my Desktop #2 Space, it doesn't reflect on my second desktop, and instead, the change is reflected on Desktop #1. Then later reverts back to Desktop #1, but Desktop #2 remains unchanged.
![Desktop2](https://user-images.githubusercontent.com/22179901/87215848-721ed780-c308-11ea-8362-f005df2d47fc.png)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
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.
I've run killall -9 Dock
Versions
No idea what else to try now.
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.
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!
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)
They do not appear on my screen, through Mission Control.
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
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.
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:
Hello,
Will the edited names show up in the mission control?
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.
Max 14 desktops
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:
However, when I click it or try basically any troubleshooting i.e. killing the dock or restarting, I just get this:
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.
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.
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
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
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.