N/B: Do not use administrative rights (sudo
) for any command that you would run
-
Create a file named
.leptonrc
on yourDesktop
-
Put the code below into it
{
"theme": "dark",
"snippet": {
"expanded": true,
"newSnippetPrivate": false,
"sorting": "updated_at",
"sortingReverse": true
},
"editor" : {
"tabSize": 2
},
"userPanel": {
"hideProfilePhoto": false
},
"logger": {
"level": "debug"
},
"proxy": {
"enable": false,
"address": "socks://localhost:1080"
},
"enterprise": {
"enable": false,
"host": "github_enterprise_host",
"token": "token_with_gist_enabled",
"avatarUrl": "optional_avatar_url"
}
}
-
Save and exit your text editor.
-
Copy the
.leptonrc
file to~/snap/lepton/9
directory by running the command below, which will create a symbolic link in the~/snap/lepton/current
directory.
mv .leptonrc ~/snap/lepton/9/.leptonrc
- Restart your Lepton application.