***SUPERTIP*** Screenshot su Imageshack con un click

Personalizzazione grafica del sistema: icone, temi, sfondi, suoni, eccetera.
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

da synaptic risulta installato zenity
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

riapro questo topic, mi sembra molto interessante...
mi sono fermato all'aggiunta delle righe

"import -windowid root screen.jpg && ~/scripts/imageshack.py screen.jpg | zenity --title "Link per la mia immagine" --text-info && rm screen.jpg"
m:0x0 + c:111

la guida dice di salvarle in nano ~./xbindkeysrc
però non me le salva ne se le apro con nano ne con gedit
allora un utente ha detto di salvarle in ~/.xbinkeysrc
qui le ho salvate correttamente ma quando premo stamp mi fa lo screenshot normalmente
ke devo fare?
Avatar utente
topper_harley
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1078
Iscrizione: giovedì 15 dicembre 2005, 13:21
Località: Treviso/Udine
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da topper_harley »

Per capirci: usi gnome o kde (ovvero dei desktop enviroment) o un window manager (fluxbox, fvwm, icewm ecc.)?

P.s. le abbreviazioni tipo sms (ke al posto di che) non sono molto gradite nei forum.
Jabber: topper_harley@jabber.org - ICQ: 224179391
MSN: TopperHarley80@gmail.com-GoogleTalk: TopperHarley80

egrep -iroh "fuck | shit | suck" /usr/src/linux | sort | uniq -c | sort -r
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

io uso xgl e beryl...
che devo fare?
Avatar utente
l3on
Rampante Reduce
Rampante Reduce
Messaggi: 6450
Iscrizione: sabato 20 maggio 2006, 19:03
Località: Bologna
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da l3on »

Concordo con mauro21...
Intando dovresti editare il primo post e correggere l'errore:

Codice: Seleziona tutto

~./xbindkeysrc
con

Codice: Seleziona tutto

~/.xbindkeysrc
Poi anche a me con gnome non va... e ho messo queste righe in xbindkeysrc:

Codice: Seleziona tutto

"import -windowid root screen.jpg && kdialog  --msgbox `~/scripts/imageshack.py screen.jpg` && rm screen.jpg"
m:0x0 + c:111 
Pagina Personale sul Wiki - Sito Personale - Blog | `l3on @ ubuntu.com` .

Ex "Membro del Consiglio, Sysadmin e Web-Designer dei portali della comunità, Amministratore del Sito e tante altre cose..." Con Ubuntu-it dal maggio del 2006.
Ajeje-Brazorf

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da Ajeje-Brazorf »

L' unica cosa che posso fare per aiutarvi è postarvi il link originale alla guida: http://forums.gentoo.org/viewtopic-t-48 ... shack.html
Ciao ciao  (rotfl)
Avatar utente
MrCrAcK
Prode Principiante
Messaggi: 162
Iscrizione: domenica 4 giugno 2006, 18:56
Località: Modena

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da MrCrAcK »

A me funziona perfettamente..uso XGL + Beryl... (rotfl)

Grazie mille topper_harley  (b2b)
Ci sono persone che sanno tutto e purtroppo è tutto quello che sanno.
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

come hai fatto?
Avatar utente
topper_harley
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1078
Iscrizione: giovedì 15 dicembre 2005, 13:21
Località: Treviso/Udine
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da topper_harley »

Prova a dare questi 2 comandi da terminale:

Codice: Seleziona tutto

import -windowid root screen.jpg  
~/scripts/imageshack.py screen.jpg | zenity --title "Link per la mia immagine" --text-info
e vedi cosa succede
Jabber: topper_harley@jabber.org - ICQ: 224179391
MSN: TopperHarley80@gmail.com-GoogleTalk: TopperHarley80

egrep -iroh "fuck | shit | suck" /usr/src/linux | sort | uniq -c | sort -r
Avatar utente
l3on
Rampante Reduce
Rampante Reduce
Messaggi: 6450
Iscrizione: sabato 20 maggio 2006, 19:03
Località: Bologna
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da l3on »

topper_harley ha scritto: Prova a dare questi 2 comandi da terminale:

Codice: Seleziona tutto

import -windowid root screen.jpg  
~/scripts/imageshack.py screen.jpg | zenity --title "Link per la mia immagine" --text-info
e vedi cosa succede
Scusa ma te questo comando: "import -windowid root screen.jpg" lo usi teoricamente per fare lo shot vero? perche' se fosse cosi' potrei usarne un altro (visto che con gnome nn funge...) scrot ad esempio...
Pagina Personale sul Wiki - Sito Personale - Blog | `l3on @ ubuntu.com` .

Ex "Membro del Consiglio, Sysadmin e Web-Designer dei portali della comunità, Amministratore del Sito e tante altre cose..." Con Ubuntu-it dal maggio del 2006.
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

topper_harley ha scritto: Prova a dare questi 2 comandi da terminale:

Codice: Seleziona tutto

import -windowid root screen.jpg  
~/scripts/imageshack.py screen.jpg | zenity --title "Link per la mia immagine" --text-info
e vedi cosa succede
esce un rettangolo bianco con in alto Link per la mia immagine
Avatar utente
topper_harley
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1078
Iscrizione: giovedì 15 dicembre 2005, 13:21
Località: Treviso/Udine
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da topper_harley »

Lo script sembra funzionare.

L'unica cosa che mi viene in mente è che la tua tastiera sia differente dalla mia. Prova con xev a verificare se il tasto PrtScr corrisponde realmente a 111.
Jabber: topper_harley@jabber.org - ICQ: 224179391
MSN: TopperHarley80@gmail.com-GoogleTalk: TopperHarley80

egrep -iroh "fuck | shit | suck" /usr/src/linux | sort | uniq -c | sort -r
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

scusa come devo fare?
do xev da terminal e mi appare il quadratino bianco...
poi?
Avatar utente
topper_harley
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1078
Iscrizione: giovedì 15 dicembre 2005, 13:21
Località: Treviso/Udine
Contatti:

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da topper_harley »

Poi premi il tasto del quale vuoi avere informazioni (in questo caso  PrtScr) e posta qui il risultato.
Jabber: topper_harley@jabber.org - ICQ: 224179391
MSN: TopperHarley80@gmail.com-GoogleTalk: TopperHarley80

egrep -iroh "fuck | shit | suck" /usr/src/linux | sort | uniq -c | sort -r
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

boh ti posto tutto
le operazioni che ho fatto sono:
da terminale ho eseguito xev
è uscito il quadratino e ho cliccato stamp
poi è uscita la finestra di stamp e dopo l'ho chiusa
poi ho copiato tutte le info dal terminal

Codice: Seleziona tutto

Outer window is 0x2c00001, inner window is 0x2c00002

PropertyNotify event, serial 8, synthetic NO, window 0x2c00001,
    atom 0x27 (WM_NAME), time 1380143760, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2c00001,
    atom 0x22 (WM_COMMAND), time 1380143760, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2c00001,
    atom 0x28 (WM_NORMAL_HINTS), time 1380143760, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2c00001,
    parent 0x2c00001, window 0x2c00002, (10,10), width 50, height 50
border_width 4, override NO

MapNotify event, serial 12, synthetic NO, window 0x2c00001,
    event 0x2c00001, window 0x2c00002, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0xb8 (_NET_WM_DESKTOP), time 1380143762, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x132 (_NET_WM_ALLOWED_ACTIONS), time 1380143762, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x2c00001,
    event 0x2c00001, window 0x2c00001, override NO

VisibilityNotify event, serial 15, synthetic NO, window 0x2c00001,
    state VisibilityUnobscured

Expose event, serial 15, synthetic NO, window 0x2c00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 15, synthetic NO, window 0x2c00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 15, synthetic NO, window 0x2c00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 15, synthetic NO, window 0x2c00001,
    (0,68), width 178, height 110, count 0

ConfigureNotify event, serial 15, synthetic NO, window 0x2c00001,
    event 0x2c00001, window 0x2c00001, (0,0), width 178, height 178,
    border_width 2, above 0x2a0001e, override NO

FocusIn event, serial 15, synthetic NO, window 0x2c00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 15, synthetic NO, window 0x0,
    keys:  0   0   0   0   16  0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x171 (_NET_FRAME_WINDOW), time 1380143765, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x132 (_NET_WM_ALLOWED_ACTIONS), time 1380143765, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x146 (_NET_FRAME_EXTENTS), time 1380143765, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x62 (WM_STATE), time 1380143765, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic NO, window 0x2c00001,
    event 0x2c00001, window 0x2c00001, (76,94), width 178, height 178,
    border_width 2, above 0x2000ec6, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0xd2 (XKLAVIER_STATE), time 1380143772, state PropertyNewValue

KeyRelease event, serial 15, synthetic NO, window 0x2c00001,
    root 0x52, subw 0x0, time 1380143801, (273,183), root:(351,279),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x172 (_NET_WINDOW_DECOR), time 1380143826, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2c00001,
    atom 0x123 (_NET_WM_ICON_GEOMETRY), time 1380143830, state PropertyNewValue

FocusOut event, serial 31, synthetic NO, window 0x2c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x2c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

FocusOut event, serial 31, synthetic NO, window 0x2c00001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x123 (_NET_WM_ICON_GEOMETRY), time 1380146797, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x123 (_NET_WM_ICON_GEOMETRY), time 1380146857, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x172 (_NET_WINDOW_DECOR), time 1380146989, state PropertyNewValue

FocusIn event, serial 31, synthetic NO, window 0x2c00001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x123 (_NET_WM_ICON_GEOMETRY), time 1380149734, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x123 (_NET_WM_ICON_GEOMETRY), time 1380149758, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x2c00001,
    atom 0x172 (_NET_WINDOW_DECOR), time 1380149764, state PropertyNewValue
ci capisci?
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

riuppppppppppp

dai non mi manca molto... vorrei solo sapere a cosa corrisponde il mio tasto Stamp
Ultima modifica di mauro21 il sabato 20 gennaio 2007, 18:49, modificato 1 volta in totale.
mauro21
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1459
Iscrizione: lunedì 27 febbraio 2006, 19:37
Distribuzione: ubuntu 12.10

Re: ***SUPERTIP*** Screenshot su Imageshack con un click

Messaggio da mauro21 »

ho trovato un rimedio brutto ma che va

ho assegnato a alt+o il comando

import -windowid root screen.jpg

edit: adesso ho assegnato scrot -d 5 screen.jpg non cambia nulla (fa la stessa cosa) ma cosi si può mettere il ritardo (io ho messo un ritardo di 5 secondi)

ed a alt+k

~/scripts/imageshack.py screen.jpg | zenity --title "Link per la mia immagine" --text-info

adesso se premo alt o e poi alt k funziona...
Ultima modifica di mauro21 il sabato 20 gennaio 2007, 19:13, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Personalizzazione dell'ambiente desktop”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti