Computer/linux
-
select one ghostscript on ubuntu 6.10Computer/linux 2007. 3. 9. 01:48
I installed three different versions of ghostscript as following apt-cache policy gs-esp gs-esp: Installed: 8.15.2.dfsg.0ubuntu1-0ubuntu4 Candidate: 8.15.2.dfsg.0ubuntu1-0ubuntu4 Version table: *** 8.15.2.dfsg.0ubuntu1-0ubuntu4 0 500 http://archive.ubuntu.com edgy/main Packages 100 /var/lib/dpkg/status apt-cache policy gs-gpl gs-gpl: Installed: 8.50-1.1ubuntu1 Candidate: 8.50-1.1ubuntu1 Version ..
-
Xinerama on Ubuntu 6.10 with open source driverComputer/linux 2007. 3. 6. 01:09
For ubuntu 8.04 see 2008/12/17 - [computer/linux] - xorg.conf with an external monitor Five days ago, I was so boring to understand one textbook about beam physics. Then I just upgraded my Ubuntu 6.06 to 6.10 with update-manager -c -d command. Roughly one hour later, I totally realized what the stupid thing I did. Fortunately, my old ROOT GUI, GEANT4 program, and tools were worked fine. But my d..
-
error opening security policy file /usr/lib/xserver/SecurityPolicyComputer/linux 2007. 3. 6. 00:50
less /var/log/Xorg.0.log |grep security error opening security policy file /usr/lib/xserver/SecurityPolicy Actually, I have no idea what SecurityPolicy file is. I found this file in the /usr/share/doc/xserver-xorg-core/SecurityPolicy. (see Ubuntu forum) cd /usr/lib mkdir xserver cd xserver ln -s /usr/share/doc/xserver-xorg-core/SecurityPolicy SecurityPolicy After restarting xserver, error messag..
-
Could not init font path element bla blaComputer/linux 2007. 3. 6. 00:32
When Xserver starts, at last line in the /var/log/Xorg.0.log file, I found the following some sort of error message. Could not init font path element /usr/share/fonts/X11/TTF/, removing from list! Could not init font path element /usr/share/fonts/X11/OTF, removing from list! Could not init font path element /usr/share/fonts/X11/CID/, removing from list! I changed /etc/X11/Xsession to /etc/X11/Xs..
-
vga=ask in the boot parameterComputer/linux 2007. 3. 3. 09:46
Problem: Booting message and ttys fonts are too small. With normal solutions, which I found on the web, such as vga=791 etc, I saw the small booting message font but ttys did not response. (Whatever numbers on the web, which I found, have the same result). Solution: Modify /boot/grub/menu.lst Add vga=ask at the end of "/boot/vmlinuz-2.6.17-11-386 ... " If there are splash and quite, remove them...
-
Unable to find swap space signatureComputer/linux 2007. 3. 2. 21:51
Unable to find swap space signature Check the memory status free -m Edit the /etc/fstab from UUID= to hda5 (fdisk -l will be useful)mkswap /dev/hda5 Setting up swapspace version 1, size = 904740 kB no label, UUID=55deb838-b45e-4436-b34e-f9d9f212c184 swapon -avfree -m
-
Convert a pdf file into several png files by the ghostscriptComputer/linux 2007. 1. 10. 00:51
gs -dSAFER -dBATCH -dNOPAUSE -r150 -sDEVICE=pnggray \ -dTextAlphaBits=4 -sOutputFile=result-%02d.png input.pdf More detailed information about -sDEVICE as follows: Ghostscript provides a variety of devices for PNG output varying by bit depth. For normal use we recommend png16m for 24-bit RGB color, or pnggray for grayscale. The png256, png16 and pngmono devices respectively provide 8-bit color, ..
-
ghostscript를 사용해서 여러개 화일을 하나의 화일로 만들기 (pdf,eps, .....)Computer/linux 2006. 12. 7. 00:00
pstoeps 등등을 사용할 수 있으나 gs를 사용해서 직접 변환도 가능하다. ps -> eps화일 만들기.. gs -q -dNOPAUSE -sDEVICE=epswrite -sOUTPUTFILE=example.eps -dBATCH example.ps 여러개 pdf 화일 합치기 gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=result.pdf -dBATCH file1.pdf file2.pdf file3.pdf BBox 찾아내기.. gs -q -sDEVICE=bbox -dBATCH -dNOPAUSE file.ps 라는 명령어가 아래와 같은 결과를 준다.%%BoundingBox: 89 539 359 734 %%HiResBoundingBox: 89.171997 539.603..