Search results

  1. S

    How to create fixed size image From a tex file

    $cat log.tex %pdflatex -shell-escape log.tex \documentclass[14pt]{standalone} \pagestyle{empty} \usepackage{graphicx} \immediate\write18{pdflatex log.tex} \immediate\write18{convert -density 200 -adaptive-resize 500x500 log.pdf log.png} \usepackage{amsmath} \begin{document}...
  2. S

    How to create fixed size image From a tex file

    Suppose a.tex contains a few Math formulas. How can i produce a 500x500 png/jpg file From a.tex? www.latex2png.com produces unpredictable size png Even If setting the resolution. Sincerely!
  3. S

    X forwarding emacs error

    The freebsd11.1 is running as a guest of VBOX. By using X forwarding i.e. ssh -X ... xterm, i can make X app(s) appear on my local windows host. However, when x-forwarding emacs, it doesnot work normally. The issue I was running into stemmed from a Gtk+ bug which caused Emacs to crash when an...
  4. S

    No sound as vbox guest

    The sound card emulation has been enabled: Driver: Windows DirectSound Chip: ICH AC97 If i changed it to Intel HDA, then freebsd will be flooded by "interrupt(21) storm" why is there so many interrupts when i donot use sound ? BTW, Do we still need the FB guest If no "shared folder" ?
  5. S

    No sound as vbox guest

    #cat /dev/sndstat pcm0: <Intel ICH (82801AA)> (play/rec) default No devices Installed from userspace. #kldload snd_hda kldload: can't load snd_hda: module already loaded or in kernel #kldstat 2 1 0xffffffff82219000 2af78 vboxguest.ko #uname -a ...FreeBSD 11.1-RELEASE...GENERIC amd64...
  6. S

    Why does tcc report such an error?

    I am using GCC/Clang now. The TinyTCC is just being used for study. BTW, I have sent the issue to TCC mailing list. Regards!
  7. S

    Why does tcc report such an error?

    After upgrading to 9.3 from 9.1, TCC always report: /usr/include/stdio.h:63: error: ';' expected (got "va_list") #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE #ifndef _VA_LIST_DECLARED typedef __va_list va_list; <--- line 63 #define _VA_LIST_DECLARED #endif #endif IIRC...
  8. S

    about zenity

    After pkg install zenity, any zenity commands will report: /usr/local/lib/libgtk-3.so.0: Undefined symbol "g_type_add_instance_private" ls -l /usr/local/lib/libgtk-3* lrwxr-xr-x 1 root wheel 20 12 12 02:28 /usr/local/lib/libgtk-3.so -> libgtk-3.so.0.1400.5 lrwxr-xr-x 1 root wheel 20 12 12 02:28...
  9. S

    FreeBSD 10.1 is awesome!

    Can 9.3-RELEASE be upgraded directly to 10.1 using freebsd-update? Regards!
  10. S

    The disk is not calm now

    Since I upgraded to 9.3 from 9.1, the hard disk light always twinkles. It is so quiet in 9.1. How can I know which process(es) are writing to the disk? Regards!
  11. S

    DWM DWM cannot manage Opera?

    Yeah, it is in ~/.opera/operaprefs.ini. Thanks!
  12. S

    DWM DWM cannot manage Opera?

    I want to fix the startup window position of Opera. So I modify the code in dwm.c: void manage(Window w, XWindowAttributes *wa) {} as below, ... if(strcasestr(c->name,"opera") || strcasestr(c->name,"dwb")) { c->x = c->oldx = 0; c->y = c->oldy = 360; } else { c->x = c->oldx = wa->x; c->y =...
  13. S

    Serious problem about virtualbox-ose after upgrading to 9.3

    kpa, what you said is right. Now it works like a charm. Thanks!
  14. S

    Serious problem about virtualbox-ose after upgrading to 9.3

    I still do not want to use ports. My whole 9.1-RELEASE was built by using the pkg utility. So I would like to use pkg in 9.3-RELEASE. Thanks for all your recommendations, I will try to re-install virtualbox-ose by pkg if necessary.
  15. S

    Serious problem about virtualbox-ose after upgrading to 9.3

    After freebsd-update -r 9.3-RELEASE on a 9.1 box, uname -r shows "9.3-RELEASE-p3". Then I run freebsd-update upgrade virtualbox-ose to upgrade to 4.3.18 successfully. But each time I run VBoxManage startvm winxp, it will reboot and fsck the system. Even kldunload vboxdrv will do the same odd...
  16. S

    Compile DWB error !

    `gmake CC=gcc47` compiles ok. However, `ld` fails like: ... gcc47 -o dwb scripts/cl_frame.o:In‘frame_get_document’: dwb/src/scripts/cl_frame.c:243:‘webkit_web_frame_get_dom_document’undefined reference collect2: error: ld returned 1 exit status Regards!
  17. S

    Compile DWB error !

    $cat build.sh export CFLAGS=-I/usr/local/include gmake PREFIX=/home/sw2wolf/dwb install GTK=3 $./build.sh ... cc dwbremote.c In file included from /usr/local/include/X11/Xlib.h:47, from dwbremote.h:22, from dwbremote.c:19...
  18. S

    (SOLVED)About Midori?

    Re: About Midori? I usually update ports by portsnap fetch update. Regards.
  19. S

    (SOLVED)About Midori?

    Re: About Midori? /usr/ports/www/midori $ make install clean ===> License LGPL21 accepted by the user ===> Found saved configuration for midori-0.5.5_1 ===> midori-0.5.5_1 depends on file: /usr/local/sbin/pkg - found => midori_0.5.5_all_.tar.bz2 doesn't seem to exist in...
  20. S

    (SOLVED)About Midori?

    Re: About Midori? midori-0.5.7 $ ./configure --disable-zeitgeist --prefix=~/midori midori-0.5.7 $ gmake ... Linking C shared library libmidori-core.so /usr/bin/ld: cannot find -lxml2 ... midori-0.5.7 $ ls -l /usr/local/lib/libxml2* -rw-r--r-- 1 root wheel 1710174 12 12 2013...
Back
Top