dado3212 / spaces-renamer

πŸ’» Ability to rename desktop spaces on macOS 10.10+
MIT License
1.04k stars 29 forks source link

Spaces Renamer not working with M1 #75

Closed dylanhendersonj closed 1 year ago

dylanhendersonj commented 3 years ago

I just updated my MacBook air to Big Sur 11.2.3 and Spaces Renamer doesn't seem to be working at all. I have uninstalled and reinstalled and now the "Update Names" button is greyed out. Is there a known solution to this issue?


EDIT from @dado3212 (Aug 1, 2022)

Potential solution in https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1201511482. Use at your own risk πŸ™‚.

uthpalaherath commented 3 years ago

I have the same issue.

UPDATE: Works with Macforge. Doesn't work with mySIMBL.

JuliaRakitina commented 3 years ago

Does not work with Macforge too

sweth commented 3 years ago

Does not work for me w/ MacForge on Big Sur (v11.3.1 (20E241)).

marcwimmer commented 3 years ago

Please help - not working on BigSur M1 11.4

uthpalaherath commented 3 years ago

It works fine on BigSur 11.5.2.

dmatora commented 3 years ago

It works fine on BigSur 11.5.2.

@uthpalaherath Including M1?

marcwimmer commented 3 years ago

not working on m1 i would say

uthpalaherath commented 3 years ago

Nope I don't have a M1. Works with the intel processor.

On Sat, Aug 28, 2021 at 3:04 AM Marc Wimmer @.***> wrote:

not working on m1 i would say

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-907584503, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG3ZXMI2I24LDC34DFBUK7LT7CC77ANCNFSM4275EQLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Uthpala Herath PhD Candidate Department of Physics and Astronomy West Virginia University Morgantown, WV 26505

Tel. (304) 216-2535 Email: @. @.> Website: https://uthpalaherath.github.io/

marcwimmer commented 3 years ago

OK - it does not work with M1. Macforge says it does not support M1 yet. So the plugin does not work. Would there be a workaround somehow possible?

wikiux commented 2 years ago

Since June 2021 MacForge Beta does support M1:

https://github.com/MacEnhance/MacForge/blob/master/CHANGELOG.md

Any plans?

dado3212 commented 2 years ago

@w0lfschild That changelog has this line

Every individual plugin will require an update to support arm64/arm64e

Is there an example commit you can point me towards of what needs to be done to support this?

jonathanlaniado commented 2 years ago

+1, this app is my #1 productivity booster, because of its ability to designate different projects to different desktops. We're so close to making it work for M1, I hope we can get it back up and working soon. Thanks for all that you do @dado3212!

nynewco commented 2 years ago

Spaces Renamer is ONE OF THE most useful tools created for MAC -- EVER. I have been a die-hard user in my prior laptop. I recently updated to Mac M1 Pro and tried to get over it not being supported -- but am missing it bad :-)!!!

Are you working on a Mac M1 Pro update?

marcwimmer commented 2 years ago

can we somehow spend money to boost m1 working?

nynewco commented 2 years ago

Willing to pitch in.

w0lfschild commented 2 years ago

@w0lfschild That changelog has this line

Every individual plugin will require an update to support arm64/arm64e

Is there an example commit you can point me towards of what needs to be done to support this?

All you need to do is add arm64e to the architectures in build settings and recompile.

Screen Shot 2022-03-27 at 12 39 14 PM

williamyorkl commented 2 years ago

@w0lfschild That changelog has this line

Every individual plugin will require an update to support arm64/arm64e

Is there an example commit you can point me towards of what needs to be done to support this?

All you need to do is add arm64e to the architectures in build settings and recompile.

Screen Shot 2022-03-27 at 12 39 14 PM

@w0lfschild So all I need to do is following this instruction, then space-renamer will support M1 ? πŸ˜‹

shakisha commented 2 years ago

@w0lfschild I'm trying it now and if it works I will push the commit

alecglen commented 2 years ago

Any luck @shakisha ?

shakisha commented 2 years ago

@alecglen Nothing, it didn't worked.

nynewco commented 2 years ago

I can see if I can find a freelancer to try and solve this ...

However, I am not a techie at all. Can someone put a few lines together so I can post this on Upwork?

Also, please include what areas the freelancer needs to specialize, so I can tag people who have expertise in those areas.

dado3212 commented 2 years ago

Let me take a swing at this later this week.

nynewco commented 2 years ago

200

dado3212 commented 2 years ago

I don't have easy access to an M1 Mac, so I haven't been able to test this myself. I have a friend who has one but he's currently quarantining with COVID.

I believe the instructions are:

  1. Download the MacForge Beta from here - https://github.com/MacEnhance/appcast/raw/master/Beta/MacForge/MacForge.1.2.0B1.zip
  2. Follow the normal installation instructions, including disabling SIP and setting DisableLibraryValidation to true following this section: https://github.com/MacEnhance/MacForge#installation-.
  3. Download the new 1.10.1 version of SpacesRenamer from here - https://github.com/dado3212/spaces-renamer/raw/master/build/spaces-renamer.zip.
  4. EDIT: Download 1.10.3 from here - https://github.com/dado3212/spaces-renamer/raw/a3dbd52caa24351589b9938bea2127ab84bd05a4/build/spaces-renamer.zip, that's the version referenced in this comment.
  5. Install the new bundle. From the Discord this may not work with drag-drop in the Beta, so you may need to manually copy the .bundle file to /Library/Application Support/MacEnhance/Plugins.
  6. Run killall Dock and pray it works.

If anyone has an M1 Mac and is willing to test this, would love to hear whether it works.

jonathanlaniado commented 2 years ago

Thanks Alex, not working for me β€” or at least my Mac becomes unstable to the point that I can't test it.

I have disabled library validation and SIP. I installed MacForge beta and the 1.10.1 bundle. When I drag the bundle into MacForge, basic system functions stop working (Dock, Mission Control, Command+Tab, etc.). When I disable the bundle (or other times need to delete it completely), these functions are restored.

You can also see the red Apple Silicon indicator below.

Screen Shot 2022-04-17 at 9 44 15 AM
dado3212 commented 2 years ago

Have you verified your M1 install is working with other bundles? Also if you open Console.app and look at logs are there any relevant exceptions it’s printing right after the Dock restart?

jonathanlaniado commented 2 years ago

Good question, I don't think so. Here's what comes up and nothing seems particularly significant. But then again, the Dock doesn't ever load at any point when Spaces Renamer is toggled on.

image
dado3212 commented 2 years ago

Okay, I think I may have miscompiled because of the 'Build Active Architecture Only' setting. With that set to NO on the .bundle creation file spaces-renamer in the Contents/MacOS folder of the bundle actually gives the right output:

spaces-renamer: Mach-O universal binary with 3 architectures: [x86_64:Mach-O 64-bit bundle x86_64
- Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64
- Mach-O 64-bit bundle arm64] [arm64e:Mach-O 64-bit bundle arm64e
- Mach-O 64-bit bundle arm64e]
spaces-renamer (for architecture x86_64):   Mach-O 64-bit bundle x86_64
spaces-renamer (for architecture arm64):    Mach-O 64-bit bundle arm64
spaces-renamer (for architecture arm64e):   Mach-O 64-bit bundle arm64e

Can you try again with the version here?

From the Console it looks like there are some system-privilege failures around MacForge, have you confirmed that other plugins are working on your system?

jonathanlaniado commented 2 years ago

Thanks, the indicator next to Apple Silicon is now green. However, macOS remains unstable whenever I activate Spaces Renamer. I have not tested this with other plugins, and don't really plan on it.

Anyone else in this thread download the MacForge beta and experiencing an unstable OS?

alecglen commented 2 years ago

Haven't yet but I'll give it a go in a little bit.

shakisha commented 2 years ago

@alecglen have you had time to test into a Mac m1?

tingkelvin commented 2 years ago

I can confirm that it is working. I follow the instruction and install the new .bundle here: https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1100976450

then reboot.

It wasn't working when the system try to load the desktop, it couldn't load my wallpaper and dock.

after a while, when I press control + up, it works

nynewco commented 2 years ago

Are you confirming that MacForge works on M1 pro or that Spaces Renamer works?

What are next steps, if any?

(Not a techie)

On Thu, 28 Apr 2022 at 19:16, tingkelvin @.***> wrote:

I can confirm that it is working. I follow the instruction and install the new .bundle here:

75 (comment)

https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1100976450

then reboot.

It wasn't working when the system try to load the desktop, it couldn't load my wallpaper and dock.

after a while, when I press control + up, it works

β€” Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1112738427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3DVAGJE5DX5FQLIJGNFX3VHML6LANCNFSM4275EQLA . You are receiving this because you commented.Message ID: @.***>

tingkelvin commented 2 years ago

Spaces Renamer is working in M1 I just follow dado3212 guideline with his new patch.

But the computer does freeze at the beginning, like my dock, all the destops... etc are not working, but after a while it works.

nynewco commented 2 years ago

I think I have successfully reached the desktop is frozen mode where the dock is not visible and nothing seems to work. How do you get out of this state? Do you just let time pass -- how much? Any activity that can move the process along?

On Sat, Apr 30, 2022 at 7:55 PM tingkelvin @.***> wrote:

Spaces Renamer is working in M1 I just follow dado3212 https://github.com/dado3212 guideline with his new patch.

But the computer does freeze at the beginning, like my dock, all the destops... etc are not working, but after a while it works.

β€” Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1114074239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3DVABPTISDIE53NUUL3NTVHXB7DANCNFSM4275EQLA . You are receiving this because you commented.Message ID: @.***>

nynewco commented 2 years ago

I got it to work!!! Took me 4 hours of trial and error (no joke).

I used approach no. 1 below to disable SIP and get MacForge to work first. Only after getting it to install without freezing the dock and top bar, then I proceeded to SpacesRenamer.

Approach 1 to disable SIP:

csrutil disable in Recovery

Approach 2: I DID NOT use this approach.

Disable System Integrity Protection Open Terminal.app and run the command sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true Boot to recovery mode by rebooting and holding down ⌘ + R Open the Terminal from the menubar and run the command csrutil enable --without debug --without fs Reboot

nynewco commented 2 years ago

I spoke too soon. I had got it to work but after restarting, I am facing the same problems again. Not sure what a stable, full-proof sequence of steps is. I know we are close, because I saw it up there. But lost it again.

Seems to have to do with getting MacForge to work stably first. Then SpaceRenamer. Maybe someone else can pick up the baton.

tingkelvin commented 2 years ago

I also use the first approach. Yea, sometimes it doesn't work after restart, eg docks not working. But if u wait for a while it might work. I am just keep rebooting until it works. i guess pray is the only thing we can do now.

dado3212 commented 2 years ago

cc @w0lfschild have there been other reports of freezing with the debug build of MacForge for M1?

nynewco commented 2 years ago

Hey @w0lfschild any thoughts on this? I reported the Mac Pro M1 getting frozen due to MacForge. Any other questions I can answer for you or details you need?

nynewco commented 2 years ago

Come on guys! There must be a way. What do we need to do? Can someone pinpoint the precise nature of the problem? Defining the exact problem is often, 90% of the work :-) @w0lfschild

tingkelvin commented 2 years ago

mine is broken. macforge run fine. As long as I turn spaces-renamer in macforge, the whole system broke, my dock is not working, even command-tab is not working

nynewco commented 2 years ago

Anyone make any progress on this? Are we doomed to Mac's sad and desolate "nameless" virtual desktops?

dado3212 commented 2 years ago

I finally have an M1 device. No promises, but I'll try and take a look this weekend.

nynewco commented 2 years ago

Yes! Yes! Yes!!!

On Thu, Jun 16, 2022 at 11:45 PM Alex Beals @.***> wrote:

I finally have an M1 device. No promises, but I'll try and take a look this weekend.

β€” Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1158459724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3DVABZOJDJ4C47JLDNLG3VPPYELANCNFSM4275EQLA . You are receiving this because you commented.Message ID: @.***>

jonathanlaniado commented 2 years ago

Join me in prayer this can work for M1 πŸ™

nynewco commented 2 years ago

Let’s gently close our eyes and lightly hold hands.

Now, from the abdomen, K-u-m-b-a-y-a ....

On Fri, Jun 17, 2022 at 7:10 AM Jonathan Laniado @.***> wrote:

Join me in prayer this can work for M1 πŸ™

β€” Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1158766016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3DVAHITVB6LOTX4TUODX3VPRML3ANCNFSM4275EQLA . You are receiving this because you commented.Message ID: @.***>

nynewco commented 2 years ago

Hey @dado3212

Any luck?

jonathanlaniado commented 2 years ago

God, the anticipation is unbearable. My M1 is foaming at this productivity boost opportunity.

nynewco commented 2 years ago

Ditto 😯

On Fri, Jul 8, 2022 at 9:20 AM Jonathan Laniado @.***> wrote:

God, the anticipation is unbearable. My M1 is foaming at this productivity boost opportunity.

β€” Reply to this email directly, view it on GitHub https://github.com/dado3212/spaces-renamer/issues/75#issuecomment-1178981900, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3DVABPA3QOV7OT2WHG6RLVTATJNANCNFSM4275EQLA . You are receiving this because you commented.Message ID: @.***>