Coder Social home page Coder Social logo

Comments (17)

ultimate-deej avatar ultimate-deej commented on August 22, 2024 1

You are welcome! I will let you know if I manage to work it out.

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

I suppose SIP is still there in Sierra. So you may need to turn it off.
Second, make sure you use the correct config.
Debug tool may help https://www.dropbox.com/s/r1ibabs11x7o3y7/Sculpt%20Comfort%20Debug%20Tool.app.zip?dl=0
It displays button codes

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

Disabled SIP and ran the app again. Still nothing.

Would the default config be the right one?

Debug

227 1
227 0
5 1
5 0
4 1
4 0

*edit I imported default.plist through terminal (even with the sudo command and killall Dock) and still nothing. Again let me know if there's something I'm missing.

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

use the config from here: #6 (comment)

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

Still nothing. Don't know if this is related with my issue, but every time I open the app, it pops this up twice. I type my password both times and the app stalls in the dock a bit before closing.
screen shot 2016-09-18 at 11 49 25 pm

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

The way app icon behaves means that injecting most likely goes without problems.
As to why is asks your password every time, I don't now.

I personally still use El Capitan. It is possible that Apple has changed Dock internals, which the app relies on. In that case the app won't work until I install Sierra and see what has changed and modify the app accordingly.

So, if injecting is actually ok, and your config is correct, the app should work.

As the last resort, try running the app via Terminal and copy the output here. Or, if it fails for some reason, run it from Xcode and copy the app output from there.

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

This is what I get when trying to run the app through Xcode:

(lldb) attach Dock
Process 1541 stopped
* thread #1: tid = 0x2122b, 0x00007fffea6c141a libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fffea6c141a libsystem_kernel.dylib`mach_msg_trap + 10
libsystem_kernel.dylib`mach_msg_trap:
->  0x7fffea6c141a <+10>: retq   
    0x7fffea6c141b <+11>: nop    

libsystem_kernel.dylib`mach_msg_overwrite_trap:
    0x7fffea6c141c <+0>:  movq   %rcx, %r10
    0x7fffea6c141f <+3>:  movl   $0x1000020, %eax          ; imm = 0x1000020 

Executable module set to "/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock".
Architecture set to: x86_64h-apple-macosx.
(lldb) expr (char)[[NSBundle bundleWithPath:@"/Users/Alan/Library/Developer/Xcode/DerivedData/Sculpt_Comfort_Mission_Control-eikthdmlpxciqvfzfntvsbiliujo/Build/Products/Debug/Sculpt Comfort Mission Control.app/Contents/Resources/Sculpt Control Inject Bundle.bundle"] load]
(char) $0 = '\x01'
(lldb) detach
Process 1541 detached
(lldb) (lldb) quit

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

I can see that bundle is successfully injected here.
It is possible that Sierra has introduced incompatible changes to Dock binary. Check if Dock restarts after launching the app or after clicking win-button. The restart may happen due to a crash caused by binary incompatibility. There are two ways to do this:

  • Desktop background turns black for a moment (faster way)
  • Open Activity Monitor and see if PID of Dock process has changed (more reliable)

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

PID doesn't change at all in Activity Mon

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

Ok, there is one more thing we can try. Open terminal and type defaults read com.apple.dock scmc. The output should be your config. If it is not, try to import it once again.
My output:
screen shot 2016-09-20 at 16 35 29

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

Mine's the same minus swipe-down-code being 4 and swipe-up-code being 5. Click actions are the same, but clicking the Windows button doesn't do anything.

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

Everything looks ok except the OS version. It seems that nothing can be done here until I install Sierra and see why it doesn't work. Unfortunately, I don't plan to upgrade in the near future.

from sculpt-comfort-mission-control.

ThisIsAlanB avatar ThisIsAlanB commented on August 22, 2024

Alright. Thanks for all of the the help anyway!

from sculpt-comfort-mission-control.

AhmedKamal avatar AhmedKamal commented on August 22, 2024

@ultimate-deej First Thanks a lot for your efforts. Is there any updates regarding this ?

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

@AhmedKamal not yet, I still haven't upgraded to Sierra. I was thinking of making a plugin for SIMBL, it appears to be working on Sierra.

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

@ThisIsAlanB @AhmedKamal Check out the latest release

from sculpt-comfort-mission-control.

ultimate-deej avatar ultimate-deej commented on August 22, 2024

So, according to #10 and my own test on a few Macs, it works now.

from sculpt-comfort-mission-control.

Related Issues (18)

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.