Date: Thu, 21 Jun 2007 22:30:24 +0300
From: David Baron <d_baron@012.net.il>
To: debian-user@lists.debian.org
Subject: Re: First Outing with MusixTex
Message-id: <200706212230.24319.d_baron@012.net.il>
Content-type: text/plain; charset=iso-8859-15
Content-transfer-encoding: 7BIT
Content-disposition: inline
On Thursday 21 June 2007, debian-user-digest-request@lists.debian.org wrote:
> > Exported a noteedit (kde score editor) to this format.
> > I can now run musixtex filename and get a viewable, printable dvi file.
> > Hebrew characters show as '?'
> > TexLive Hebrew is installed.
> > So how do I get it to be used?
>
> Do you need some font installed like calmus (or what ever its called?)
> just my random guess. A question mark IIRC is a sign of a missing font.
>Culmus is installed. I tried switching the character set to utf8. Got Hebrew
>output fine using lilypond (but their formatting is not as good or
>configurable as cracked up to be--unless there are more expert command line
>options).
>MusixTex complains that Tex/Latex is not configured for UTF8. Neither program
>lets you choose the font explicitely. Noteedit will export to muxicXML but
>that XML is not accepted by denemo and this front-end lilypond will not read
>lilypond files!
>I am trying a latex-ucs utility from Sid. I get the following:
>Package ucs Warning: ***************************
>(ucs) You seem to have loaded inputencoding utf8
>(ucs) (LaTeX kernel UTF-8) instead of utf8x (ucs.sty UTF-8).
>(ucs) Probably you are compiling a document written for a
>(ucs) pre-august-2004 ucs.sty.
>(ucs) ***************************
>(ucs) Please use \usepackage[utf8x]{inputenc} instead of
>(ucs) \usepackage[utf8]{inputenc}.
>(ucs) ***************************
>(ucs) If you should really want to use ucs.sty and kernel's
>(ucs) utf8.def together, use \usepackage[utf8x,utf8]{inputenc}
>(ucs) to disable compatibility mode
>(ucs) ***************************
>(ucs) Activating compatibility mode.
>(ucs) ***************************
>(ucs) on input line 26.
>If I let this proceed, it cannot find stull like \hebgimel (which I suppose
as
>a Tex command request this Hebrew character.
>Easy enough the change the \usepackage command. Question is: where it it (and
>how might I do this globally rather than placing this in individual TeX
>files)?
Made change in the individual TeX file. Still had problem with the Hebrew
character definitions, i.e.
(/usr/share/texmf/tex/latex/ucs/data/uni-5.def)
! Undefined control sequence.
\u-default-1490 #1->\hebgimel
Date: Thu, 21 Jun 2007 21:19:05 +0200
From: vizze <andrea.visinoni@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: ulogd postgreSQL module problem
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Chris Bannister wrote:
>
> Could you post the offending query? Hiding any sensitive data if
> necessary.
>
solved...i did't read man very well, the problem was that ulog table
wasn't created.
Error reporting is not so clear but...
somewhere in the pc ulogd place a file for every db, called *.dump.
as soon as i create the table structure the insert query works.
sorry, thanks for your time.
Andrea
Date: Thu, 21 Jun 2007 21:32:59 +0100
From: michael <cs@networkingnewsletter.org.uk>
To: debian-user@lists.debian.org
Subject: any realaudio plugin?
Message-Id: <1182457979.8409.2.camel@manchester-campaigns>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
I've been trying a few things but just can't get mozilla (unstable) to
view the videos (realaudio plugin?)
from the BBC web page
http://news.bbc.co.uk/1/hi/video_and_audio/default.stm
Any clues any body??
Thanks, Michael
michael@manchester-campaigns:~$ dpkg -l |grep -i -e mozilla -e flash
ii flashplugin-nonfree 9.0.31.0.4 Adobe
Flash Player plugin installer
ii gstreamer0.8-swfdec 0.8.11-5 SWF
(Macromedia Flash) decoder plugin for GStreamer
rc kwordquiz 3.3.2-3
flashcard and vocabulary learning program for KDE
ii libflash0 0.4.13-4 GPL
Flash (SWF) Library - shared library
ii libmozjs0d 1.8.0.9-1 The
Mozilla SpiderMonkey JavaScript library
ii libswfdec0.3 0.3.4-3 SWF
(Macromedia Flash) decoder library
ii mozilla 1.7.12-1 The
Mozilla Internet application suite - meta package
ii mozilla-browser 1.7.12-1 The
Mozilla Internet application suite - core and browser
ii mozilla-mailnews 1.7.12-1 The
Mozilla Internet application suite - mail and news support
ii mozilla-plugin-vlc 0.8.4.debian-2+b1
multimedia plugin for Mozilla based on VLC
ii mozilla-psm 1.7.12-1 The
Mozilla Internet application suite - Personal Security Manag
rc mozilla-thunderbird 0.6-1.backports.org.1
Mozilla Thunderbird standalone mail client
ii swf-player 0.3.4-3 SWF
(Macromedia Flash) player
Date: Thu, 21 Jun 2007 13:52:50 -0700
From: Andrew Sackville-West <andrew@farwestbilliards.com>
To: debian-user@lists.debian.org
Subject: Re: X problems
Message-ID: <20070621205249.GR6921@localhost.localdomain>
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="a8kRBn33jkh2Wtq5"
Content-Disposition: inline
--a8kRBn33jkh2Wtq5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, Jun 21, 2007 at 04:43:06PM -0400, Zach wrote:
> Greetings,
>=20
> I recently tried out a fairly recent Ubuntu boot CD (just to test it -
> no plans on switching from Debian which I love) and was surprised to
> see that my X desktop looked so much better: it was brighter and even
> in the gnome-term and xterm I tried the fonts seemed better contrast,
> more crisp! I wonder what Ubuntu is doing that my X.org didn't do?
first thing I'd do is very closely read the xorg.conf and
/var/log/Xorg.0.log generated by *each* system and look for critical
differences.=20
It could be something as simple as the dpi setting, for example. It
could also be a theme thing. THe default fonts, colors, etc could just
be a better setup for you.=20
=2E02
A
--a8kRBn33jkh2Wtq5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGeuUhaIeIEqwil4YRAmRsAJ9HaFcr36YkNLvniSTdGqC1QC2GYQCfQhn9
nXfSKXl3F7xVrurfJeYCTCU=
=fxnE
-----END PGP SIGNATURE-----
--a8kRBn33jkh2Wtq5--
Date: Thu, 21 Jun 2007 16:43:06 -0400
From: Zach <netrek@gmail.com>
To: debian-user@lists.debian.org
Subject: X problems
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Greetings,
I recently tried out a fairly recent Ubuntu boot CD (just to test it -
no plans on switching from Debian which I love) and was surprised to
see that my X desktop looked so much better: it was brighter and even
in the gnome-term and xterm I tried the fonts seemed better contrast,
more crisp! I wonder what Ubuntu is doing that my X.org didn't do? I
was running XFree86 before and also had same issues: my display was
noticeably less bright and same issue with fonts, X.org package did
automagically setup my /etc/X11/xorg.conf and everything seems to work
fine except these 2 issues could obviously be better. So my question
is HOW can I make my Debian X desktop look as nice as the one from the
Ubuntu CD? How do you adjust the brightness in X, is there some app to
do it? Or way to set it at X server level so it's always like that?
And what about the fonts? I am running Debian testing with 2.6.18
kernel on Dell Latitude C600 laptop. Also does anyone know how to
enable hardware acceleration for an ATI Rage Mobility M3 AGP 2x gfx
card? I tried playing an OpenGL game and it told me hardware accel.
was disabled.
Below is my /etc/X11/xorg.conf and info on my gfx card:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbOptions" "altwin:meta_win"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "ATI Technologies Inc Rage Mobility M3 AGP 2x"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Dell Latitude C600 LCD"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc Rage Mobility M3 AGP 2x"
Monitor "Dell Latitude C600 LCD"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
>From lspci:
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
M3 AGP 2x (rev 02) (prog-if 00 [VGA])
Subsystem: Dell Latitude C600
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
Region 1: I/O ports at ec00 [size=256]
Region 2: Memory at fdffc000 (32-bit, non-prefetchable) [size=16K]
[virtual] Expansion ROM at fd000000 [disabled] [size=128K]
Capabilities: [50] AGP version 2.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans- 64bit- FW- AGP3- Rate=x1,x2
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit-
FW- Rate=x2
Capabilities: [5c] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Regards,
Zach
Date: Thu, 21 Jun 2007 16:58:06 -0400
From: Zach <netrek@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: X problems
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 6/21/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
>
> first thing I'd do is very closely read the xorg.conf and
> /var/log/Xorg.0.log generated by *each* system and look for critical
> differences.
>
> It could be something as simple as the dpi setting, for example. It
> could also be a theme thing. THe default fonts, colors, etc could just
> be a better setup for you.
Ok, do you know a general way to increase the screen brightness in X?
Most gfx drivers in Windows come with a way to change the brightness
but I have no driver for this so I guess X.org just picked something
generic. I remember when I had my old Nvidia card I could use 'nv' or
'nvidia' driver to get hardware acceleration working. Any idea how to
do so for my ATI card?
Zach
Date: Thu, 21 Jun 2007 16:56:50 -0400
From: Orestes leal <orestesleal13022@cha.jovenclub.cu>
To: debian-user@lists.debian.org
Subject: How Can I Setup procmail to deliver into /var/mail
Message-Id: <20070621165650.efd6bc32.orestesleal13022@cha.jovenclub.cu>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi Folks!
I have a simple configuration that trouhg fetchmail procmail deliver all mail to
/var/spool/mail, the thing it's that I want procmail deliver all mails to /var/mail.
Only that, thanks to all of you folks.
Best Regards,
>From Cuba.
Orestes.
--
Orestes
Date: Thu, 21 Jun 2007 22:01:07 +0100
From: Liam O'Toole <liam.p.otoole@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: setting in /etc/profile in debian
Message-ID: <20070621220107.2a176476@po>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Thu, 21 Jun 2007 09:51:15 -0700 (PDT)
yong lee <ylee_95116@yahoo.com> wrote:
> Liam, I think you have a good point. So how do I
> change its default if I want the file to be sourced
> when I login using GDM.
>
> Thanks
> Yong
>
>
> --- Liam O'Toole <liam.p.otoole@gmail.com> wrote:
>
> > On Wed, 20 Jun 2007 17:55:37 -0600
> > bob@proulx.com (Bob Proulx) wrote:
> >
> > > yong lee wrote:
> >
> > [...]
> >
> > > > I have to manually do source /etc/profile to see
> > the new changes
> > > > after I open a new terminal window everytime.
> > Even a reboot does
> > > > not help. Does anyone have any idea ?
> > >
> > > You say that even a reboot does not help and that
> > seems very strange
> > > to me because I am sure that you would log in
> > after that point. :-)
> > > Are you using a shell other than a POSIX
> > compatible one such as csh?
> >
> > [...]
> >
> > If the OP logs in using GDM, then (by default)
> > /etc/profile is not
> > sourced.
As Dennis points out elsewhere, you can configure gnome-terminal to run
your shell as a login shell. Another approach is to source /etc/profile
in the file ~/.gnomerc, which is itself sourced by GNOME. That will
make your environment available to all applications, e.g., xterm.
Date: Thu, 21 Jun 2007 23:17:29 +0200
From: "Mirco Piccin" <pictux@gmail.com>
To: "=?ISO-8859-1?Q?Miguel_J._Jim=E9nez?=" <MiguelJose.Jimenez@isotrol.com>
Cc: debian-user@lists.debian.org
Subject: Re: cups-pdf
Message-ID: <ff8e9dfe0706211417q6b7acca8y446ce6c1d09a316a@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="----=_Part_82001_31808859.1182460649695"
------=_Part_82001_31808859.1182460649695
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi again.
I think i've something that could work.
First, i've found the better tool to do the job: pdftk.
It could modify a pdf file with a background pdf as watermark.
I've write down this simple script (called watermark_pdf):
---------------------------------------------------------------------------------
#!/bin/bash
#21/06/2007 by Mirco Piccin aka pictux - pictux@gmail.com
#if your works better (surely), please send me it!! :-)
LOGDIR=/var/log/cups
LOGFILE=$LOGDIR/watermark_pdf.log
if [ `echo $2 | grep -ce "\.[Pp][Dd][Ff]"` -le 0 ]
then
echo `date` " - ERR: This scripts accepts only PDF format as input
file!!! ($2)" >> $LOGFILE 2>&1
exit 1
fi
if [ `echo $1 | grep -ce "\.[Pp][Dd][Ff]"` -le 0 ]
then
echo `date` " - ERR: Background/Watermark image must be in PDF format!!!
($1)" >> $LOGFILE 2>&1
exit 1
fi
MOVE=`which mv`
PDFTOOL=`which pdftk`
BASENM=`which basename`
FILENAME=`$BASENM $2`
$MOVE $2 /tmp/$FILENAME
echo `date` " - Executing : /usr/bin/pdftk /tmp/$FILENAME background $1
output $2" >> $LOGFILE 2>&1
$PDFTOOL /tmp/$FILENAME background $1 output $2
---------------------------------------------------------------------------------------------------------
i put it into /usr/local/bin and chmod-ed it to enable its execution.
It accepts 2 parameters:
- the background pdf file
- the pdf file in which apply the background pdf file (the printed file
name)
So, in the /etc/cups/cups-pdf.conf 'PostProcessing' section i write:
...
PostProcessing /usr/local/bin/watermark_pdf my_background_file.pdf
....
The second parameters (the printed file name) is passed directly from
cups-pdf.
It will permit you to use print all your documents with a watermark.
If you need more explanations about the scripts above, let me know.
It also writes a log file (for now writes to log if executed manually,
probably some problem of authorization...), so you can check if works good,
there's also some input controls (no parameters / no pdf files).
If you print images, probably no watermark will be applied.
Hope it help you!
Bye
------=_Part_82001_31808859.1182460649695
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi again.<br>I think i've something that could work.<br><br>First, i've found the better tool to do the job: pdftk.<br>It could modify a pdf file with a background pdf as watermark.<br><br>I've write down this simple script (called watermark_pdf):
<br><br>---------------------------------------------------------------------------------<br>#!/bin/bash<br>#21/06/2007 by Mirco Piccin aka pictux - <a href="mailto:pictux@gmail.com">pictux@gmail.com</a><br>#if your works better (surely), please send me it!! :-)
<br><br>LOGDIR=/var/log/cups<br>LOGFILE=$LOGDIR/watermark_pdf.log<br><br>if [ `echo $2 | grep -ce "\.[Pp][Dd][Ff]"` -le 0 ]<br> then<br> echo `date` " - ERR: This scripts accepts only PDF format as input file!!! ($2)" >> $LOGFILE 2>&1
<br> exit 1<br>fi<br><br>if [ `echo $1 | grep -ce "\.[Pp][Dd][Ff]"` -le 0 ]<br> then<br> echo `date` " - ERR: Background/Watermark image must be in PDF format!!! ($1)" >> $LOGFILE 2>&1
<br> exit 1<br>fi<br><br>MOVE=`which mv`<br>PDFTOOL=`which pdftk`<br>BASENM=`which basename`<br>FILENAME=`$BASENM $2`<br><br>$MOVE $2 /tmp/$FILENAME<br><br>echo `date` " - Executing : /usr/bin/pdftk /tmp/$FILENAME background $1 output $2" >> $LOGFILE 2>&1
<br><br>$PDFTOOL /tmp/$FILENAME background $1 output $2<br>---------------------------------------------------------------------------------------------------------<br><br>i put it into /usr/local/bin and chmod-ed it to enable its execution.
<br>It accepts 2 parameters: <br>- the background pdf file<br>- the pdf file in which apply the background pdf file (the printed file name)<br><br>So, in the /etc/cups/cups-pdf.conf 'PostProcessing' section i write:
<br>...<br>PostProcessing /usr/local/bin/watermark_pdf my_background_file.pdf<br>....<br><br>The second parameters (the printed file name) is passed directly from cups-pdf.<br>It will permit you to use print all your documents with a watermark.
<br><br>If you need more explanations about the scripts above, let me know.<br>It also writes a log file (for now writes to log if executed manually, probably some problem of authorization...), so you can check if works good, there's also some input controls (no parameters / no pdf files).
<br><br>If you print images, probably no watermark will be applied.<br><br>Hope it help you!<br>Bye<br><br>
------=_Part_82001_31808859.1182460649695--
Date: Thu, 21 Jun 2007 22:23:54 +0100
From: Liam O'Toole <liam.p.otoole@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: JAVA AWT exception in debian
Message-ID: <20070621222354.127e4ae6@po>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Thu, 21 Jun 2007 09:43:47 -0700 (PDT)
yong lee <ylee_95116@yahoo.com> wrote:
> Yes, I am able to run a Swing application from a
> terminal window.
>
> Yong
> --- Liam O'Toole <liam.p.otoole@gmail.com> wrote:
>
> > On Wed, 20 Jun 2007 16:13:19 -0700 (PDT)
> > yong lee <ylee_95116@yahoo.com> wrote:
> >
> > > I got a following exception when I ran a JAVA
> > program
> > > which uses AWT in a terminal window. The same
> > program
> > > works in Windows environment. Do I miss some
> > > configuration settings in debian environment ?
> > Thanks
> > > -Yong
> > >
> > > java.awt.HeadlessException
> >
> > [...]
> >
> > Maybe. Can you run any graphical programs at all
> > from the terminal
> > window? Can you run any other graphical Java
> > program, for example one
> > of the demos shipped with the JDK?
Then the problem probably lies with the program which throws the
exception. Yes, I know it works in a Windows environment, but even with
Java it is possible to write non-portable code. Is the source code
available? Try writing a simple, "Hello World!" program using AWT for
comparison, e.g.,
import java.awt.*;
public class HelloWorld {
public static void main(String[] args) {
Frame f = new Frame();
f.add(new Label("Hello World"));
f.pack();
f.setVisible(true);
}
}
End of debian-user-digest Digest V2007 Issue #1818
**************************************************
Received on Thu Jun 21 17:44:27 2007