You are not logged in.
Well, I have the consolefonts working now. Just give me a week or two to get it all together. I want to go through everything on this font and termsyn.
Offline
Sure, take your time!
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Is it possible to use the symbol glyphs in conky? I haven't been able to figure it out. I get either nothing or a box.
Offline
Hi, check the previous page in this thread to see how to do it.
Offline
Hi, check the previous page in this thread to see how to do it.
In my conkyrc:
use_xft yes
xftfont onsnap.icons:pixelsize=11
...
TEXT
...
${execi 1800 echo -e \\xBA} ${execpi 600 ~/bin/scripts/pacman.py}
...
This does not work. Everything after that "echo" bit does not show up.
Offline
Why don't you use printf as suggested and just copy the glyph in as text?
printf '\xBA'
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Why don't you use printf as suggested and just copy the glyph in as text?
printf '\xBA'
That gives me the same result, actually. That glyph and everything after it do not show up.
My whole conky rc file:
double_buffer yes
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
draw_borders no
border_margin 3
draw_shades no
gap_x 0
gap_y 2
alignment top_left
update_interval 1
default_color 8f8f8f
color2 e0e0e0
color3 4abcd4
own_window_colour 262729
use_xft yes
xftfont ohsnap.icons:pixelsize=11
uppercase yes
override_utf8_locale yes
use_spacer none
minimum_size 1680 0
TEXT
${alignc}cpu $cpu% \
mem $mem ($memperc%) \
root ${fs_used_perc /}% home ${fs_used_perc /home}% \
º ${execpi 600 python2 ~/bin/scripts/pqu.py} \
vol ${execi 5 amixer sget Master|sed -ne 's/^.*Mono: .*\[\([0-9]*\)%\].*$/\1/p'}% \
wolf ${execpi 300 python2 ~/bin/scripts/gmail_wolf.py}\
ian ${execpi 300 python2 ~/bin/scripts/gmail_ian.py} \
${time %a %d %b} $color2${time %H:%M}
[Edit: It turns out that if either of the gmail scripts return something other than 0, that return value shows up, and then the date and time also show up.]
Last edited by ibrunton (2012-05-13 12:05:18)
Offline
Here's my conkyrc from dminiwm
background yes
use_xft no
font -*-terminusmodx.icons-medium-r-normal-*-12-*-*-*-*-*-*-*
double_buffer yes
use_spacer left
gap_x 562
gap_y 587
update_interval 1
default_color 7f7f7f
color0 b3b3b3
color1 4ba65a
color2 ff950e
TEXT
${color0}${iconv_start UTF-8 ISO_8859-1}µ${iconv_stop}${color} ${battery_percent BAT1}% \
${downspeedf eth0}K/s ${color0}${iconv_start UTF-8 ISO_8859-1}Ú${iconv_stop}${color}\
${upspeedf eth0}K/s ${color0}${iconv_start UTF-8 ISO_8859-1}Û${iconv_stop}${color} \
${color0}${iconv_start UTF-8 ISO_8859-1}Ç${iconv_stop}${color} ${cpu cpu0}% \
${goto 831}${color0}${iconv_start UTF-8 ISO_8859-1}Î${iconv_stop}${color}${memfree} \
${color0}${iconv_start UTF-8 ISO_8859-1}±${iconv_stop}${color}${hwmon temp 1}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop} \
${color0}${iconv_start UTF-8 ISO_8859-1}í${iconv_stop}${color} ${mixer vol}% \
${color0}${iconv_start UTF-8 ISO_8859-1}º${iconv_stop}${color} ${time %I:%M}
I was using terminusmodx for the font so the icons may be in different positions.
Last edited by stlarch (2012-05-13 14:06:16)
Offline
It turns out that with
use_xft no
and the full font declaration like you've got, stlarch,
${execi 1800 echo -e \\xba}
works perfectly. Thanks!
Offline
I installed this font from the AUR using pacman... I can't find the font anywhere... how can I use this elusive font?
Offline
I installed this font from the AUR using pacman... I can't find the font anywhere... how can I use this elusive font?
What are you trying to use it with, and how?
Offline
I installed this font from the AUR using pacman... I can't find the font anywhere... how can I use this elusive font?
I've learned that the best way to get all of your fonts recognized is to add the fonts folders to your xorg.conf file. It's fully explained in the Fonts wiki.
Offline
@ANOKNUSA I am just trying to see if I can use it in Gnome-Terminal. I go into the preferences and see if the font is available... usually fonts I have downloaded are available after I install them and reboot.
@theGunslinger Noted, however, I can't find this font I installed from AUR anywhere. I can't find the file I downloaded to put it somewhere I want in the first place.
Offline
install -m644 * "$pkgdir/usr/share/fonts/local/"
Have you looked there?
Offline
ah... that is where its located.. thanks.
also, I don't even have a /etc/X11/xorg.conf file.. no wonder. I see what the wiki says about that but where can I find a good example of a xorg.conf file?
Last edited by rg_arc (2012-05-16 02:47:20)
Offline
No problem.
As for /etc/X11/xorg.conf I use the nvidia blob to create mine (iirc both nv and ati blobs can create these for you), otherwise you can probably, and don't take my word for this, add the font paths to a new config in /etc/X11/conf.d/ something like 10-fonts.conf or 20-fonts.conf.
I'm sure someone would know better if that would work, but I have to leave so I don't have time to go research or try it out now - could be worth a try.
Offline
well that is the beauty of Arch Linux... the do it yourself attitude. I don't mind doing some research to make everything work properly. All I am concerned with is making sure I don't destroy everything LOL
I appreciate the help anyways.
Offline
well that is the beauty of Arch Linux... the do it yourself attitude. I don't mind doing some research to make everything work properly. All I am concerned with is making sure I don't destroy everything LOL
I appreciate the help anyways.
You can only destroy X by editing xorg.conf or any other Xorg config file. It is as simple as booting into CLI and removing that file and restarting X to recover!
Oh, by the way, I don't know how you start X but you can also add the font path to your .xinitrc, as the Wiki also says.
Last edited by Unia (2012-05-16 09:55:39)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
my ~/.xinitrc:
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
udiskie &
exec ck-launch-session dbus-launch gnome-session
so I looked at the article and put the font path into this file... but I see no changes.
Last edited by rg_arc (2012-05-16 10:22:12)
Offline
you probably need these add these two lines to the bottom of your .xinitrc:
xset +fp /usr/share/fonts/local
xset fp rehash
Offline
well that is what I added actually
updated ~/.xinitrc:
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh)
udiskie &
exec ck-launch-session dbus-launch gnome-session
xset +fp /usr/share/fonts/local
xset fp rehash
Offline
I'm pretty sure
exec ck-launch-session dbus-launch gnome-session
needs to be the last line in your .xinitrc. Try putting it above that. I'm not sure if you need
xrdb -merge ~/.Xresources
with gnome?
Offline
I put the exec line at the bottom like you said... and I don't know anything about ~/.Xresources.. I don't even have that file either LOL
Last edited by rg_arc (2012-05-16 16:22:13)
Offline
I am going into the dropdown menus to see if the font could be there... but it isn't there. I went to the actual files where the font is located and I can see that everything is there... but still its not integrated into the system even though I made those changes to my file... this is a bit awkward.
Offline
I updated it. I added consolefonts and started working on iso10646-1 versions (bold too). And I dropped the 8x15 and 8x17 sizes. They were a mess and ugly. If you want those, let me know, but I'm not interested in developing them anymore. So for now, the sizes are 6x11, 7x12 and 7x14. The iso10646-1 versions work great in urxvt and gtk but not in some things (like dwm). I'll keep the iso8859-1 versions too for fallback. To use the consolefonts, you can do something like:
setfont ohsnap7x12b
. Check the wiki for a more permanent solution (although that isn't working at the moment because of a bug in udev). To use the iso10646-1 versions:
-*-ohsnapu-medium-r-normal-*-11-*-*-*-*-*-*-*
or just use the iso8859-1 and icon versions the same as before. I also refined a few of the icons and added back the multiply symbol and moved that icon to the empty space at 00A0. I made several other changes on all sizes (hopefully for the better) and added a README. The 6x11 is very nice overall and the 12 and 14 bold look awesome. Hope you like it. Cheers
@rg_arc, I don't know much about gnome, so I can't really help you. Maybe try the new iso10646-1 and see if that works?
edit: I added more icons to stlarch_font too.
Last edited by stlarch (2012-05-24 09:03:47)
Offline