cybre / budgie-haste-applet

Post any text – be it code or prose – to various services directly from your desktop. Made with ❤️️ for Budgie Desktop.
GNU General Public License v2.0
29 stars 2 forks source link

Thanks & Config File #7

Closed Logic-gate closed 8 years ago

Logic-gate commented 8 years ago

Hey, just dropping in to say thanks for this. I added it to the clients list here(https://github.com/seejohnrun/haste-server/wiki/Clients).

Is there by any chance a config file file for specifying the server? or is L25 the only way to define a new server?

cybre commented 8 years ago

You can change the server in raven (the budgie-desktop sidebar). Select the applet in the applet list and click the cog button. It uses gsettings to store the data.

Logic-gate commented 8 years ago

Hey,

Thanks for the config inst. However, for some reason I am getting a Error. Connection to server failed. mind you I added https://. I am not sure what I did, but reverting back to hastebin.com raises the same error. Is there a cache of some sorts that needs to be cleared??

cybre commented 8 years ago

Hmm. I'll investigate when I get home from school.

On Thu, 15 Sep 2016 04:19 Amer Almadani, notifications@github.com wrote:

Hey,

Thanks for the config inst. However, for some reason I am getting a Error. Connection to server failed. mind you I added https://. I am not sure what I did, but reverting back to hastebin.com raises the same error. Is there a cache of some sorts that needs to be cleared??

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/cybre/budgie-haste-applet/issues/7#issuecomment-247214799, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9TQaXqYY_u6f4VQVQ-l34oUnsyKHKjks5qqKsjgaJpZM4J8Kyd .

cybre commented 8 years ago

Fixed! I'll wait for you to try it out to close the issue. I used your server for testing so sorry for the spam xD.

Logic-gate commented 8 years ago

Hey,

Thanks for going through with this.

Unfortunately it's not working for me. I keep getting this error.

(budgie-panel:1497): GLib-GIO-ERROR **: Settings schema 'com.github.cybre.haste-applet' does not contain a key named 'protocol'
Trace/breakpoint trap (core dumped)

So, I added

<key type="s" name="protocol">
      <default>'https'</default>
      <summary>protocol</summary>
      <description>protocol</description>
</key>

But, I still get the same error. Keep in mind, budgie panel in its entirety fails to load due to the error.

Could you please try it on https://ma.tc

I am sure it's a misunderstanding from my part.

cheers, and thanks.

cybre commented 8 years ago

Ah, completely my fault. I have somehow managed to not include that key in the commit. It's now there. Rebuild please.

EDIT: That URL works.

Logic-gate commented 8 years ago

Interesting...how did you get it to work??

This is the out put I get

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://ma.tc/documents">here</a>.</p>
</body></html>

Status Code: 301

EDIT: I am still getting a connection error. I followed the build instructions stated. I only changed the the address and protocol in NewHasteView and gschema

cybre commented 8 years ago

Did you include the protocol?

Logic-gate commented 8 years ago

Yup

cybre commented 8 years ago

This is so weird.

cybre commented 8 years ago

Don't change it in the files. Leave it as it is and change in the settings.

Logic-gate commented 8 years ago

aha...wait, let me try it your way.

Logic-gate commented 8 years ago

Should I change it pre or post build?

Logic-gate commented 8 years ago

Ohhhhhhh.....My bad. Just disregard everything I said.

cybre commented 8 years ago

What was it?

Logic-gate commented 8 years ago

i kept changing the address and protocol in gschema manually...didn't realize that there was a settings option in raven. This is so embarrassing. Sorry for being the idiot of the day. Drat and double drat.

Logic-gate commented 8 years ago

Thanks for everything...I probably wasted your valuable time. It's working flawlessly now.

cybre commented 8 years ago

Haha, I even explained it in my first response :P. Well, at least I've finally added https support. Cheers!