You are not logged in.
Hi, I'm pretty new to scripting in Linux (and Linux in general, really), and I've spent a few hours on this one problem and it's just really stumped me now.
I'm using Conky in my DWM bar, and I'm trying to display icons found in ohsnap.icons (https://bbs.archlinux.org/viewtopic.php?pid=1025967). From here I learnt that
echo -e '\u0ED'would give me the symbols in Conky, and used gbdfed to get the codes. However, Conky displays nothing. I've tried a bash script called via '${exec}' and '${execi}' with the echo in it, I've tried '${exec echo -e '\u0ED'}', I've tried spinning around three times and wishing hard... If I type the command in a terminal using the font, it works without a hitch. I'm really stumped!
EDIT: On a whim, I also tried it with awk, the $'string' construction, and python, as suggested here. No dice!
EDIT: Ah, worked it out! As soon as I post, of course... had to copy the symbol from the terminal into .conkyrc, and then it works... somehow. I shan't try to understand.
Last edited by lowercasename (2012-07-10 07:21:52)
Offline
If you managed to fix it, please mark your thread solved by prepending [Solved] to the topic title!
ᶘ ᵒᴥᵒᶅ
Offline
For future reference: The unicode input (is that the right term?) that the character is assigned to varies with the different sizes of the font. Check that thread to make sure you're using the correct input to achieve the desired output.
Offline