![]() Xclip -out -selection clipboard -target STRING | iconv -from-code ISO-8859-15 -to-code UTF-8 | xclip -in -selection clipboard $ xclip -out -selection clipboard -target 'text/plain' | hexdump -C The clipboard contents after copying that from GNOME Terminal: $ xclip -out -selection clipboard -target TARGETS The path copied from PosteRazor and pasted into GNOME Terminal and then copied from GNOME Terminal and pasted back into PosteRazor: The path copied from PosteRazor and pasted into GNOME Terminal: The clipboard contents after copying that from Chromium: $ xclip -out -selection clipboard -target TARGETSĠ0000010 6f 72 72 74 68 2d 61 6d 65 72 69 63 61 2e 6a 70 |orrth-america.jp| The path copied from PosteRazor and pasted into Chromium and then copied from Chromium and pasted back into PosteRazor: The path copied from PosteRazor and pasted into Chromium: /home/ak/café/norrth-america.jpg PosteRazor after copying the path from PosteRazor and pasting it into PosteRazor: PosteRazor after copying the path from Nautilus and pasting it into PosteRazor: The clipboard contents after copying the path from PosteRazor: $ xclip -out -selection clipboard -target TARGETS $ xclip -out -selection clipboard -target 'text/plain charset=utf-8' | hexdump -C The clipboard contents after copying the path from Nautilus: $ xclip -out -selection clipboard -target TARGETS The same path as it natively appears in PosteRazor: DetailsĪ path as it natively appears in Nautilus: /home/ak/café/north-america.jpg Its programmer's documentation on Unicode looks like it might contain the necessary information to answer my question, but I'm not sure how to interpret it. The Ubuntu package for PosteRazor lists a dependency on the Fast Light Toolkit (FLTK). How can I convert the path that Nautilus generates into a text encoding that is compatible with PosteRazor? This works in other applications, but sadly, PosteRazor is unable to understand the path: PosteRazor uses an apparently outdated GUI that is incapable of properly displaying my filenames:įor the sake of convenience, I want to be able to open any file in PosteRazor by copying and pasting its path from Nautilus.
0 Comments
Leave a Reply. |