apt-get install pstoedit  skencil  inkscape

and python-xml (not sure)

Problem:
Effects -> Render -> LaTeX formula
returns nothing.


Solution:
Ubuntu 8.04 Hardy has a bug as
https://bugs.launchpad.net/inkscape/+bug/55273

This bug can be fixed by
cd /usr/share/inkscape/extensions

sudo curl -s 'http://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch' | sudo patch -p0

or
wget -c http://launchpadlibrarian.net/14090556/eqtexsvg.py_linux_shell_apply.patch
patch -p0 < eqtexsvg.py_linux_shell_apply.patch

, which is well described in the above link.

신고

'Computer > linux' 카테고리의 다른 글

unicode in xterm  (0) 2008.12.18
Inkscape 0.46 with latex formular error  (0) 2008.12.18
xorg.conf with an external monitor  (0) 2008.12.17
mount usb devices by using UUID or device ID (id)  (0) 2008.12.09
블로그 이미지

citadel

memory, life, and logs

The recent xorg server does not support the old xinerama setting, precisely Option "MonitorLayout" in the Device Section. The old configuration of xorg.conf are
2007/03/05 - [computer/linux] - Xinerama on Ubuntu 6.10 with open source driver
2008/02/06 - [computer/linux] - modified xorg.conf file

Again....
I spent several days to understand this inconvenient HISTORY about xorg. Finally everthing is o.k. now.

Now,  a part of the brand-new xorg.conf file is
Section "Monitor"
        Identifier      "Laptop"
        HorizSync       28-64
        VertRefresh     43-60
        Gamma           1.0
        Option          "DPMS" "true"
EndSection

Section "Monitor"
        Identifier      "DellE177FPf"
        DisplaySize     339.92  270.336
        HorizSync       30-81
        VertRefresh    56-76
        Gamma           0.9
        Modeline        "1280x1024_75.00"  135.00 1280 1296 1440 1688 1024 1025 1028 1066  -HSync +Vsync
        Option          "PreferredMode" "1280x1024_75.00"
        Option          "RightOf"       "Laptop"
        Option          "DPMS" "true"
EndSection 

Section "Device"
Identifier      "Radeon Mobility X700 (RV410 PCIE)"
        Driver          "ati"
        BusID           "PCI:1:0:0"
        Option          "Monitor-VGA-0" "DellE177FPf"
        Option          "Monitor-LVDS"  "Laptop"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Laptop"
        Device          "Radeon Mobility X700 (RV410 PCIE)"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Virtual         2560 1824
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Synaptics Touchpad"
        Option          "BlankTime"           "10"
        Option          "Standby"               "20"
        Option          "SuspendTime"       "30"
        Option          "OffTime"               "40"
EndSection

But, The methods which are well-described in the following references are not the solutions to my laptop.

Now, the classic story is ....


1. Monitor Section
There are two monitors: one is the laptop panel, the other is an external monitor, for me Dell E177FPf.  In the xorg.conf, the gray colored texts are "optional" that is not critical for my machine.

The Dell monitor spec is on http://accessories.us.dell.com/sna/products/Displays/productdetail.aspx?c=us&l=en&cs=19&sku=320-5577 and is listed in the more

더보기


DisplaySize is calculated according to http://www.x.org/wiki/FAQVideoModes as

horizontal = resolution*dotpitch = 1280*0.264 = 337.92,
vertical = resolution*dotpitch = 1024*0.264 = 270.336,

or xdpyinfo | grep -B 2 dot

The references suggest to use "gtf" or "cvt" to get Modeline, but I could not get the correct ModeLine by this. Fortunately, I have another linux machine to use the same monitor, I looked into /var/log/X.org.0.log file, then I found the correct modeline.

gtf returns
 gtf 1280 1024 75 -x

  # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
  Modeline "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync

cvt returns
 cvt 1280 1024 75
# 1280x1024 74.90 Hz (CVT 1.31M4) hsync: 80.30 kHz; pclk: 138.75 MHz
Modeline "1280x1024_75.00"  138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync

other machine X.org.0.log
(**) NV(0): *Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(II) NV(0): Modeline "1280x1024"  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync
(**) NV(0):  Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) NV(0): Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
(**) NV(0):  Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz



2. Device Section
Using lspci |grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
Thus,     BusID           "PCI:1:0:0"

For ATI driver, outputs of the video card are
  • LVDS  : laptop panel
  • VGA-0 : RGB output
LVDS and VGA-0 are called "outputname" in the man page of xorg.conf (line around 650 man xorg.conf). This can be checked by xrandr -q.

3.  Screen Section

Virtual is calculated  by

Laptop panel is 1280x800, and the dell monitor 1280x1024
1280+1280 = 2560
800+1024 = 1824


4. Final screenshot


...
신고
블로그 이미지

citadel

memory, life, and logs

  • Check UUIDs of the devices by blkid  OR ls -lta /dev/disk/by-uuid
    blkid : /dev/sda1: LABEL="ATOM" UUID="5CD2-10BC" TYPE="vfat"

    ls -lta : 5CD2-10BC -> ../../sdc1
  • in fstab
    UUID=5CD2-10BC     /media/usb-atom    auto        user,noauto,umask=033    0    0
  • bugs

    umount: mount disagrees with the fstab

  • consult https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/99437/comments/3

  1. ls -lta /dev/disk/by-id/  returns
    usb-Imation_Atom_07850E270003-0:0-part1 -> ../../sdc1
  2. in /etc/fstab,
    /dev/disk/by-id/usb-Imation_Atom_07850E270003-0:0-part1 /media/usb-atom    auto        user,noauto,umask=033    0    0



신고
블로그 이미지

citadel

memory, life, and logs

티스토리 툴바