Re: [arch-general] Firefox graphics licensed under MPL

2010-05-03 Thread Edgar Kalkowski
Am oder ungefähr am Montag, 03. Mai 2010, 09:02:50 schrieb Allan McRae:
 
 Search for a script called firebrand.  Problem solved.

There is also firefox-branded on the AUR.

Ed

 Allan


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] package manager overlay script

2010-04-15 Thread Edgar Kalkowski
Am oder ungefähr am Donnerstag, 15. April 2010, schrieb Robert Howard:
 PackageKit

This reminds me: Can PackageKit actually handle pacman? I have used PackageKit 
in the past with (K)ubuntu and when switching to arch (and the command line) I 
thought about trying PackageKit again but was not sure if that was safe …

-- 
Ed


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] New Using AUR

2010-03-24 Thread Edgar Kalkowski
Am oder ungefähr am Mittwoch, 24. März 2010, schrieb Carlos Mennens:
 I had two questions about using the AUR. I have never done it before
 and read of the How-To on the Wiki but could someone please answer the
 following two questions I have:

Hi Carlos!

 1. If I build a tarball on 'PC1' downloaded from AUR with the 'makepkg
 -s' command, can I then transfer the created tarball to 'PC2' and
 install it even though PC2 didn't have any of the required packages
 used to create the tarball from the AUR?

There are two different types of dependencies defined for packages in the AUR: 
build time dependencies are needed to build a package using some PKGBUILD, 
package dependencies are required to run the program that is contained in the 
package. The first type of dependency is not needed on PC2, the second type 
will be needed and will be installed by pacman if you install the package from 
the tarball on PC2.

 2. Once a package is installed from the AUR, when I do a system
 upgrade via Pacman, will outdated packages I installed via AUR get
 automatically upgraded or do I have to do all my AUR packages
 manually?

This is something pacman itself cannot do. However there are some wrapper 
scripts for pacman that can do this. One is called yaourt and can be found on 
the aur. I myself have written a small script that checks all installed 
packages (including those from the AUR) for updates but does not do any 
automatic update attempt like yaourt does. If you’d like to check it out it can 
be found at http://edgar-kalkowski.de/aurupdate.

I hope this helps! :)

Edgar



signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] [OT] New Using AUR

2010-03-24 Thread Edgar Kalkowski
 Nobody wants to say how this works.
  Maybe nobody knows ...
  Xorg.conf(5)

This is a really great quote! A friend and me laughted our asses off just now 
when we found that this is really included in `man xorg.conf`! :D

This is why I like Linux so much! This would not happen with *indows. :)


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] pdftk - almost build but died - need hel p figuring out if I can find a work-around

2010-03-17 Thread Edgar Kalkowski
Am oder ungefähr am Montag, 15. März 2010, schrieb David C. Rankin:
 On 03/15/2010 01:06 AM, David C. Rankin wrote:
  On 03/14/2010 10:37 AM, Edgar Kalkowski wrote:
  Am oder ungefähr am Freitag, 12. März 2010, schrieb David C. Rankin:
  Guys,
 
I need pdftk for a script I use that does fax processing. I ran into 
  this
  problem 6-7 months ago, but still had another server with pdftk on it so 
  it
  wasn't critical. Now, I need to solve it.
 
 
 Just a FYI, looks like fedora has pdftk with a gcc44 patch:
 
 http://cvs.fedoraproject.org/viewvc/rpms/pdftk/F-13/

That looks interesting. But wouldn’t that require gcc 4.4 to be build with Java 
support? BEcause I tried that and sadly couldn’t get it working because of my 
lack of understanding the PKGBUILD … :(


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] pdftk - almost build but died - need help figuring out if I can find a work-around

2010-03-14 Thread Edgar Kalkowski
Am oder ungefähr am Freitag, 12. März 2010, schrieb David C. Rankin:
 Guys,
 
   I need pdftk for a script I use that does fax processing. I ran into 
 this
 problem 6-7 months ago, but still had another server with pdftk on it so it
 wasn't critical. Now, I need to solve it.

Hi David!

I always liked to have pdftk around and one or two years ago built it from aur. 
But then at some point I uninstalled it and now I cannot build it again because 
I get the very same error you describe here.

   Currently pdftk in AUR is out of date due to it a dependency of gcc-gcj
 requiring it to be built against gcc-4.3. The building gcc-4.3 and then 
 gcc-gcj
 part of the pdftk build goes fine (takes forever, but goes fine). The build
 seems to crater on a java-lib issue. Here is the actual error with a few lines
 of context:
 
 --- 8 -
 gcj -march=x86-64 -mtune=generic -O2 -pipe -w --encoding=UTF-8
 --classpath=/usr/share/java/libgcj-4.3.jar:/home/david/arch/pkg/bld/pdftk/src/pdftk-1.41/java_libs
 -c Anchor.java -o Anchor.o
 Exception in thread main java.lang.NoClassDefFoundError:
 org.eclipse.jdt.internal.compiler.batch.GCCMain

This exception means that gcj was looking for a class named 
org.eclipse.jdt.internal.compiler.batch.GCCMain and could not find it in the 
class path.

at gnu.java.lang.MainThread.run(libgcj.so.9)
 Caused by: java.lang.ClassNotFoundException:
 org.eclipse.jdt.internal.compiler.batch.GCCMain not found in
 gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/eclipse-ecj.jar],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

This part explains a little more details about what the classpath was gcj 
looked in. It seems that the only file in the classpath at this point is 
/usr/share/java/eclipse-ecj.jar which is consistent with the call of gcj above 
(notice the --classpath argument).

If you look into eclipse-ecj.jar you find that it contains a class named 
org.eclipse.jdt.internal.compiler.batch.Main and thus I think that this class 
was renamed at some point after gcj 4.3 was released. So it seems that this is 
indeed a java library issue.

I did another test and tried to run gcj on a simple Hello-World java file and 
it failed with the same exception. So it seems not to be a problem with the 
pdftk build process but rather that the old gcj does not work anymore with the 
current eclipse-ecj package.

I then looked at the current gcc PKGBUILD and thought I could compile it with 
java support but failed because I don’t really understand the gcc PKGBUILD 
(which is rather complex I think).

 - 8 -
   The problem is I am no good at figuring out what this is telling me I 
 need to
 do to fix it. I know there was an exception thrown in thread main
 java.lang.NoClassDefFoundError:  what I don't know is whether this is
 telling me there is a javalib version mismatch or something similar and 
 whether
 this is something I might work around by loading/building some alternative 
 java
 package, etc..
   If you have any idea what is going on here, please pass along a pointer 
 or two.
 If this is just one of those areas where I'm screwed and there isn't a way
 around it -- well knowing that would be helpful too. Thanks.

If you find out anything more or even get pdftk to build again I would really 
like to know how to do that! :)

Good luck!

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Hacking into HAL's mount process

2010-03-14 Thread Edgar Kalkowski
Am oder ungefähr am Sonntag, 14. März 2010, schrieb Nilesh Govindarajan:
 On 03/14/2010 08:50 PM, f...@kokkinizita.net wrote:
  On Sun, Mar 14, 2010 at 07:51:28PM +0530, Nilesh Govindarajan wrote:
 
  Just put the device in /etc/fstab with whatever options
  you want, (u)mount it manually and forget about hal.
 
  Ciao,
 
 
 Doesn't do good. I have multiple pen drives :)

In this case you can either use labels or uuids to identify them in /etc/fstab, 
e.g.

/dev/disk/by-label/Data /mnt/Data vfat 
uid=root,gid=users,showexec,user,noauto,umask=002,utf8,shortname=mixed 0 0
/dev/disk/by-uuid/55ba4890-140e-4087-8851-3c17b295c421 /mnt/Archiv ext4 
defaults,user,exec,noauto 0 0


:)

Ed


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Hacking into HAL's mount process

2010-03-14 Thread Edgar Kalkowski
Am oder ungefähr am Sonntag, 14. März 2010, schrieb f...@kokkinizita.net:
 On Sun, Mar 14, 2010 at 05:02:47PM +0100, Edgar Kalkowski wrote:
 
  In this case you can either use labels or uuids to identify them in 
  /etc/fstab, e.g.
  
  /dev/disk/by-label/Data /mnt/Data vfat 
  uid=root,gid=users,showexec,user,noauto,umask=002,utf8,shortname=mixed 0 0
  /dev/disk/by-uuid/55ba4890-140e-4087-8851-3c17b295c421 /mnt/Archiv ext4 
  defaults,user,exec,noauto 0 0
 
 Don't know for the uuid, but for a label you can
 just write:
 
 LABEL=/Data /mnt/Data vfat 
 uid=root,gid=users,showexec,user,noauto,umask=002,utf8,shortname=mixed 0 0
 
 as well.

This works with UUID=… as well but I had some problems in the past with the KDE 
device notifier refusing to mount those devices with an error message like 
“that device is listed in /etc/fstab, refusing to mount”. This did not happen 
any longer after I switched to /dev/disk/by-uuid/….


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Bluetooth headphone

2010-01-28 Thread Edgar Kalkowski
Am oder ungefähr am Dienstag, 26. Januar 2010, schrieb Ray Rashif:
 2010/1/26 Manne Merak manneme...@gmail.com:
 
 Thus you can use BT headset with applications which support the
 output configuration to specific alsa device (specified in
 ~/.asoundrc) [b]. If your application does not allow this kind of
 configuration you can also try to set the default alsa device to your
 BT headset too. This will help of course only if this application
 sends the output to alsa.
 
 I think it's not possible to use it as how you expect.

I don’t really understand why you need to use pulseaudio for this purpose (as 
some people in this thread mentioned). I had a similar issue with an on-board 
sound card and an external headset that was plugged in via usb and recognized 
as a separate sound card. I wrote a simple udev rule (1 line) that switched the 
symlink /etc/asoundrc to two prepared asoundrc files in one of which the 
headset was the default device and in the other the on-board sound card. So if 
the headset was plugged in it was used exclusively and the other way round. :)

Ed


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] KDE 4.3 no power functions ?

2010-01-28 Thread Edgar Kalkowski
Am oder ungefähr am Mittwoch, 27. Januar 2010, 17:22:24 schrieb Nilesh 
Govindarajan:
 Thanks all. Using KDM (inittab, previously GDM) fixed the power problem.
 
 Okay is it possible to apply GTK themes to KDE ? I think no cause KDE 
 uses QT.

There are several little programs that can do this. I personally use switch2 
but I don’t know if it is still around. ;)

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Bluetooth headphone

2010-01-28 Thread Edgar Kalkowski
Am oder ungefähr am Donnerstag, 28. Januar 2010, schrieb Jonathan D. Arnold / 
Daemon Dancing:
 On 01/28/10 03:43, Edgar Kalkowski wrote:
 
  I don’t really understand why you need to use pulseaudio for this purpose 
  (as some people in this thread mentioned). I had a similar issue with an 
  on-board sound card and an external headset that was plugged in via usb and 
  recognized as a separate sound card. I wrote a simple udev rule (1 line) 
  that switched the symlink /etc/asoundrc to two prepared asoundrc files in 
  one of which the headset was the default device and in the other the 
  on-board sound card. So if the headset was plugged in it was used 
  exclusively and the other way round. :)
 
 Care to share your mods? I've been using Linux for awhile and that's still
 something that has me confused. If I boot with my USB headphones plugged in,
 some sound engines (like Xine) use them, and others (gstreamer) don't. And I
 don't know how to swap them around.

What I did was change the alsa default device depending on whether or not the 
USB headset was plugged in. This was done by a udev rule in /etc/udev/rules.d 
that named 39-alsa-usb.rules that contained the following two lines:

KERNEL==pcmC[D0-9cp]*, DRIVERS==usb, ACTION==add, 
RUN+=/usr/bin/alsa-usb-add
KERNEL==pcmC[D0-9cp]*, DRIVERS==usb, ACTION==remove, 
RUN+=/usr/bin/alsa-usb-remove

The scripts /usr/bin/alsa-usb-{add,remove} contained a single line that linked 
/etc/asound.conf to one of two prepared asound.conf files:

#!/bin/bash
ln -sf /etc/asound.conf.hw0 /etc/asound.conf

or

#!/bin/bash
ln -sf /etc/asound.conf.hw1 /etc/asound.conf

I can’t find the asound.conf.hw{0,1} files at the moment (I have a non USB 
headset now) but they contained a very simple configuration with hw0 as the 
default alsa sound device or hw1 as the default alsa sound device in the other 
case.

Hope this helps you! :)

Ed


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] dark themes (was 2 Killer kde4 dark themes - DR you listening??) [Part Solved]

2010-01-20 Thread Edgar Kalkowski
Am oder ungefähr am Mittwoch, 20. Januar 2010, schrieb David C. Rankin:
 On 01/19/2010 01:37 PM, Arvid Picciani wrote:
 
 I stumbled into a part solution to the problem for firefox and other mozilla 
 apps. Basically there is a new type of skin you can use called user space 
 skins that use the 'stylish' addon that allows for the easy changing of the 
 titlebar (and all other aspects) of the browser window.

I also use a dark style sometimes, especially if I work at night. ;)

I found that using QtCurve it is quite easy to make all Qt and Gtk applications 
look nice and dark. For firefox I baked my own little darkening style which may 
be used with the Stylish addon (see below). It is not very fancy but makes most 
sites look quite similar to the original white look. My first problem is with 
sites like google.com who use an image with a hardcoded white background. I 
cannot get that away.

The second problem is with Java applications as they do not respect the colour 
settings of the window manager by default. However you can

$ echo 'swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'  
/opt/java/jre/lib/swing.properties

which should make all Java applications use Gtk as their default look and feel 
(and thus respect the Gtk colour settings).

Best greetings!

Edgar


snip

html {
  background-image: none !important;
}

body {
  background-image: none !important;
  background-color: #302f2f !important;
  border-color: #7fc8ff !important;
  color: #7fc8ff !important;
}

body * {
  background-color: #302f2f !important;
  border-color: #7fc8ff !important;
  color: #7fc8ff !important;
}

code {
  color: grey !important;
}

em {
  color: #00ad00 !important;
  font-weight: normal !important;
}

a:link {
  color: #3f7f5f !important;
  text-decoration: underline !important;
}

a:active {
  color: #3f7f5f !important;
  text-decoration: none !important;
}

a:visited {
  color: grey !important;
  text-decoration: underline !important;
}

a:hover {
  color: #00ad00 !important;
  text-decoration: underline !important;
}

/snip


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Segmentation fault in X after last upgrade

2009-11-03 Thread Edgar Kalkowski
Magnus Therning schrob:
 Anyone else seeing something the same behaviour?

Not the exact same thing here but since the latest upgrade to X.org 1.7.1 and 
Nvidia 190.42 two days ago my X already crashed twice with no errors in 
/var/log/Xorg.0.log except the following backtrace (with segfault):

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x45cf48]
1: /usr/bin/X (0x40+0x59ea9) [0x459ea9]
2: /lib/libpthread.so.0 (0x7f2572faa000+0xe7e0) [0x7f2572fb87e0]
3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f256eb4b000+0xa4aa2) 
[0x7f256ebefaa2]
4: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0xa6d2) [0x7f257361e6d2]
5: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0x352a9) [0x7f25736492a9]
6: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0x2f9ab) [0x7f25736439ab]
7: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0x37722) [0x7f257364b722]
8: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0x38a90) [0x7f257364ca90]
9: /usr/lib/libpixman-1.so.0 (0x7f2573614000+0x2f6ba) [0x7f25736436ba]
10: /usr/lib/libpixman-1.so.0 (pixman_image_composite+0x17c) [0x7f25736444ec]
11: /usr/lib/xorg/modules/libwfb.so (wfbComposite+0x163) [0x7f256e71fc43]
12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f256eb4b000+0x33e817) 
[0x7f256ee89817]
13: /usr/bin/X (0x40+0xc2780) [0x4c2780]
14: /usr/bin/X (0x40+0x9baf9) [0x49baf9]
15: /usr/bin/X (0x40+0x9bdc5) [0x49bdc5]
16: /usr/bin/X (0x40+0x110d86) [0x510d86]
17: /usr/bin/X (0x40+0x22726) [0x422726]
18: /usr/bin/X (MapWindow+0x153) [0x424893]
19: /usr/bin/X (0x40+0x45976) [0x445976]
20: /usr/bin/X (0x40+0x466a4) [0x4466a4]
21: /usr/bin/X (0x40+0x2202c) [0x42202c]
22: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f25720549ed]
23: /usr/bin/X (0x40+0x21bd9) [0x421bd9]
Segmentation fault at address 0x7f258d399000

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


I don’t think that this really helps but at least you know that you are not 
alone. ;)

Ed


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] How to specify configure options with makepkg

2009-09-10 Thread Edgar Kalkowski
Look for the build() function in the PKBUILD file of psychosynth. Within this 
function there should be the line that calls the configure script. So you can 
add your options there.

Edgar


Am oder ungefähr am Donnerstag, 10. September 2009, um 12:25:22 schrieb Nigel 
Henry:
 I'm trying to install psychosynth from AUR. Ogre is one of the deps, but the 
 comments on the psychosynth page say to compile Ogre with devIL, not 
 freeimage, which is the default image loader. Configure says that I can set 
 an option, --disable-freeimage, but where do I set this option when using 
 makepkg to build Ogre?
 
 I have installed devil, so it's ready to be used by the configure script, 
 which includes instructions for both freeimage, and devIL.
 
 Thanks for any help with this.
 
 Nigel.
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Painful installation of 4.3 - some general advice needed.

2009-08-17 Thread Edgar Kalkowski
Am oder ungefähr am Montag, 17. August 2009, um 09:48:37 schrieb Shridhar 
Daithankar:
 
  2) Dolphin -  I really liked konqueror - can one still install this as a
 
   file browser. I note there is a kdebase-konqueror package, using this 
   multiple 'file exists in the filesystem' messages I could use a force but
   god knows what this will trash. Any alternatives.
 
  I'm using konqueror for web browsing, and from times to times as a ftp
  browser. konqueror is still working, and can still open folder. But I can't
  find out how to tell to KDE that I wanna konqueror as default file browser.
 
 System Setting - Default Applications - File manager. I changed it but it 
 still launched dolphin. I think the menu needs to be edited for that.

I think you need to go to System Settings - Advanced - File Associations and 
change the association of inode/directory to use Konqueror with higher priority 
than Dolphin.

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Add phonon-xine to KDE deps?

2009-08-10 Thread Edgar Kalkowski
AFAIK there are several issues with KDE’s default phonon gstreamer-backend. For 
example I had no sound in Amarok until I switched to the xine backend. Perhaps 
this could be mentioned in an .install message or something?

Edgar


Am oder ungefähr am Montag, 10. August 2009, um 20:19:24 schrieb Sven-Hendrik 
Haase:
 Hey,
 
 I've found that I hardly get any sound at all in KDE without the
 phonon-xine package installed since KDE 4.3. I wondered if this is a
 general thing or if it occurred to me just because my installation is
 rather old. If it is generally needed, why not make it a dependency? Or
 should I not require it at all and it is a misconfiguration on my side?
 
 Insight appreciated :)
 
 -- Sven-Hendrik
 


signature.asc
Description: This is a digitally signed message part.


[arch-general] kscreensaver + electricsheep

2009-08-10 Thread Edgar Kalkowski
Hi,

I have used electricsheep with kscreensaver for some time now but recently 
(after upgrade to 4.3) I changed to a different one for a change and wanted to 
go back to electricsheep today. But I see that it is missing in systemsettings. 
I checked and the file 
/usr/share/kde4/services/ScreenSavers/electricsheep.desktop is in place as 
installed from the electricsheep package.

Has something changed in kscreensaver in 4.3 and thus perhaps the .desktop file 
is outdated? Or am I missing something else?

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] KDE4.3 upgrade

2009-08-06 Thread Edgar Kalkowski
As for the Amarok/MP3 thing: I had the same/a similar issue when upgrading to 
KDE 4.3. It seems in 4.3 the default phonon backend is gstreamer which is known 
to have issues. Try installing phonon-xine from extra and selecting xine as 
backind in systemsettings/multimedia. This did the trick for me.

Edgar


Am oder ungefähr am Donnerstag, 06. August 2009, um 16:59:14 schrieb Manne 
Merak:
 Just upgraded to KDE4.3 and for some reason almost all possible KDE apps 
 were installed alongside the upgraded packages? anyone know why?
 Also I lost the ability to play MP3s in Amarok.
 
 Manne
 
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Xorg broken after last update

2009-08-01 Thread Edgar Kalkowski
Hi,

I somewhere read something about the latest nvidia driver being broken for 
notebook chips. I’m not sure if this is correct or was just an issue with the 
beta drivers but especially as you mention that it worked again after changing 
to vesa drivers I thought this might be the case here.

I’m using nvidia drivers for my notebook as well but have not yet updated them 
because I read that it might cause problems. Are you, too, running a notebook? 
If so I’d be interested to hear if the latest nvidia drivers work ok for you.

Edgar



Am oder ungefähr am Samstag, 01. August 2009, um 23:58:58 schrieb Luís Moreira:
 Hello.
 
 The last update broke my Xorg, the screen just goesn black and hangs
 there, CTRL+ALT+F1 (etc) doesn't do anything.
 
 I'm using X86_64, *without* [testing].
 
 The updated packages were
 
 kernel26
 nvidia
 xorg-server
 (and some others, less important)
 
 If I change the driver in xorg.conf from nvidia to vesa X works again.
 
 Anyone experienced the same thing?
 
 Best regards,
 Luís Moreira.
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Xorg broken after last update

2009-08-01 Thread Edgar Kalkowski
Am oder ungefähr am Sonntag, 02. August 2009, um 02:02:21 schrieb Dan Vratil:
  I somewhere read something about the latest nvidia driver being broken for
  notebook chips. I’m not sure if this is correct or was just an issue with
  the beta drivers but especially as you mention that it worked again after
  changing to vesa drivers I thought this might be the case here.
 This bug was related only to nvidia-beta, release 190.16 and it was fixed in 
 version 190.18. It has never touched the stable drivers.

That is good to hear. In this case I’ll upgrade my drivers right away. :)

Edgar


signature.asc
Description: This is a digitally signed message part.


[arch-general] Emacs 23 window resize on startup

2009-07-30 Thread Edgar Kalkowski
Hello list!

I know this is not an Arch specific question but I thought maybe something 
similar occurred to someone here and he knows a solution.

I just updated to Emacs 23 which has new fancy font code with antialiasing etc. 
However the default font of 12pt is way too big for my taste. So I changed it 
to 10pt and saved the configuration to my ~/.emacs file.

Everything works fine -- the font is smaller now -- but: Every time I start 
Emacs now the window first resizes to the dimensions that would be needed by 
the old (bigger) font. The (yet empty) window is then displayed and layouted by 
the window manager (KDE 4’s kwin). I configured it to center all new windows by 
default because I like it that way. Then the Emacs window resizes itself to 
match the new (smaller) font and the window is no longer centered!

This may seem like a minor issue and I know it is. But it nevertheless annoys 
me and I did not find a way to change this behaviour! Is there a way to do so? 
Emacs should just first resize the window to match the font size the user has 
actually configured and then display the window!

Greetings!

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Emacs 23 window resize on startup

2009-07-30 Thread Edgar Kalkowski
Hi Christian!

Thank you for this tip but I’m afraid it does not work for me. I executed the 
commands you suggested and they worked without printing any error (at first 
they did because of a typo of mine). The result is that my Emacs window now 
starts up quite small in the middle of the screen and the is almost (before the 
actual content is drawn) resized to a bigger size. But this also makes it 
appear not centered but rather asymmetrical somewhat left of the center of the 
screen.

Perhaps I’ll try my luck on the Emacs help mailing list in a few days or so.

Edgar



Am oder ungefähr am Donnerstag, 30. Juli 2009, um 16:34:25 schrieb Christian 
Himpel:
 Hi,
 
 as a workaround, until someone comes up with a nice lisp solution, you
 can set the font for emacs in your ~/.Xresources (or whatever you call
 it).
 
 For example:
 
 $ cat  .Xresources  EOF
 Emacs*font: Terminus 10
 EOF
 $ xrdb -merge .Xresources
 
 At least it works for me (and my tiling wm).
 
 Regards,
 chressie


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Cisco VPN config

2009-07-27 Thread Edgar Kalkowski
Hi!

I don’t want to get your hopes down, but we used to have Cisco’s vpnclient at 
our university. I tried it eventually and got it to compile even under x84_64 
but it would only run for some minutes or so and then kernel panic!

What helped were -- I think -- patches from www.tuxx-home.at and I also found 
some patched 64 bit version from some university. I have it lying around 
somewhere. If you want I can send it to you.

Good luck!

Edgar



Am oder ungefähr am Sonntag, 26. Juli 2009, um 21:52:54 schrieb Rafa Griman:
 Hi :)
 
 On Sunday 26 July 2009 18:57:07 Thomas Bächler wrote:
  Rafa Griman schrieb:
   Got a Cisco VPN connection with my office, but can't manage to get it
   running. I've seen that there's a:
  
 - vpnc package: installed it, but it doesn't import the .pcf file,
   says it can't find the file.
 
  pcf2vnc /path/to/file.pcf
 
 
 Didn't know of that command 0:)
 
 
  Seems easy. When it says it can't find the file, then you specified the
  wrong file. So what exactly is the problem?
 
 
 Well the problem is (hope I could write was, but haven't tried it yet ;) that 
 the path is right and so's the file. I'll try now with the pcf2vpnc command.
 
 Thanks for the tip !!!
 
 
 - cisco-vpnclient: but it's out-dated
 
  This software is the greatest piece of shit ever published from what I
  know. But what do you expect from Cisco? A company that solves security
  problems by preventing the details from being published can not be taken
  seriously. And a company that sells a VPN appliance that is insecure by
  design can't either.
 
 
 I know it sucks, had to patch it and patch it again when I used openSUSE 
 because it didn't work. AFAIK they have no 64 bit VPN client, they have no up 
 to date Linux VPN client, ... I'm not a Cisco fan, but my company has Cisco 
 gateways/firewalls/whatever and I have no voice into that matter :(
 
 Thanks once again for your help :)
 
Rafa
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Are base packages assumed?

2009-07-09 Thread Edgar Kalkowski
Off topic: The ~2 G size of the installed packages pacman shows is complete 
size of all updated packages not the difference between the currently installed 
size and the size after the upgrade, right? So the complete upgrade might have 
worked for you.

Sorry to interrupt the thread. ;)

Edgar



Am oder ungefähr am Donnerstag, 09. Juli 2009, um 14:25:56 schrieb Marco:
 Hi Allan,
 
  Are you sure it was a -Syu and not an -Sy followed by installing
  something (which many people now have discovered is bad...).  The readline
  and bash packages were one after the other so readline was in the [core]
  repo without base for about one second.  It is unlikely any mirror did a
  sync of the repo db in that time.
 
 Ok, I admit it was something like that ;)
 
  It was my older laptop, I have / mounted on a 4 G partition, and I
 had 1.3 G free. I upgraded after a couple of months, so I had to
 download 700 M of packages with ~2 G installed dimension. So I decided
 to do it piecewise, starting with the kernel and other big pkgs
 (texlive, openjdk...). Pacman downloaded and installed kernel and
 dependencies, with readline 6, not touching bash 3. Then -Scc, and I
 went on with another group of packages. After I while I got an error
 message (something like readline.so.5 not found on filesystem) and I
 was not able anymore to login as root, nor to halt or reboot. Then I
 looked in the bbs and found that the problem was that I did'n install
 bash4. Booted from a live cd and fixed it.
 Still, pacman let me install readline 6 without upgrading to bash 4. I
 consider it a bug (even if the policy and common sense say that you
 should upgrade with -Syu).
 
 Cheers,
 Marco
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] 2 annoying bugs in kde

2009-07-02 Thread Edgar Kalkowski
Hi!

Thank you for your responses! I tried a new user account with a fresh .kde4 
configuration and the two things seem to work there. So I think I’ll have to 
delete .kde4 for my main account, too, but I’ll wait until I have a free 
weekend or so to copy all the things I need over to the new config. Is it 
planned to do this after every kde upgrade or will the config be stable at some 
point?

I’m also actually using the qtcurve theme but my version is 0.65.0 so that 
should not be the problem.

Edgar


Am oder ungefähr am Dienstag, 30. Juni 2009, um 21:31:30 schrieb Bram 
Schoenmakers:
 Op dinsdag 30 juni 2009 17:50:21 schreef Edgar Kalkowski:
 
 Hi Edgar,
 
  I am using current KDE 4.2.4 from core and am experiencing these two little
  things that are not really disturbing but rather annoying:
 
  1) Every time I quit okular it crashes and shows a crash message. A quick
  search of the web brought up that this was “a minor regression in kdelibs“
  and should be fixed by now (sorry, I don’t remember the actual site I read
  this on). So my question is: Is anyone experiencing the same problem and
  has a fix? Or do we really just need to wait for an update of KDE? If so:
  Is an update planned or do we have to wait for 4.3 or 4.2.5?
 
 Are you using the QtCurve theme by chance? With version 0.65.0 I had the 
 same 
 problem (also Gwenview crashed), but after the update to 0.65.0 I haven't 
 seen 
 this anymore. Maybe it could have been another update I did in the meantime, 
 but I think QtCurve could cause such problems.
 
 Kind regards,
 


signature.asc
Description: This is a digitally signed message part.


[arch-general] 2 annoying bugs in kde

2009-06-30 Thread Edgar Kalkowski
Hi list!

I am using current KDE 4.2.4 from core and am experiencing these two little 
things that are not really disturbing but rather annoying:

1) Every time I quit okular it crashes and shows a crash message. A quick 
search of the web brought up that this was “a minor regression in kdelibs“ and 
should be fixed by now (sorry, I don’t remember the actual site I read this 
on). So my question is: Is anyone experiencing the same problem and has a fix? 
Or do we really just need to wait for an update of KDE? If so: Is an update 
planned or do we have to wait for 4.3 or 4.2.5?

2) Every time KDE starts up it shows (after a little while) the following 
message in a native X dialog: “Could not start ksmserver. Check your 
installation.” If I click on “OK” or kill the message window X restarts. A web 
search on this one revealed nothing really helpful so now I’m just leaving the 
message window open on an unused desktop. When doing this everything seems to 
work normal and as expected. In fact “ps -elf | grep ksmserver” reveals that 
the specified program is indeed running. Does anyone get this error, too, and 
perhaps knows how to fix it?

Thank you in advance!

Edgar


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] kde43 - Quanta+ Is kdemod3-webdev-quanta it?

2009-06-19 Thread Edgar Kalkowski
You should be able to uninstall kdemod3 and install the quanta package which 
will depend on some kde3 libs that will be reinstalled. But you certainly do 
not need a whole kdemod3 install just to use quanta.

Ed


Am oder ungefähr am Donnerstag, 18. Juni 2009 um 18:05:57 schrieb David C. 
Rankin:
 Listmates,
 
   What is the best way to get quanta+ on kde43? On the suse kde43 
 installs I 
 have both kde3.5 and kde43 b2 installed in parallel so I just use the kde3 
 quanta without issue. On Arch, I have installed kdemod3 in parallel with 
 kde43 
 b2 and I can use quanta that way, but is that still the only option?
 
   Can I get rid of kdemod3 and just use the quanta package from an Arch 
 kde3 
 repo or is it kdemod3 or nothing?
 


signature.asc
Description: This is a digitally signed message part.


[arch-general] Strange wpa_supplicant error

2009-05-10 Thread Edgar Kalkowski
Hello Arch!

I’m connecting to my WPA2 encrypted wireless network via wpa_supplicant. The 
configuration in /etc/wpa_supplicant.conf looks like this:

network={
ssid=Hochst van Vaarenhochst
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk=my_really_very_secret_passphrase
}

I start wpa_supplicant in rc.local (and also start dhclient afterwards) and 
usually everything works just fine. I’m connected to my WLAN after startup and 
can surf the internet.

However sometimes it occurs that wpa_supplicant does not reach the “Completed” 
stage but rather remains in the “4-Way-Handshake” stage forever. When observing 
wpa_supplicant e.g. via wpa_cli it writes “Associated to bssid” with the 
correct bssid of my access point on and on and on ...

A log file that was generated by

$ wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -dd  bug.txt

can be found at http://xpeter.de/bug.txt. The described behaviour occurs 
randomly on startup or wakeup from suspend and usually even a reboot does not 
fix this problem (just time or many reboots does). I’ve also tried to restart 
my WLAN router but that did also not solve the problem.

Can someone tell me what I’m doing wrong or what could cause this error?

Or, if not, does someone know where I could post this error to people who know?

Best regards!

Edgar

PS: wpa_supplicant is version 0.6.9 and I’m on stock 2.6.29-ARCH kernel with 
ndiswrapper driver for my “Atheros Communications Inc. AR242x 802.11abg 
Wireless PCI Express Adapter” (as madwifi did not work half a year back when I 
tried). Anything else I could provide that might help?


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] default ~/.config/compiz/compizconfig prevents compiz start with radeonhd

2009-05-09 Thread Edgar Kalkowski
Hi!

I think this remaining issue is because root is not normally allowed to connect 
to the X server. After issuing an „xhost +local:“ (the colon is essential) all 
connections from localhost should be allowed and thus it should work.

Ed




On Samstag, 09. Mai 2009, 10:09:37 David C. Rankin, J.D.,P.E. wrote:
 Listmates,
 
snip
 
 REMAINING ISSUES WITH ARCH GLX:
 
   When issuing glxinfo from a konsole cli as $USER everything works fine. 
 However, if you are su to root $UID then glxinfo fails:
 
 [23:07 alchemy:/home/david] # glxinfo
 No protocol specified
 Error: unable to open display :0.0
 
   Dunno if this is a bug or feature, but I thought I would pass it along. 
 I'll 
 file a bug report on the default config issue, fixing it will save a lot of 
 folks a lot of heartache and newbies from thinking Linux doesn't work.
 
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] Anyone building pdftk for Archlinux?

2009-04-22 Thread Edgar Kalkowski
Or you install yaourt (via makepkg) which can transparently install from aur, 
too.




On Mittwoch, 22. April 2009, 13:59:45 Andrei Thorp wrote:
 Basically, you click download Tarball, unpack the tarball, cd into
 the directory and do makepkg -s
 
 This will download the sources, build the package as per PKGBUILD
 script, and gives you the resulting Arch package. pacman -U pkg_file
 will install it.
 
 Cheers!
 
 -AT
 
 On Tue, Apr 21, 2009 at 9:11 PM, David Rosenstrauch dar...@darose.net wrote:
  On Wed, April 22, 2009 12:06 am, David C. Rankin wrote:
  David Rosenstrauch wrote:
  David C. Rankin wrote:
  Listmates,
 
  Looking for my favorite swiss army knife for pdf files (pdftk) I
  was unable to
  locate it with pacman -Ss pdftk and no luck.
 
  It's in the AUR:
 
  http://aur.archlinux.org/packages.php?O=0L=0C=0K=pdftkSeB=ndPP=25
 
  i.e., you have to build it yourself.
 
  DR
 
 
  Great,
 
I'm still reading through the AUR info to see if there are any tricks
  beyond
  the normal:
 
  if ! autoconf; then
./configure --help
(read, make educated guesses)
./configure --your guesses
make
make install
  else
go rtfm again to remember autoconf
./configure --help
(read, make educated guesses)
./configure --your guesses
make
make install
  fi ;-)
 
  ???
 
  How about makepkg.
 
  http://wiki.archlinux.org/index.php/ABS#The_build_function.2C_the_ABS_way
 
  DR
 
 
 
 


signature.asc
Description: This is a digitally signed message part.


Re: [arch-general] HAL mount options

2009-04-01 Thread Edgar Kalkowski
Thanks for your reply!

I already read through the wiki articles but exactly what I'm trying to achieve 
is not really mentioned. I tried to adapt one of the given solutions as 
described in my former post but that did not work as expected.

Google also seems not to know any answer to this although it is a bit of a 
mystery to me that no one knows how to make hal use mount options as hal seems 
to be widely used today.


On Montag, 30. März 2009, 21:12:52 Preston C. wrote:
 I don't know if this will help you,
 http://wiki.archlinux.org/index.php/HAL#HAL_and_hotplugging . You have
 probably already read through it, but I had a problem yesterday and
 someone suggested reading this. I ended up using fstab, instead of
 HAL.
 
 I don't know if you need a line in fstab? It seems you know more about
 this stuff then me though, ;-).
 
 Also, http://wiki.archlinux.org/index.php/Udev ,
 http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly
 . http://bbs.archlinux.org/viewtopic.php?pid=248224 .
 
 Hope this helps.
 


signature.asc
Description: This is a digitally signed message part.