FrozenFire | Is there a way to have my screenshots automatically uploaded to imgur, and a link placed into my clipboard (or made easily accessible on-screen)? | 01:03 |
---|---|---|
FrozenFire | I don't mind scripting a bit to make it happen, but I don't even know where to start. | 01:03 |
FrozenFire | gnome-screenshot seems maybe to be the utility that handles it? | 01:04 |
darkxst | FrozenFire, I think in theory pastebinit might be able to do that | 01:18 |
darkxst | I don't know if it has imgur support though | 01:18 |
FrozenFire | Well, the thing would be to have some sort of post-screenshot script hook | 01:19 |
FrozenFire | I could handle the rest | 01:19 |
darkxst | FrozenFire, does the shell does screenshots now btw | 01:45 |
darkxst | s/ does the shell/The shell/ | 01:46 |
FrozenFire | Perhaps an important clarification is that I'm on Ubuntu 12.04 with Gnome-Shell 3.4.1 | 01:47 |
FrozenFire | Not sure if gnome-screenshot had been dropped for that release. | 01:47 |
darkxst | ah right, yeh still gnome-screenshot then | 01:48 |
darkxst | FrozenFire, http://sirupsen.com/a-simple-imgur-bash-screenshot-utility/ | 01:50 |
FrozenFire | Hrmm, each example I've seen has used a different utility than gnome-screenshot | 01:51 |
darkxst | probably because gnome-screenshot has no hooks | 01:51 |
darkxst | although you could launch gnome-screenshot from a script in non-interactive mode | 01:52 |
darkxst | and change the screenshot key binding | 01:52 |
FrozenFire | True | 01:53 |
=== CripperZ- is now known as CripperZ | ||
=== zequence_ is now known as zequence | ||
=== topyli_ is now known as topyli | ||
=== mgedmin_ is now known as mgedmin | ||
=== CripperZ is now known as CripperZ- | ||
jaysonr | darkxst: i forgot to follow back up with you, but everything is working fine now. | 10:32 |
jaysonr | darkxst: i had the same issue w/ another user; wound up just re-installing since it was a pretty fresh install, and everything has worked fine since. | 10:33 |
* jaysonr shrugs | 10:33 | |
darkxst | jaysonr, ok cool | 10:33 |
jaysonr | darkxst: thanks again for your time helping. | 10:33 |
darkxst | np | 10:33 |
dupondje | who can I bug for some issue ? :) | 10:37 |
dupondje | https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1175582 https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1177833 https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1176757 https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1174208 https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1173472 https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1163961 | 10:37 |
ubot5 | Launchpad bug 1175582 in empathy (Ubuntu) "Empathy not displaying any online contacts" [Undecided,New] | 10:37 |
ubot5 | Launchpad bug 1177833 in empathy (Ubuntu) "empaty does not connect to any account. and it does not show the yahoo contacts avatar." [Undecided,New] | 10:37 |
ubot5 | Launchpad bug 1176757 in empathy (Ubuntu) "doesn't connecting to any account except facebook" [Undecided,New] | 10:37 |
ubot5 | Launchpad bug 1174208 in empathy (Ubuntu) "Empathy shows no contacts in Ubuntu 13.04" [Undecided,Confirmed] | 10:37 |
ubot5 | Launchpad bug 1173472 in empathy (Ubuntu) "the facebook accounts in empathy shown disconnected" [Undecided,Confirmed] | 10:37 |
dupondje | Empathy seems quite broken :( | 10:37 |
* darkxst is going to hide now ;) | 10:50 | |
=== SonikkuAmerica[i is now known as S-USA[idle] | ||
SonikkuAmerica | clear | 14:23 |
=== ricotz_ is now known as ricotz | ||
FrozenFire | Blegh. Grumble grumble. Can't get a script working as a keyboard shortcut, which works flawlessly from the terminal | 20:47 |
jjmarin_ | FrozenFire: what's the problem ? | 21:25 |
FrozenFire | http://pastebin.com/VyXGzajx | 21:28 |
FrozenFire | Basically, it's supposed to take a screenshot using gnome-screenshot, then upload that screenshot to imgur and put the link into my clipboard using xsel. | 21:28 |
FrozenFire | imgurbash.sh does the uploading and clipboard manipulation | 21:29 |
FrozenFire | And it works on the terminal, where it presumably has a DISPLAY reference | 21:29 |
FrozenFire | I've tried setting the DISPLAY for the script, but no dice | 21:29 |
FrozenFire | Wondering if the keyboard shortcut thing has a different environment than my session | 21:31 |
jjmarin_ | So you are calling the script using a Custom Keyboard Shortcut ? | 21:34 |
jjmarin_ | And you set using Settings > Keyboard > Shortcuts > Custom Shortcuts | 21:35 |
FrozenFire | Yeah. bash -c "/home/me/bin/screenshot.sh" | 21:35 |
FrozenFire | It definitely calls the script | 21:36 |
FrozenFire | The screenshot happens | 21:36 |
FrozenFire | It just never ends up in my clipboard, and I don't know if it actually uploads to imgur | 21:36 |
FrozenFire | Though I suspect it does | 21:36 |
jjmarin_ | are you using gnome-screenshot -f ? | 21:37 |
FrozenFire | Sfaik, there's no -f on my version of gnome-screenshot | 21:38 |
FrozenFire | Gnome-shell 3.4.1 | 21:39 |
jjmarin_ | I don't have a gnome-shell 3.4 avalaible to test it here :/ | 21:41 |
FrozenFire | I should probably upgrade, but meh. :P | 21:45 |
jjmarin_ | :) | 21:45 |
jjmarin_ | I usually enjoy with the lastest versions :) | 21:46 |
jjmarin_ | even when alphas or betas go wrong | 21:46 |
FrozenFire | As do I. I've definitely been pleased with the newer GS versions in 12.10 and 13.04 | 21:47 |
FrozenFire | Just can't be assed to do-release-upgrade my workhorse box | 21:47 |
darkxst_ | FrozenFire, if it works from a terminal, but not keyboard launcher then presumably its missing some env variable | 21:47 |
FrozenFire | Yeah. Just can't for the life of me figure out which | 21:48 |
FrozenFire | I've tried putting DISPLAY=:0 at the beginning of the script | 21:48 |
darkxst_ | it wont be DISPLAY | 21:48 |
FrozenFire | It's likely to be something with xsel | 21:48 |
FrozenFire | But I don't know what it'd be | 21:48 |
darkxst_ | try XAUTHORITY | 21:48 |
darkxst_ | http://paste.ubuntu.com/5652591/ | 21:49 |
darkxst_ | try adding that to the top of your scripts | 21:49 |
FrozenFire | No dice | 21:50 |
darkxst_ | FrozenFire, do you get any output in ~/.cache/gdm/session.log? | 21:57 |
FrozenFire | Might if I had such a log :) | 21:57 |
FrozenFire | I had thought I was using gdm, but apparently not. | 21:58 |
darkxst_ | ~/.xsession-errors then | 22:02 |
FrozenFire | Not present. Now I'm curious what desktop manager I'm actually using. :P | 22:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!