Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to open config directory in finder from preferences window #10

Closed
iskrisis opened this issue Sep 27, 2016 · 14 comments
Closed

Comments

@iskrisis
Copy link

iskrisis commented Sep 27, 2016

This might not concernt syncthing-macosx
I would like to change gui. For that i need $config_dir/gui.

It does not seem that its application support on osx - where config.xml is located.

How can i get to the right place please?

Again, sorry for spamming the issues.

@xor-gate
Copy link
Member

xor-gate commented Sep 27, 2016

It is currently not possible to override from the gui. Run:
syncthing -paths

Jerrys-MBP-405:~ jerry$ /Applications/Syncthing.app/Contents/Resources/syncthing/syncthing -paths
Configuration file:
    /Users/jerry/Library/Application Support/Syncthing/config.xml

Database directory:
    /Users/jerry/Library/Application Support/Syncthing/index-v0.14.0.db

Device private key & certificate files:
    /Users/jerry/Library/Application Support/Syncthing/key.pem
    /Users/jerry/Library/Application Support/Syncthing/cert.pem

HTTPS private key & certificate files:
    /Users/jerry/Library/Application Support/Syncthing/https-key.pem
    /Users/jerry/Library/Application Support/Syncthing/https-cert.pem

Log file:
    /Users/jerry/Library/Application Support/Syncthing/syncthing.log

GUI override directory:
    /Users/jerry/Library/Application Support/Syncthing/gui

Default sync folder directory:
    /Users/jerry/Sync

@iskrisis
Copy link
Author

Lovely. But i was at the right place so the problem is somewhere else. I dont think it needs to be possible to override from the gui (i asume you mean the tray->preferences).

Thank you!

@xor-gate
Copy link
Member

I would like to have a button to open finder in the gui override folder based on the configuration. This makes it much easier then navigating to the hidden folder.

@iskrisis
Copy link
Author

iskrisis commented Sep 27, 2016

It would be nice, but app works overall quite great actualy. I think only other thing i would like is the other issue with folder labels instead of IDs. Most people who plan to change gui (webdevs) will know how to navigate to hidden folder.

Great work! THX

@xor-gate xor-gate changed the title $config_dir ? Add buttons to open config directory in finder from preferences window Sep 27, 2016
@xor-gate xor-gate changed the title Add buttons to open config directory in finder from preferences window Add button to open config directory in finder from preferences window Sep 27, 2016
@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

I started reworking the preferences dialog to have a toolbar. I had a major fight with Xcode/Objective-C and the GUI builder. But its working now (beta):

progress example

@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

As soon as I have added the "open config directory" button I will close this issue. Then still some work remains to make the window dynamic scale.

@krisak should the button be placed in the Advanced view of preferences?

@iskrisis
Copy link
Author

iskrisis commented Oct 4, 2016

You should also somehow figure out how to put this somewhere more visible. Its best osx client for syncthing and it works well and its more up to date than the other one. Its just hard to find it.

@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

Yeah I know, I have already added it to the documentation of syncthing and talked about it on the forum. When the new preferences window is ready I will tweet it is ready :+).

https://github.com/syncthing/docs/blob/d3a941dc634950cf174baf9025d4df7068e3e369/users/contrib.rst#os-x

@iskrisis
Copy link
Author

iskrisis commented Oct 4, 2016

Just detail - the other syncthing-bar has "(OSX 10.10 only)" the same aplies for syncthing-macosx. This can be also a bit misleading lot ofo the people would expect your client will work before 10.10 - lot of people still use older ones. Just detail

@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

I know mine should support OS X since 10.8 or so, but not tested yet.

@iskrisis
Copy link
Author

iskrisis commented Oct 4, 2016

My coworker has 10.9 because he has older mac. Not working there. Might be OSX checking setup because he cant even run it (the app is grey). Clean syncthing binary works tho and you have the app in objective-c so i think it should work. We can test it but maybe you have to chceck something in xcod when you are bulding it?

@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

The current releases are targeted at 10.10, but I have a current setup where 10.8 is targeted and compiles without problems.

@iskrisis
Copy link
Author

iskrisis commented Oct 4, 2016

That would be awesome.

@xor-gate
Copy link
Member

xor-gate commented Oct 4, 2016

I have pushed a new release (which is still pinned to 10.10). Have fun!

@xor-gate xor-gate closed this as completed Oct 4, 2016
@syncthing syncthing locked and limited conversation to collaborators Jan 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants