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

Slate does not see my config file #455

Open
KathrynCrawford opened this issue Oct 15, 2015 · 20 comments
Open

Slate does not see my config file #455

KathrynCrawford opened this issue Oct 15, 2015 · 20 comments

Comments

@KathrynCrawford
Copy link

@KathrynCrawford KathrynCrawford commented Oct 15, 2015

I put a new .slate file in the same directory that holds all my Slate files (on a mac users/my name/documents/slate/Slate) and Slate does not recognize it and is defaulting to the default.slate file in the same directory. I've tried moving the file around as well, to my user folder, to my documents folder, to the slate folder. None of them make a difference.

@loshlee

This comment has been minimized.

Copy link

@loshlee loshlee commented Oct 15, 2015

AFAIK, Slate's default configuration file is still required to exist in your your home folder, and be named ".slate", which requires that you use an application other than Finder to put it there or give it that name. Finder, by default won't allow you to view a file having a name that starts with ".", so you must either rename it with a command in the Terminal app, or use an app such as TinkerTool or Onyx which has the ability to modify the Finder's default configuration so that normally hidden files become visible. One more thing, if you make the normally hidden files visible, you'll need to use command-O to open the selected .slate file rather than double-clicking it.

@KathrynCrawford

This comment has been minimized.

Copy link
Author

@KathrynCrawford KathrynCrawford commented Oct 16, 2015

I updated terminal to allow me to see hidden files and I don't see anything hidden in that folder. I have a default.slate file that I downloaded from this project that is in there, but if I edit it nothing happens. I also tried changing it's name to just .slate with nothing preceding the period, but it made no difference. Slate just doesn't see it. I also tried moving it (named .slate) to my home folder (Users/my name) and it made no difference.
screen shot 2015-10-16 at 9 43 42 am

@loshlee

This comment has been minimized.

Copy link

@loshlee loshlee commented Oct 16, 2015

Not sure why you/re working in "users/my name/documents/slate/Slate". Try working in "users/my name".

@KathrynCrawford

This comment has been minimized.

Copy link
Author

@KathrynCrawford KathrynCrawford commented Oct 16, 2015

I mean, I've tried both. I've put the file in both places and neither one works for me.

@loshlee

This comment has been minimized.

Copy link

@loshlee loshlee commented Oct 16, 2015

Paste the following into a Terminal window, press return, and describe what happens.

open ~/.slate

@KathrynCrawford

This comment has been minimized.

Copy link
Author

@KathrynCrawford KathrynCrawford commented Oct 16, 2015

Here's where the file is

screen shot 2015-10-16 at 1 11 00 pm

And what terminal gave me :(

screen shot 2015-10-16 at 1 11 10 pm

@loshlee

This comment has been minimized.

Copy link

@loshlee loshlee commented Oct 16, 2015

Do you have a managed account? Can you log out, then log in as a different user, then view the contents of the Users folder to ensure that a kathryn.crawford folder is there? There's a chance your home folder belongs to a network domain, or that permissions aren't allowing the shell you're using in Terminal (or Slate) to see the home folder, in which case you may need some help from an administrator. Have you upgraded to El Capitan, by chance? I'm not sure whether others have successfully used Slate in El Capitan, maybe someone else can confirm it works.

@KathrynCrawford

This comment has been minimized.

Copy link
Author

@KathrynCrawford KathrynCrawford commented Oct 16, 2015

Ah dang it! That's probably my issue. It's my work computer, so I may not have the right permissions. I am an admin, but I know there are a few things that are blocked for me. Unfortunately I can't log in as a different user :( Thanks for your help! I'll see if IT can give me a break :P

@KathrynCrawford

This comment has been minimized.

Copy link
Author

@KathrynCrawford KathrynCrawford commented Oct 16, 2015

I got it to work! Turns out just moving the file in finder didn't do the trick. I opened up filezilla checked it and the file name was actually .slate.slate, but finder was just saying it was .slate. I shortened it to the right name and it worked!

@cyberixae

This comment has been minimized.

Copy link

@cyberixae cyberixae commented Nov 12, 2015

I have now successfully used Slate in El Capitan. After the upgrade Slate seemed broken. It asked me for some "accessibility" permission but granting this permission did nothing. I was able to fix the problem and make Slate work again by doing as follows.

  1. go to  → System Preferences → Security & Privacy → Accessibility
  2. click on lock icon to unlock settings
  3. enter user password when prompted for it
  4. check the checkbox next to Slate
  5. click on lock icon to lock settings
  6. close settings window
  7. quit slate by clicking on the slate icon at the top of the screen and selecting "Quit Slate"
  8. press ⌘ + space to bring up application launcher
  9. type "slate" and hit the return key to launch Slate
@anvaka

This comment has been minimized.

Copy link

@anvaka anvaka commented Jan 19, 2016

I had similar problem: could swear I have .slate in my home folder. Turns out I was working over SSH in remote machine and created ~/.slate there, not on my local OSX :).

@project-guru

This comment has been minimized.

Copy link

@project-guru project-guru commented Apr 16, 2016

I have searched for at least a couple of hours and every site I've seen assumes that the ".slate" file is in the home folder but it isn't. Can someone please tell me how/where to get the ".slate" file? I am using Tinkertool to see invisible but I see no ".slate" file in my home folder. See screenshot below.

Also, how do I get a JavaScript file to become invisible? I'm thinking in the future to use JS to make Slate more configurable.

screenshot_4_16_16__1_02_pm

Thanks!

@project-guru

This comment has been minimized.

Copy link

@project-guru project-guru commented Apr 17, 2016

@cyberixae What am I supposed to do with that link? In my original post I said that I can't find the file in my home directory (see screenshot in my previous post).

@jneubrand

This comment has been minimized.

Copy link

@jneubrand jneubrand commented Apr 17, 2016

Create it @project-guru

On Apr 17, 2016, at 22:29, project-guru notifications@github.com wrote:

@cyberixae What am I supposed to do with that link? In my original post I said that I can't find the file in my home directory (see screenshot in my previous post).


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@project-guru

This comment has been minimized.

Copy link

@project-guru project-guru commented Apr 18, 2016

I don't know how. Please advise. As far as I have research, Finder won't let you create a file with a dot preceding it's name.

@jneubrand

This comment has been minimized.

Copy link

@jneubrand jneubrand commented Apr 18, 2016

@project-guru save it with that name from your preferred text editor.

On Apr 18, 2016, at 18:57, project-guru notifications@github.com wrote:

I don't know how. Please advise. As far as I have research, Finder won't let you create a file with a dot preceding it's name.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

@harizvi

This comment has been minimized.

Copy link

@harizvi harizvi commented Apr 18, 2016

Open the terminal app. In there type the following commands one by one:

cd $HOME
touch .slate
open -a textedit .slate

The last command should open an empty file named .slate in the textedit
editor. Now, you can change it all you want, and then save. If you prefer
any other editor, you should be able to open and edit this file like usual.

On Mon, Apr 18, 2016 at 9:57 AM, project-guru notifications@github.com
wrote:

I don't know how. Please advise. As far as I have research, Finder won't
let you create a file with a dot preceding it's name.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#455 (comment)

Regards,

Haider

@project-guru

This comment has been minimized.

Copy link

@project-guru project-guru commented Apr 18, 2016

Thanks. I used TextWrangler. I warned me about saving a file with a dot in front of the name but it did allow me to save it.

TIP for new users: you can make an alias of the invisible file and drag it to the desktop BUT make sure you remove the dot in the alias name. This way, when you want to access it you just double-click the alias!

@jneubrand

This comment has been minimized.

Copy link

@jneubrand jneubrand commented Apr 18, 2016

@project-guru you can also create an alias with the command ln -s, for example ln -s .original .hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.