Re: Debian sid - kernel modules do not compile - too many open files

2014-06-28 Thread MRH

On 20/06/14 22:43, MRH wrote:

Hi,

Sorry - a bit long perhaps. But I have no idea what has happened and how
should I fix the problem in a 'proper' way.

The story: Recently I noticed a weird problem. I'm not sure when it has
happened, but since some time the kernel modules do not compile /
initramfs do not update on kernel update.

The first symptom was that after installing linux-image-3.14...-amd64
the system did not boot. Well, it boots when I select the previous
kernel. At the time I thought it's systemd related - perhaps I miss some
libraries, after all it's sid.

But today I tried running virtualbox - first time since a while - and it
did not start - it could not build kernel module.

After short investigation I found the reason: lots of errors:
ERROR: failed to load symbols from /lib/modules/ too many open files

Tried to google it out - no success initially, then I found that the
open file limits might be an issue:
$ ulimit -a
...
open files  (-n) 1024
...

I decided to give it a chance and increase it:
# ulimit -Sn 4096

Now the module has built, I have reinstalled the kernel 3.14 - t has
updated the initramfs correctly this time.

Now the question - WHY did it happen? Previously everything has been
working OK. So either the file limit has changed or more files are being
opened. Or something else. Any ideas?

How should I fix it? I considered increasing the open file limit with pam:
/etc/security/limits.conf
*softnofile4096

however I'm not sure if that's the right thing to do. And what is a
'reasonable' value?



*BUMP*

Any thoughts, please?

Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53af37d9.3020...@o2.pl



Debian sid - kernel modules do not compile - too many open files

2014-06-20 Thread MRH

Hi,

Sorry - a bit long perhaps. But I have no idea what has happened and how 
should I fix the problem in a 'proper' way.


The story: Recently I noticed a weird problem. I'm not sure when it has 
happened, but since some time the kernel modules do not compile / 
initramfs do not update on kernel update.


The first symptom was that after installing linux-image-3.14...-amd64 
the system did not boot. Well, it boots when I select the previous 
kernel. At the time I thought it's systemd related - perhaps I miss some 
libraries, after all it's sid.


But today I tried running virtualbox - first time since a while - and it 
did not start - it could not build kernel module.


After short investigation I found the reason: lots of errors:
ERROR: failed to load symbols from /lib/modules/ too many open files

Tried to google it out - no success initially, then I found that the 
open file limits might be an issue:

$ ulimit -a
...
open files  (-n) 1024
...

I decided to give it a chance and increase it:
# ulimit -Sn 4096

Now the module has built, I have reinstalled the kernel 3.14 - t has 
updated the initramfs correctly this time.


Now the question - WHY did it happen? Previously everything has been 
working OK. So either the file limit has changed or more files are being 
opened. Or something else. Any ideas?


How should I fix it? I considered increasing the open file limit with pam:
/etc/security/limits.conf
*   softnofile  4096

however I'm not sure if that's the right thing to do. And what is a 
'reasonable' value?


Kind regards,
Michal

--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53a4ab00.3050...@o2.pl



Re: Samsung CLX4195FN

2013-12-15 Thread MRH

On 13/12/13 10:24, Lisi Reisz wrote:

Has anyone used one of these successfully with Linux?  I have never
had an all-in-one, so have no experience.

If the answer is no, what laser all-in-ones would anyone recommend?

Thanks,
Lisi




Hi,

I use Samsung colour laser printer CLP series, works pretty well with 
Samsung drivers, although I have used the following repository to 
install them in an easy way:


deb http://www.bchemnet.com/suldr/ debian extra
deb-src http://www.bchemnet.com/suldr/ debian extra


You can read about it on:
http://www.bchemnet.com/suldr/index.html

Kind regards,
Michal

--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52ae2db9.6070...@o2.pl



Re: Debian sid and AMD/ATI Richland [Radeon HD 8670D]

2013-10-17 Thread MRH

Hi,

On 17/10/13 14:42, Luis Bandarra wrote:

Hi,

On 09-10-2013 23:05, MRH wrote:

Hi,

I'd need some help with ATI GPU. Is it correct that for that processor
(AMD A10 6700 - with integrated Radeon HD 8670D) I need flgrx non-free
drivers to enjoy 3d support (ie to get Gnome 3 working - at the moment
it goes to the fallback mode). I've got xserver-xorg-video-radeon and
mesa libraries installed.

If I understand correctly, it should change with linux kernel 3.12
which will support this GPU?

What should I install?

Debian sid, AMD64.

Kind regards,
Michal


I'm sorry but i can't understand if you tried it or just asking?


Sorry for not being clear; I'm asking what should I install. I've 
installed the stock kernel, the mesa libraries and 
xserver-xorg-video-radeon, but gnome runs in the fallback. I wasn't sure 
what should I be looking for.




The current kernel at sid is 3.10 and fglrx-driver 13.4, acording with
phoronix[1][2][3], the kernel will work, but for the driver it doesn't
see to be prepare to the HD8670D but the 13.8 might work [4].

The fglrx-driver 13.8 is in experimental, or perhaps download from amd.

Hope it helps!

PS: i didn't search in the radeon open source to see if it work with
hd8670D.


[1]http://www.phoronix.com/scan.php?page=articleitem=amd_a10_6800knum=2
[2]http://www.phoronix.com/scan.php?page=articleitem=amd_radeon_hd8670dnum=1
[3]http://www.phoronix.com/scan.php?page=articleitem=amd_gallium3d_hd8670dnum=1
[4]http://askubuntu.com/questions/50/no-drivers-for-amd-radeon-hd-8750m-or-amd-radeon-hd-8550



Thank you for the help. So at the moment it seems there are no open / 
free drivers I could use; I have installed linux-firmware-nonfree and 
this has solved the problem.


Kind regards,
Michal

--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5260576d.8010...@o2.pl



Re: Debian sid and AMD/ATI Richland [Radeon HD 8670D]

2013-10-16 Thread MRH

On 09/10/13 23:05, MRH wrote:

Hi,

I'd need some help with ATI GPU. Is it correct that for that processor
(AMD A10 6700 - with integrated Radeon HD 8670D) I need flgrx non-free
drivers to enjoy 3d support (ie to get Gnome 3 working - at the moment
it goes to the fallback mode). I've got xserver-xorg-video-radeon and
mesa libraries installed.

If I understand correctly, it should change with linux kernel 3.12 which
will support this GPU?

What should I install?

Debian sid, AMD64.



*bump*

Anyone with AMD / ATI / Radeon, please?

Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/525f0873.9020...@o2.pl



Debian sid and AMD/ATI Richland [Radeon HD 8670D]

2013-10-09 Thread MRH

Hi,

I'd need some help with ATI GPU. Is it correct that for that processor 
(AMD A10 6700 - with integrated Radeon HD 8670D) I need flgrx non-free 
drivers to enjoy 3d support (ie to get Gnome 3 working - at the moment 
it goes to the fallback mode). I've got xserver-xorg-video-radeon and 
mesa libraries installed.


If I understand correctly, it should change with linux kernel 3.12 which 
will support this GPU?


What should I install?

Debian sid, AMD64.

Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5255d333.9020...@o2.pl



Re: Backup/Restore software?

2013-07-12 Thread MRH

On 12/07/13 01:58, Jeff Bauer wrote:

On 07/11/2013 08:42 PM, David Guntner wrote:

Is there a Linux backup package that will do pretty much what I
described above?


I know of no such package, though there very well may be one available.
On the other hand, a simple back up script using rsync can do the trick
for you. And example to back up your home stuff:

# backup /home
#
echo --
echo rsyncing /home
echo --
rsync -avz /home /mnt/sda1/debian_backup
# end

Using that for /home and other directories take care of the backing up.
For scheduling, you can tell your computer to do whatever you want,
whenever you want, with cron.

The learning curve will be pretty gentle with both writing said script
and setting up cron. YMMV.


I'd recommend backupninja, it lets you schedule a number of backups in 
an easy way using simple config files. So you can back up files / 
directories (rdiff-backup), databases, config, etc. Worth looking at.



--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51e06ba9.2000...@o2.pl



Re: Stock kernel not working with raid / lvm setup [SOLVED]

2013-07-10 Thread MRH

On 10/07/13 01:11, Dick William Thomas wrote:

On 09/07/13 23:49, MRH wrote:

For years I've been using self-build kernels (from kernel.org) for this
or that reason. Recently I decided to use debian stock kernel instead.
Should be so much easier and faster. Well, it did not work.

I have installed
linux-headers-3.9-1-amd64
linux-image-3.9-1-amd64
(I run amd64, debian wheezy/sid)

but on reboot it could not load raid modules - seems they are neither
compiled in nor installable as modules. I'm getting the following messages:


modprobe: module dm-raid45 not found in modules.dep
...
modadm: No devices listed in conf file were found
...
Volume group blahblah not found
...
Gave up waiting for root device


The kernel I build works fine. Does it mean I cannot use Debian stock
kernel and have to keep building my own?



have you tried adding

rootdelay=5 to the grub boot command line?



This has helped, thank you!

I needed to add it to the lines in
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=rootdelay=5 quiet
GRUB_CMDLINE_LINUX=rootdelay=5

then run (as root):
update-grub


--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51dddc1b.9010...@o2.pl



Re: grub2 floppy seek - how to switch off?

2013-07-09 Thread MRH

On 09/07/13 08:12, dulev wrote:

On Mon, 08 Jul 2013 22:12:16 +0100, MRH misiek_s...@o2.pl wrote:

Just to bump the question (below) - anyone, any ideas, please?

On 23/06/13 16:56, MRH wrote:

Hi,

I have a problem with grub2.
Recently (after updating to wheezy) grub has been upgraded to grub2. All
fine and well, but it started long floppy seek at the boot, which is
sort of annoying, as it's a home PC, switched on every day. I tried
looking for solution, but I could not find anything to solve the problem.

The floppy seek is off in the BIOS,
/etc/default/grub
contains
GRUB_DISABLE_OS_PROBER=true

I wonder if the problem is a file not mentioned in the GRUB
documentation, (which seems to be manually created custom config, but I
didn't create it):
/etc/grub.d/41_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to
change
# the 'exec tail' line above.
misiek@cavern:~$ more /etc/grub.d/41_custom
#!/bin/sh
cat EOF
if [ -f  \${config_directory}/custom.cfg ]; then
source \${config_directory}/custom.cfg
elif [ -z \${config_directory} -a -f  \$prefix/custom.cfg ]; then
source \$prefix/custom.cfg;
fi
EOF






Do you have --no-floppy in search [1] line in grub.cfg.

[1] https://www.gnu.org/software/grub/manual/grub.html#search




Yes, each search line contain --no-floppy

Following Thierry's hint I disabled the floppy in BIOS, and this worked 
(thanks!) but this disables (of course) the floppy, so it is only good 
as far as I don't need the floppy drive (fortunately I rather don't use 
it recently).
It seems to be wrong though, it's just like removing car's horn when it 
sounds continuously instead of fixing it.


I'll try the GRUB list as Richard has suggested.

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51dc8f53.7030...@o2.pl



Stock kernel not working with raid / lvm setup

2013-07-09 Thread MRH
For years I've been using self-build kernels (from kernel.org) for this 
or that reason. Recently I decided to use debian stock kernel instead. 
Should be so much easier and faster. Well, it did not work.


I have installed
linux-headers-3.9-1-amd64
linux-image-3.9-1-amd64
(I run amd64, debian wheezy/sid)

but on reboot it could not load raid modules - seems they are neither 
compiled in nor installable as modules. I'm getting the following messages:



modprobe: module dm-raid45 not found in modules.dep
...
modadm: No devices listed in conf file were found
...
Volume group blahblah not found
...
Gave up waiting for root device


The kernel I build works fine. Does it mean I cannot use Debian stock 
kernel and have to keep building my own?



--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51dc9394.2090...@o2.pl



Re: grub2 floppy seek - how to switch off?

2013-07-08 Thread MRH

Just to bump the question (below) - anyone, any ideas, please?

On 23/06/13 16:56, MRH wrote:

Hi,

I have a problem with grub2.
Recently (after updating to wheezy) grub has been upgraded to grub2. All
fine and well, but it started long floppy seek at the boot, which is
sort of annoying, as it's a home PC, switched on every day. I tried
looking for solution, but I could not find anything to solve the problem.

The floppy seek is off in the BIOS,
/etc/default/grub
contains
GRUB_DISABLE_OS_PROBER=true

I wonder if the problem is a file not mentioned in the GRUB
documentation, (which seems to be manually created custom config, but I
didn't create it):
/etc/grub.d/41_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply
type the
# menu entries you want to add after this comment.  Be careful not to
change
# the 'exec tail' line above.
misiek@cavern:~$ more /etc/grub.d/41_custom
#!/bin/sh
cat EOF
if [ -f  \${config_directory}/custom.cfg ]; then
   source \${config_directory}/custom.cfg
elif [ -z \${config_directory} -a -f  \$prefix/custom.cfg ]; then
   source \$prefix/custom.cfg;
fi
EOF





--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51db2b30.5060...@o2.pl



Re: GNOME 3 non-responsive?

2013-06-25 Thread MRH

On 24/06/13 10:22, Stephen Allen wrote:

On Sun, Jun 23, 2013 at 05:02:39PM +0100, MRH wrote:

Hi,

I run Debian wheezy/sid. After recent updates (resulting in mix of
GNOME 3.4 / 3.8 the new gnome shell has became unresponsive. I mean
I can log in, but then there is no top panel, no window top frames
(so I cannot minimise / close windows), I cannot access windows /
activities. To log off I need to use Alt-F2 and run
gnome-session-quit, or just kill a session from a console.

gnome-classic works though.

Anyone else has experienced that problem, is it 'fixable' at the
moment, or do I need to wait for some further sid updates?

PS. I know, I run sid, so I'm not winging, but would be nice if
there was a solution :)

Kind regards,
Michal


---end quoted text---

You probably were too hasty to do the upgrade. FWIU the transition to
Gnome 3.8 is ongoing and probably not finished. Wait a few days and try
again.



I guess I was. I'll just wait then. Thanks!

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51c9ce09.5070...@o2.pl



grub2 floppy seek - how to switch off?

2013-06-23 Thread MRH

Hi,

I have a problem with grub2.
Recently (after updating to wheezy) grub has been upgraded to grub2. All 
fine and well, but it started long floppy seek at the boot, which is 
sort of annoying, as it's a home PC, switched on every day. I tried 
looking for solution, but I could not find anything to solve the problem.


The floppy seek is off in the BIOS,
/etc/default/grub
contains
GRUB_DISABLE_OS_PROBER=true

I wonder if the problem is a file not mentioned in the GRUB 
documentation, (which seems to be manually created custom config, but I 
didn't create it):

/etc/grub.d/41_custom

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply 
type the

# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
misiek@cavern:~$ more /etc/grub.d/41_custom
#!/bin/sh
cat EOF
if [ -f  \${config_directory}/custom.cfg ]; then
  source \${config_directory}/custom.cfg
elif [ -z \${config_directory} -a -f  \$prefix/custom.cfg ]; then
  source \$prefix/custom.cfg;
fi
EOF


--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51c71aa6.2050...@o2.pl



GNOME 3 non-responsive?

2013-06-23 Thread MRH

Hi,

I run Debian wheezy/sid. After recent updates (resulting in mix of GNOME 
3.4 / 3.8 the new gnome shell has became unresponsive. I mean I can log 
in, but then there is no top panel, no window top frames (so I cannot 
minimise / close windows), I cannot access windows / activities. To log 
off I need to use Alt-F2 and run gnome-session-quit, or just kill a 
session from a console.


gnome-classic works though.

Anyone else has experienced that problem, is it 'fixable' at the moment, 
or do I need to wait for some further sid updates?


PS. I know, I run sid, so I'm not winging, but would be nice if there 
was a solution :)


Kind regards,
Michal

--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/51c71c1f.90...@o2.pl



Re: Data Archiving

2013-04-10 Thread MRH

On 08/04/13 20:59, Rob Owens wrote:

On Mon, Apr 08, 2013 at 09:30:52AM -0700, Gary Roach wrote:

As for as OCR vs retyping vs scan and preses - still up in the air
at this point. I suspect that all three methods might be used.


There are commercial companies that will do bulk scanning and OCR.  I
used one in the past and I found the price to be pretty reasonable.  I'm
not sure if anybody has OCR software that works on hand-written
documents, though...

-Rob




If the database / digital storage space is not a problem I'd rather 
suggest storing scanned documents as they are (in graphical format) - 
you never know when this may come handy. Sometimes you want to see how 
the document looked like, not just to read its content only. And OCRed 
version for searching purposes, linked with the images.


I remember there was a (commercial, MS Windows) Russian OCR software 
some years ago, really good working then; probably it could handle 
handwriting to some extent:

http://finereader.abbyy.com/
I never used it for handwritten text though.
Another option is to hire some teenagers or students who'd like to earn 
some additional money if you have funds for that - both ways need 
proof-reading afterwards.


Not sure which database would be good for storing images; is MySQL 
capable of managing it in an efficient way; perhaps Postgress SQL or 
another solution is better. You could also store the images on the drive 
and keep links (paths) to the images in the database.


Did you try contacting other institutions which might have similar needs 
- what do they use?


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5165c6c2.20...@o2.pl



Re: icedove 8.0-2 not opening http links in browser [SOLVED]

2012-02-07 Thread MRH

On 05/02/12 07:20, Michael Biebl wrote:
[...]


I was bitten by this bug too so I did some debugging and I think I found
the culprit.

Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658479#15

Cheers,
Michael


Thank you very much! This was it, once I copied the manifest file it 
started working again.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f31a121.6030...@o2.pl



Re: icedove 8.0-2 not opening http links in browser

2012-01-24 Thread MRH

On 23/01/12 09:14, Alberto Fuentes wrote:

On 01/20/2012 08:46 PM, MRH wrote:

On 20/01/12 10:19, Alberto Fuentes wrote:

On 01/20/2012 10:10 AM, Jörg-Volker Peetz wrote:

Did you check Preferences - Attachments for ftp, http, and
https?


i am having the same issue, and the attachment tab is empty

greets!
aL


The same. The worst thing I don't remember how was it before.

Kind regards,
Michal



ive got icedove 8.0-2 and its empty. I tried in a testing with 3.1.16-1
and its empty as well :S

greets!
aL
And I just checked that in Thunderbird 9 at work - the same (attachment 
tab is empty), but the links work there.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f1f1c37.7040...@o2.pl



Re: Microsoft Natural Ergonomic 4000 keyboard

2012-01-24 Thread MRH

On 24/01/12 10:25, Andreas Weber wrote:

On 2012-01-24 02:08, Ashton Fagg wrote:

Can anyone tell me how the Microsoft Natural Ergonomics 4000 keyboard
works with Debian (and if possible, also with XFCE) in regards to the
multimedia keys etc? I'm not afraid of having to deal with Xmodmap.


It works perfectly. After fiddling with Xmodmap for years together with
KDE I finally switched and use xbindkeys happily ever after (KDE 4 kept
breaking with its keybinding infrastructure with every new release).

HTH, ändu


Almost perfectly. The 'zoom' slider button doesn't work (and cannot be 
fixed with mapping keys, as xev also won't return anything)


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f1f1d1d.7070...@o2.pl



Re: icedove 8.0-2 not opening http links in browser

2012-01-23 Thread MRH

On 20/01/12 19:45, MRH wrote:
[...]



Try changing those to:-
network.protocol-handler.app.http = user set = string =
/usr/bin/iceweasel
network.protocol-handler.app.https = user set = string =
/usr/bin/iceweasel

I'll try it tonight, but this seems wrong - instead of using the system
default it will use a forced one.

Tried, but it didn't work.

... still trying to find a solution. Perhaps one of the next updates 
will solve my problem.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f1de138.4030...@o2.pl



Re: icedove 8.0-2 not opening http links in browser

2012-01-20 Thread MRH

On 20/01/12 04:27, Scott Ferguson wrote:

On 20/01/12 10:09, MRH wrote:

Hi,

After my recent update (Debian sid on amd64, icedove 8.0-2, iceweasel
9.0.1-1) everytime I click a link in email it asks me to choose an
aplication to open the link with (Launch Application). I'm aware I can
choose Iceweasel and tick to always use it, but I think it should (and
did) use a global settings (ie x-www-browser, which is actually set to
iceweasel).

How can I fix it? I checked update-alternatives (for x-www-browser, it's
OK),


$ update-alternatives --list x-www-browser
/usr/bin/chromium-browser
/usr/bin/iceweasel
/usr/bin/konqueror



Mine returns the following:
/usr/bin/google-chrome
/usr/bin/iceweasel
/usr/bin/konqueror

$update-alternatives --display x-www-browser
x-www-browser - manual mode
  link currently points to /usr/bin/iceweasel
/usr/bin/google-chrome - priority 120
/usr/bin/iceweasel - priority 70
  slave x-www-browser.1.gz: /usr/share/man/man1/iceweasel.1.gz
/usr/bin/konqueror - priority 100
  slave x-www-browser.1.gz: /usr/share/man/man1/konqueror.1.gz
Current 'best' version is '/usr/bin/google-chrome'



icedove / config:
network.protocol-handler.app.http = x-www-browser


Might work if iceweasel is the only browser in your system alternatives...



But it worked before...


Try changing those to:-
network.protocol-handler.app.http =  user set =  string =
/usr/bin/iceweasel
network.protocol-handler.app.https =  user set =  string =
/usr/bin/iceweasel
I'll try it tonight, but this seems wrong - instead of using the system 
default it will use a forced one.




Also check these:-
network.protocol-handler.expose.http =  default =  boolean =  true
network.protocol-handler.expose.https =  default =  boolean =  true

Got the same.

Thanks
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f19c44f.80...@o2.pl



Re: icedove 8.0-2 not opening http links in browser

2012-01-20 Thread MRH

On 20/01/12 10:19, Alberto Fuentes wrote:

On 01/20/2012 10:10 AM, Jörg-Volker Peetz wrote:

Did you check Preferences - Attachments for ftp, http, and
https?


i am having the same issue, and the attachment tab is empty

greets!
aL


The same. The worst thing I don't remember how was it before.

Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f19c490.4060...@o2.pl



icedove 8.0-2 not opening http links in browser

2012-01-19 Thread MRH

Hi,

After my recent update (Debian sid on amd64, icedove 8.0-2, iceweasel 
9.0.1-1) everytime I click a link in email it asks me to choose an 
aplication to open the link with (Launch Application). I'm aware I can 
choose Iceweasel and tick to always use it, but I think it should (and 
did) use a global settings (ie x-www-browser, which is actually set to 
iceweasel).


How can I fix it? I checked update-alternatives (for x-www-browser, it's 
OK),

icedove / config:
network.protocol-handler.app.http = x-www-browser

What do I miss? Is it a bug?

Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4f18a28c.3020...@o2.pl



RAID 1 problem after removing disk

2011-08-15 Thread MRH

Hi,

I have an odd problem with my RAID 1 (/dev/md2) setup on Debian (sid). 
It used to be a 2 HDD configuration:

/dev/sdc1, /dev/sdd1
Recently sdc1 started warning me with SMART errors, so I decided to 
replace it with a new drive (/dev/sde1). Perhaps foolishly, I used 
gnome-disk-utility (palimpsest) to do that. I selected the RAID array, 
added the new drive and it synchronised. While synchronising, the sdc 
drive failed. After finished syncing, the RAID status displayed that 2 
drives are fully synchronised (sdd1, sde1), one failed (sdc1) and the 
array is degraded. I removed the failed disk from the array.


Next day after I started my PC i was surprised - the RAID did not start, 
and was still marked as degraded. I did few checks and it seems that 
mdadm 'thinks' there should be 3 drives... I can run mdadm --assemble 
and it starts the array (but as degraded). How can I get rid of the 
removed drive? I tried

mdadm /dev/md2 --remove failed
mdadm /dev/md2 --remove detached
they do nothing

mdadm --zero-superblock /dev/sdc1
says it couldn't open /dev/sdc1 for write (well, it could not as the 
disk has died)


===

Result from
mdadm --detail /dev/md2:

   Version : 0.90
  Creation Time : Wed Jun 17 21:11:25 2009
 Raid Level : raid1
 Array Size : 966799616 (922.01 GiB 990.00 GB)
  Used Dev Size : 966799616 (922.01 GiB 990.00 GB)
   Raid Devices : 3
  Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent

Update Time : Sun Aug 14 22:23:03 2011
  State : clean, degraded
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

   UUID : 40b55130:8f1de1e6:9d4deba6:47ca997f
 Events : 0.50097

Number   Major   Minor   RaidDevice State
   0   000  removed
   1   8   491  active sync   /dev/sdd1
   2   8   652  active sync   /dev/sde1

===

cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] 
[raid4] [multipath] [faulty]

md2 : active (auto-read-only) raid1 sdd1[1] sde1[2]
  966799616 blocks [3/2] [_UU]

md1 : active raid1 sda2[0] sdb2[1]
  966799616 blocks [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
  497856 blocks [2/2] [UU]

unused devices: none

===

from /etc/mdadm/mdadm.conf:

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=54f1d14e:91ed3696:c3213124:8831be97
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=5d97a1e5:26d9d2ed:2a031ed3:45563b24
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=40b55130:8f1de1e6:9d4deba6:47ca997f



How can I get rid of the removed drive from RAID and get it fixed? I'd 
be grateful for suggestions.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e499df3.1090...@o2.pl



Re: Game for toddlers

2011-07-04 Thread MRH

On 04/07/11 21:51, T o n g wrote:

Hi,

Do you have any *first hand experiences* of games available in Debian
that toddlers of 2 to 4 can enjoy?

Or, a bit OT, your *first hand experiences* of online games for toddlers
please?

I found my child extremely slow in picking up the idea of the games --
she is over 4 and can barely play with mouse, let alone keyboard.



gcompris.

Well, I let my children play it a while ago (ie 5 years ago, when the 
youngest was about 3-4) and there was quite a selection of puzzles, 
simple logic games, etc.


However I wouldn't make a child to play if she/he doesn't want to. 
Actually I'm happy when they (my children) like playing with toys or 
outside (and leave PC to me ;-) ).


When a bit older (7+) they enjoyed supertux and supertuxcart. Also some 
online games like 'club penguin', however this one requires an account, 
some reading / writing abilities.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e123a2f.7010...@o2.pl



Re: VirtualBox 4 fails building kernel module (the same with nvidia module)

2011-01-24 Thread MRH

On 22/01/11 23:03, tv.deb...@googlemail.com wrote:
[...]


I have the same setup, I build my kernel (2.6.37 currently) with
kernel-package and both nvidia and VirtualBox 4 work fine (they build
automatically with dkms). I don't use extraversion, only
--append-to-version and --revision.
The problem with extraversion and 2.6.37 is known, it's been reported
here if I remember, look for a message starting with kernel-package:
2.6.37 in the archives. But since it seems to affect only proprietary
software I guess they'll have to adapt.




Hmmm, that's interesting - I don't remember tinkering with extraversion 
directly - unless it's '-rc1' suffix which causes the trouble.
I did a number of tests yesterday and I found that I cannot get 
2.6.38-rc1 working at all, however I could finally get back 2.6.32 
working again after I build it (with both --revision and 
--append-to-version). This required deleting /usr/src/linux soft link 
after restarting PC - it has been recreated automagically by 'something' 
pointing to 2.6.38-rc1 source. But after removing the link both


/etc/init.d/vboxdrv setup
m-a a-i nvidia

worked and build me the modules. Still I don't know what's wrong with 
2.6.38-rc1. Perhaps it's '-rc1' fault - I'll wait for stable 2.6.38 and 
will report back :)


Thanks all for the advices.

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d3ded69.7090...@o2.pl



Re: VirtualBox 4 fails building kernel module (the same with nvidia module)

2011-01-24 Thread MRH

On 23/01/11 04:53, Cameron Hutchison wrote:

tv.deb...@googlemail.comtv.deb...@googlemail.com  writes:


The problem with extraversion and 2.6.37 is known, it's been reported
here if I remember, look for a message starting with kernel-package:
2.6.37 in the archives. But since it seems to affect only proprietary
software I guess they'll have to adapt.


Since I was the one to report that, I should correct some things I got
wrong. The problem also exists in 2.6.36 - that's when it was
introduced, and I had to revert two commits to fix it:

7b8ea53d7f1865cd8f05dfb8f706a4ff5a72abcf (makefile: not need to
regenerate kernel.release file when make kernelrelease)

01ab17887f4cdcb8bb5a5d1bc3b160d186e6e99b (Makefile: make kernelrelease
should show the correct full kernel version)

I don't know if this is related to the OP's issues - I don't use nvidia
drivers.




I'm afraid it's a bit beyond my skills at the moment - I guess it's 
about getting source tree by svn and reverting the changes applied by 
getting previous version of a file?


Thanks anyway - I hope it will start working for me at some point :)

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d3dee86.2090...@o2.pl



VirtualBox 4 fails building kernel module (the same with nvidia module)

2011-01-22 Thread MRH
Recently I updated VirtualBox from 3.2 to 4.0 (non OSE version). From 
that moment it stopped working, saying that the kernel driver (vboxdrv) 
is not loaded and suggesting to run /etc/init.d/vboxdrv setup


This fails:
--
Stopping VirtualBox kernel modules:done..
Uninstalling old VirtualBox DKMS kernel modules:done..
Trying to register the VirtualBox kernel modules using DKMS:
Error! Bad return status for module build on kernel: 2.6.38-rc1.mrh.01 
(x86_64)

Consult the make.log in the build directory
/var/lib/dkms/vboxhost/4.0.2/build/ for more information.

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
--

The above is the /var/log/vbox-install.log
Below /var/lib/dkms/vboxhost/4.0.2/build/make.log
--
DKMS make.log for vboxhost-4.0.2 for kernel 2.6.38-rc1.mrh.01 (x86_64)
Sat Jan 22 18:07:34 GMT 2011
make: Entering directory `/usr/src/linux-2.6.38-rc1'
  LD  /var/lib/dkms/vboxhost/4.0.2/build/built-in.o
  LD  /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/built-in.o
  CC [M]  /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o
In file included from 
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/VBox/types.h:30,
 from 
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/../SUPDrvInternal.h:35,
 from 
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/iprt/types.h:105:31: 
error: linux/autoconf.h: No such fil

e or directory
make[2]: *** 
[/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o] Error 1

make[1]: *** [/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv] Error 2
make: *** [_module_/var/lib/dkms/vboxhost/4.0.2/build] Error 2
make: Leaving directory `/usr/src/linux-2.6.38-rc1'
--

I have home-build kernel, I had the same problem on 2.6.32 first, which 
worked nicely with VirtualBox 3.2 but stopped after installing VB 4.0 - 
unfortunately it seems it doesn't help going back to the VB 3.2 version, 
as the kernel driver module has been deleted and it fails building in 
the same way. So it seems there is a problem in building kernel modules. 
I have the same problem with nvidia proprietary driver - fails building.


I suspect the problem is I build the kernel with --append-to-version:

make-kpkg --initrd --revision=.mrh.01 --append-to-version=.mrh.01

but this helps me keeping things tidy.

Now I have no idea where is the problem, is it a known bug or I do 
something wrong (but it worked to me until recently). And I'm afraid I 
have no idea which package is the culprit.


I use debian sid, kernel from http://www.kernel.org/ (2.6.32 or 
2.6.38-rc1), have build and installed linux-image and linux-headers.


Any ideas, please?

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d3b20c8.3080...@o2.pl



Re: VirtualBox 4 fails building kernel module (the same with nvidia module)

2011-01-22 Thread MRH

On 22/01/11 19:42, Boyd Stephen Smith Jr. wrote:

In4d3b20c8.3080...@o2.pl, MRH wrote:

   CC [M]  /var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.o
In file included from
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/VBox/types.h:30,
  from
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/../SUPDrvInternal.h:35,
  from
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.0.2/build/vboxdrv/include/iprt/types.h:105:31:
error: linux/autoconf.h: No such fil
e or directory


This file should be provided by the linux-headers-* package for your kernel.
Make sure you are this package installed in order to build kernel modules.


Installed. As I wrote before, I build and installed both linux-image and 
linux-headers.





I have home-build kernel.

I suspect the problem is I build the kernel with --append-to-version:

make-kpkg --initrd --revision=.mrh.01 --append-to-version=.mrh.01

but this helps me keeping things tidy.


I'm not familiar with make-kpkg since the stock Debian kernels have served me
well so far.  Does it prepare all the linux-* .debs?  You'll need linux-
headers-* for building kernel modules.

Yes, it builds:
linux-image-2.6.38-rc1.mrh.01_.mrh.01_amd64.deb
linux-headers-2.6.38-rc1.mrh.01_.mrh.01_amd64.deb

and I have them installed.

I tried reinstalling dkms, kernel-package, virtualbox, both linux image 
and headers - still nothing.


I installed stock debian kernel - then it worked -ish - I mean both 
drivers have compiled, however X environment did not work (nvidia driver 
didn't work) and some other things I use are not available in the stock 
kernel.


Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d3b5845.7000...@o2.pl



Re: (picture) image manipulation program

2009-08-09 Thread MRH

Adrian Levi wrote:

I'd like to hear some responses for what people use as a quick and
dirty image manipulation program.
Main features I'm looking for are:-
re-size(smaller),
rotate,
convert to ...

I realise there is the gimp but it's probably overkill for what I want
and it's features are more along the lines of photoshop where I want
something along the lines of irfanview [1].

Adrian

[1] http://www.irfanview.com/




I use gThumb for that sort of work (ie. viewing / rotate when necessary 
/ resize / add comments etc).

gthumb package (note that it's a Gnome package)

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: ia32-apt-get or libc6-i386 on amd64, debian sid?

2009-07-21 Thread MRH

Svenn Are Bjerkem wrote:

2009/7/19 MRH misiek_s...@o2.pl:

I'm pretty confused with the latest changes in sid on amd64. Do ia32-*
packages replace -i386 packages or they are alternatives? After 'upgrading'
to ia32-apt-get I lost wine (however I found there is ia32-wine, which
unfortunately is not displayed in synaptic and I'm not sure if it replaces
wine, then what will happen if there will be 64bit wine?), picasa,
googleearth and some other packages.


Backend is moving in the direction of multi-arch packages. This is an
attempt to bridge the gap until that happens.


Should I purge ia32-* and reinstall libc-i386 or wait?


I installed ia32-apt-get and got my wine back after
$ ia32-apt-get update
$ ia32-apt-get install ia32-wine
and to fix a warning about internet access
$ ia32-apt-get install ia32-libnss-mdns


Thanks for the explanations, now its clearer to me. Unfortunately, 
ia32-wine installtion didn't work for me, installation failed with:


You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
  ia32-libsasl2-modules: Depends: ia32-libssl0.9.8 (= 0.9.8f-5~22) but 
it is not going to be installed
  ia32-libwine: Depends: ia32-libssl0.9.8 (= 0.9.8f-5~22) but it is 
not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
specify a solution).


And when I try:
#  ia32-apt-get install ia32-libssl0.9.8

it fails with:

Unpacking ia32-libssl0.9.8 (from 
.../ia32-libssl0.9.8_0.9.8k-3~22_amd64.deb) ...

dch warning: new version (0.9.8k-3~22) is less than
the current version number (0.9.8k-3).
dpkg: error processing 
/var/cache/ia32-apt/archives/ia32-libssl0.9.8_0.9.8k-3~22_amd64.deb 
(--unpack):
 trying to overwrite `/usr/lib32/i486/libcrypto.so.0.9.8', which is 
also in package lib32ssl0.9.8

Errors were encountered while processing:
 /var/cache/ia32-apt/archives/ia32-libssl0.9.8_0.9.8k-3~22_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I cannot remove libssl0.9.8 - there are other dependencies. Any ideas?


--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




ia32-apt-get or libc6-i386 on amd64, debian sid?

2009-07-19 Thread MRH
I'm pretty confused with the latest changes in sid on amd64. Do ia32-* 
packages replace -i386 packages or they are alternatives? After 
'upgrading' to ia32-apt-get I lost wine (however I found there is 
ia32-wine, which unfortunately is not displayed in synaptic and I'm not 
sure if it replaces wine, then what will happen if there will be 64bit 
wine?), picasa, googleearth and some other packages.


Should I purge ia32-* and reinstall libc-i386 or wait?

Then what I understood reading ia32-apt-get doc and some previous post 
it is supposed to be updated / upgraded separately to the apt-get and I 
assume it won't be included / supported in synaptic?


--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Virtualisation / Xen with home-compiled kernel on sid?

2009-06-27 Thread MRH

Victor Padro wrote:

On Fri, Jun 26, 2009 at 5:44 PM, MRHmisiek_s...@o2.pl wrote:

Recently I decided to play a bit with MS Windows 7RC on my PC. My main OS at
home is Debian sid which I really like and it is a bit bothersome to reboot
each time I want to check something on MSWin, I thought about using
virtualisation.

First I thought about Xen or KVM. I'm a total novice at these things, so
it's difficult to decide. What I want is to preserve the system I use
(Debian sid amd64), allow starting another one (in a window ?). Ideally I'd
like to have Debian as a default system, possibility to dual-boot Windows (I
installed MSWin on another hard drive) and use/run that installed MSWin from
Debian. Hope it makes sense.


[cut]


I don't know if you checked this site:
http://www.howtoforge.com/howtos/virtualization
but it has nice how to's regarding virtualization using Xen and KVM.
you can also test out virtualbox or vmware server, they are free.



Thanks, very useful - lots to read. It seems I rather want KVM (or 
VirtualBox).


Kind regards,
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Virtualisation / Xen with home-compiled kernel on sid?

2009-06-27 Thread MRH

chinna p wrote:

Hi MRH,

There is one website which is a good reference to virtualization. Here it is

 http://www.virtuatopia.com/index.php/Main_Page 

I think it can help u...

All the best

bye,

-- Ashok Varma


Thanks - scheduled for reading :)
Kind regards,
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Virtualisation / Xen with home-compiled kernel on sid?

2009-06-27 Thread MRH

Tzafrir Cohen wrote:

On Fri, Jun 26, 2009 at 11:44:49PM +0100, MRH wrote:


1) Is Xen a way to go?


Not sure.


2) If so, how can I use the existing kernel? Do I need to compile xen too?


The Xen Dom0 code has not been included in the kernel yet. KVM's code
got in much sooner. So testing KVM should require less kernel tweaks (if
at all).



So this was the reason it did not work for me. I'll try KVM and let the 
list know the results then.


Kind regards,
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Virtualisation / Xen with home-compiled kernel on sid?

2009-06-26 Thread MRH
Recently I decided to play a bit with MS Windows 7RC on my PC. My main 
OS at home is Debian sid which I really like and it is a bit bothersome 
to reboot each time I want to check something on MSWin, I thought about 
using virtualisation.


First I thought about Xen or KVM. I'm a total novice at these things, so 
it's difficult to decide. What I want is to preserve the system I use 
(Debian sid amd64), allow starting another one (in a window ?). Ideally 
I'd like to have Debian as a default system, possibility to dual-boot 
Windows (I installed MSWin on another hard drive) and use/run that 
installed MSWin from Debian. Hope it makes sense.


Yesterday I tried to install Xen, but it didn't work (in the way I 
expected). I installed xen-tools + some more xen packages. Nothing 
happened. Then I installed xen hypervisor. Nothing again. Only after I 
also installed xen kernel / modules it added xen to grub and almost 
started (almost, as I use nvidia proprietary driver, so X did not start).


When I tried to modify grub's menu.lst to add xen startig my 
(home-compiled) kernel it did not boot (I've got Panic on CPU0 / Could 
not set up DOM0 guest OS ) message.


I googled out a number of a bit outdated howtos, some showing how to 
compile xen 3.0 on etch, some explaining how to install xen packages and 
 use disk image to add another system.


So couple of questions then:
1) Is Xen a way to go?
2) If so, how can I use the existing kernel? Do I need to compile xen too?
3) What to start with?

Help, please!
Kind regards,
Michal
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: AltGr broken in GTK apps (?) since yesterday's upgrade

2009-06-06 Thread MRH

Davide Mancusi wrote:

Running Sid. I upgraded some 400 packages yesterday and since
then the AltGr key has stopped working in some applications, notably
Iceweasel and Claws Mail (i.e. the applications I use 90% of the
time, of course). Specifically, when I press AltGr + any key, nothing
happens. Note that neither Iceweasel nor Claws were upgraded. Could it
be related to GTK?

Has anyone experienced the same behaviour?

Cheers,
Davide



I did a while ago, actually - if it is the same thing; ie some regional 
characters (Polish in my case) don't work with AltGr. It works again 
when you open keyboard preferences, go to Layouts tab, Layout Options 
button, expand 'Key to choose 3rd level', untick and tick back the 
current option (probably Right Alt), close.


But. It returns to the broken state once you pressed any of multimedia 
keys or logout or in some other circumstances I'm not really sure when. 
Pretty annoying, so let's hope there will be a fix. Unfortunately I have 
no idea what is the problem / what causes that so I even do not know 
where to report a bug (against which package).


Kind regards,
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




How to mount .iso file from NFS share?

2007-12-04 Thread MRH

Good evening all :)

I hope it's not off-topic. I have a problem with mounting an .iso file 
from a mounted NFS share on my Debian sid. The NFS share is mounted in 
my home subdirectory (by fstab):

$ cat /etc/fstab
...
nfsserver:/user0 /home/user0/test nfs defaults,bg 0 0
...

$ ls ~/test
MyCD.iso

$ sudo mount /home/user0/test/MyCD.iso /home/user0/CD -t iso9660 -o lo,ro
/home/user0/test/MyCD.iso: Permission denied

Why? And how can I mount the .iso file? NB, when I copy the .iso file to 
my local folder I can mount it without any problems.


Kind regards,
--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Which AM2 motherboard and chipset do you use?

2007-11-21 Thread MRH

On 20/11/07 16:39,Augustin wrote:

Hello,


As mentioned is a previous thread, my current computer is having some 
hardware problems that prevent me from installing Debian (It is 
currently running Mandriva). 

Since I have some cash coming in, I am now definitely looking at 
buying a new computer on which I will exclusively install Debian.


I am set to buying a socket AM2 mainboard, with a slow CPU, a minimum 
amount of RAM and use the onboard graphic unit, but I would like to 
buy a fairly good/excellent mainboard + very good power supply unit, 
so that I can over time, as prices drop, upgrade CPU, RAM and buy a 
good, dedicated video card. 

For the power supply, I am thinking to buy a 500~550 Watt, 80plus 
certified unit. 

[cut]

I built my PC a couple of months ago and it works with Debian sid very 
well. The main components are:
1) AMD Athlon 64 X2 4000+ (EE, lower power consumption - however I'd go 
for BE-2350 (45W) now)

2) MoBo: Asus M2N-SLI Deluxe ATX Socket AM2 Nvidia Nforce 570 SLI
It's really good one, chipsets are cooled passively (heatpipes), many 
connectors on board - you can find good reviews on google. No graphics 
onboard, so:

3) used (eBay) XFX Geforce 7600 GT Fatal1ty;
Great, passive cooling so very silent but quite powerful. Now you could 
buy 8600GT.

4) HDD WD (WD5000AAKS 500GB SATA II)
Silent, fast, reliable.
5) RAM: 2GB Corsair 2GB Kit (2x1GB) DDR2 675MHz/PC2-5400
6) Case: Coolermaster Elite 330 Black Mid Tower Case - No PSU
quite cheap (ca. £28) but decent
7) Power Supply - Coolermaster IGreen 430W (85% Efficiency ATX12V v2.2 
120mm Fan)
I can tell you that the 430W is really enough unless you want to put a 
big array of HDDs inside or power-consuming new SLI gfx. There are also 
more powerful versions.


I added 2 rather silent 120mm fans (front and back). My PC is quite 
silent (the noisiest part is the boxed processor fan, which I plan to 
replace). It's stable, no problems with network, SATA, audio, USB - 
everything works. I compiled kernel myself, but most thing worked with 
the Debian kernel (AFAIR).


--
Cheers,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: printing a scanned document

2007-11-15 Thread MRH

Dnia 15/11/07 19:12,Hugo Vanwoerkom napisał:

Hugo Vanwoerkom wrote:

Hi,

I was sent a scanned document, it was a .jpeg file.
So I downloaded the .jpeg and used display to view it.
Then I printed it, but it was about 1/2 the size of a sheet of paper 
and hard to read.


So I used display to resize it 150% and sharpen the image.

That worked OK *viewing* it but it *prints* still the same small image.

How do I make it print a larger image that is sharpened?



Thanks guys.
I did not want to install Gimp: too many notes...

convert did not do the job, who knows why.

But using oo writer and inserting the jpeg image somehow expanded it to 
page size and it printed as such.


Hugo


I think the problem was the ppi setting (pixels per inch?). The value 
might be high and while it looks OK on the screen, the printout is 
small. I'd try to manipulate this value (ie change it to some lower one).


Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Wine + Diablo II LOD + 3D on nvidia = white screen?

2007-11-08 Thread MRH

On 08/11/07 12:06,Stephan Seitz wrote:
[]


xorg.conf is the right place and DefaultDepth is the right option, but 
do have a color definition in die Display-Subsection, e.g.:


Section Screen
Identifier  Default Screen
Device  Ati Radeon9250
Monitor Samsung SyncMaster 900NF
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x1024 EndSubSection
EndSection

xdpyinfo shoud give you the information about the colour depth.


Didn't help :(

I'll wait for the new wine package version and see.
I tried to compile wine from source, but cannot - possibly the reason is 
I'm running AMD64. I just hope the new version will be available in 
packages soon :)


Cheers,
Michal


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Wine + Diablo II LOD + 3D on nvidia = white screen?

2007-11-07 Thread MRH

I don't play games much, but sometimes it'd be nice to be able to.
I have a problem with Diablo II Lord of Destruction (expansion pack) 
game. It works fine in DirectDraw 2D mode but is not so 'shiny', it 
looks much better in Direct3D. When I set it up to run in 3D HAL mode it 
starts OK, but then after intro the whole screen goes white. When it's 
run in window I can quit but if it's full screen mode nautilus hangs and 
my desktop is all blank - have to manually delete metacity saved session 
files. Moreover, in windowed run it seems to be changing the whole 
colour palette - all windows colours are very pale.


I use Debian Sid on AMD64, nvidia drivers (proprietary - to get 3D 
working), Gnome.

I looked at winehq, but the game is described as working. Any hints?

Not sure if it helps, but on exit it returns the following errors (cut 
to the relevant part I think):


===
fixme:win:EnumDisplayDevicesW ((null),0,0x817784,0x), stub!
fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x14b658) : stub, 
simulating 64MB for now, returning 64MB left
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel 
(0x14a0f8)-(0x30024,0411)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 
32 to 16
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel 
(0x14a0f8)-(0x30024,0411)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 
32 to 16

err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel 
(0x14a0f8)-(0x30024,0411)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 
32 to 16

fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x14a0f8)-((nil),0008)
===

Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Wine + Diablo II LOD + 3D on nvidia = white screen?

2007-11-07 Thread MRH

Dnia 07/11/07 23:19,Rob Bochan napisał:

On Wednesday 07 November 2007 06:16:13 pm MRH wrote:

I don't play games much, but sometimes it'd be nice to be able to.
I have a problem with Diablo II Lord of Destruction (expansion pack)
game. It works fine in DirectDraw 2D mode but is not so 'shiny', it
looks much better in Direct3D. When I set it up to run in 3D HAL mode it
starts OK, but then after intro the whole screen goes white. When it's
run in window I can quit but if it's full screen mode nautilus hangs and
my desktop is all blank - have to manually delete metacity saved session
files. Moreover, in windowed run it seems to be changing the whole
colour palette - all windows colours are very pale.

I use Debian Sid on AMD64, nvidia drivers (proprietary - to get 3D
working), Gnome.
I looked at winehq, but the game is described as working. Any hints?

Not sure if it helps, but on exit it returns the following errors (cut
to the relevant part I think):
...
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from
32 to 16
...


That line sounds like where the problem lies. You might consider running in 16 
bit color as opposed to 32 bit.


...Rob


This is what I thought, but what should I change? Something in Wine 
config or XOrg? I tried to change xorg.conf

DefaultDepth 16
in Screen section, but it didn't help. Well, I don't understand where it 
takes the 32 bit value from, while it's 24 by default...


Michal


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: intall nvidia driver on debian lenny

2007-10-29 Thread MRH

Dnia 29/10/07 20:50,Nick Lidakis napisał:

Bogdan Marian wrote:


Hello.

Yes, it was running with the free version of the driver. I can 
successfully start if i change the Driver section to nv from 
nvidia. In fact, that's how i'm able to send you this mail.




I had a similar problem once; realized I forgot to do apt-get install 
nvidia-glx which creates some necessary TLS links.


This page should be helpful, it describes the whole process quite well 
(with different ways of installing the driver) and offers some 
troubleshooting:

http://wiki.debian.org/NvidiaGraphicsDrivers

Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Debian Sid, Xorg - mouse doesn't work

2007-10-26 Thread MRH

Dnia 26/10/07 04:06,Andrew Sackville-West napisał:

On Thu, Oct 25, 2007 at 08:36:24PM -0400, Wayne Topa wrote:

MRH([EMAIL PROTECTED]) is reported to have said:
 Hi,

 I have a problem after I apt-upgraded Debian Sid a couple of days ago. It 
 seems that some xserver-xorg-* or hal* packages broke my mouse in X. The 
 result is I have no working mouse in X - it displays cursor, that's it. I 
 managed to operate the mouse with keyboard 'emulation', but it's very 
 inconvenient. I got the latest today - still no change.
 I'm sure the mouse is OK - it works on other PCs. This is USB mouse; and 
 it's configured both as evdev and /dev/mice (the reason for the double 
 config is that the mouse is connected through a KVM, but it worked before; 
 moreover I tried also 'standard' config with /dev/mice only - still doesn't 
 work). When I switch to console as root and do

 # cat /dev/mice
 I receive lots of 'garbage' when I move the mouse - so the system sees it.

 I removed xserver-xorg-input-evdev temporarily as it messed my keyboard; 
 but I still have problems with the mouse.


 May I get some help - what can I do? Or should I wait for some update which 
 eventually fixes the problem?


No relief here, your running sid, so all you can do is wait.

I have the same problem here on lenny.  Gpm  libgpmg1 both at version
1.19.6-25. Upgraded this morning.
Uhm. I thought so. But wasn't sure - could not google that bug out - 
maybe I just did not know what to look for. I thought it might be 
something which requires configuration changes.


If you're running sid, you really should do two things: 


aptitude install apt-listbugs

and watch this list closely before you upgrade. I try to upgrade every
day, but never before skimming the list. I love all you poor saps
running a timezone a few hours ahead of mine ;-) Saved me from a
disastrous upgrade on more than one occaision.

*turning red with shame* I use apt-listbugs. However I did the previous 
upgrade a couple of weeks ago and while upgrading this time I missed 
that bug in the list - at least I did not notice it. It's a home PC so 
it's just an inconvenience. I just wondered if it is a bug or my fault. 
OK, I'll wait.


Thanks!
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Debian Sid, Xorg - mouse doesn't work

2007-10-25 Thread MRH

Hi,

I have a problem after I apt-upgraded Debian Sid a couple of days ago. 
It seems that some xserver-xorg-* or hal* packages broke my mouse in X. 
The result is I have no working mouse in X - it displays cursor, that's 
it. I managed to operate the mouse with keyboard 'emulation', but it's 
very inconvenient. I got the latest today - still no change.
I'm sure the mouse is OK - it works on other PCs. This is USB mouse; and 
it's configured both as evdev and /dev/mice (the reason for the double 
config is that the mouse is connected through a KVM, but it worked 
before; moreover I tried also 'standard' config with /dev/mice only - 
still doesn't work). When I switch to console as root and do

# cat /dev/mice
I receive lots of 'garbage' when I move the mouse - so the system sees it.

I removed xserver-xorg-input-evdev temporarily as it messed my keyboard; 
but I still have problems with the mouse.


May I get some help - what can I do? Or should I wait for some update 
which eventually fixes the problem?


Cheers,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Motherboard Recommendation

2007-10-04 Thread MRH

Dnia 04/10/07 05:35,Chris Bannister napisał:

On Tue, Oct 02, 2007 at 06:46:47PM -0400, Eric Estes wrote:

Can anyone recommend a good AMD (socket A2 - Athlon 64 X2) motherboard that has 
good Linux support? I'm sending back my Shuttle to newegg and need a 
replacement asap.



Hi Eric,

I am disappointed no one has replied to this as it looks I too will have


I agree it's disappointing. There was an answer from Douglas about 12 
hours before your post and I answered a couple hours before your post 
but you haven't received these :(


Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Motherboard Recommendation

2007-10-03 Thread MRH

Dnia 03/10/07 14:54,Douglas A. Tutty napisał:

On Tue, Oct 02, 2007 at 06:46:47PM -0400, Eric Estes wrote:

Can anyone recommend a good AMD (socket A2 - Athlon 64 X2) motherboard
that has good Linux support? I'm sending back my Shuttle to newegg and
need a replacement asap.


I'm running an Asus M2N-SLI Deluxe that has an AM2 socket.  I have an
AMD Athlon64 3800+ in it.  It will take 8 GB ram, 7 on-board SATA ports,
one eSATA port, 10 USB ports (6 for the front, 4 on the rear), firewire,
great sound, one IDE controller, one serial port.  It has the board
connector for a Parallel port but the actual riser to take it to the
back panel costs more than a USB-LPT converter.

So far, everything works great on standard Debian Etch.

Doug.


I also use Asus M2N-SLI Deluxe; AMD X2 4000 (EE series); 2GB RAM 
installed, 500GB HDD on SATA. Works really nice - had no any problems 
with installing and running the system - Debian Sid AMD64. The sound 
system on the board is sufficient for me and works with ALSA, network 
worked without problems - actually I installed the system over the 
Internet. Passive cooling is a nice feature of the board (chipsets are 
cooled with heatpipes).


HTH,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: NFS and quotas

2007-10-03 Thread MRH

Dnia 03/10/07 20:42,Daniel Mahoney napisał:

I've got a Debian Sarge machine that is mounting it's user directories via
NFS from a NAS appliance. Id' really like to get quotas running but I'm
not having a lot of luck.

I've tried adding quota and usrquota to the fstab flags for the
NFS-mounted directory, but mount complains about those flags being
unrecognized. I'm pretty sure from the googling I've done that quotas over
NFS are possible, but I'm sure not turning up any concrete pointers on how
to make it work.



Shouldn't you rather set quotas on the NAS? I have *very cheap* NAS and 
it have such option somewhere in the setup available.


Kind regards,
Michal R. Hoffmann



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Recommended MPLAYER config for old computers

2007-10-03 Thread MRH

Dnia 02/10/07 08:13,Amit Uttamchandani napisał:
[]


I tried out the settings but it still doesn't seem to help. I get a bunch of 
these errors repeatedly.

a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!  5.666 ct:  0.295 138/135 13%  5% 100.0% 127 0 1%
a52: error at resampling
a52: CRC check failed!
a52: error at resampling

I'm guessing this is due to the speed.



Hi,

It looks weird - CRC errors? Is the DVD scratched badly? I'm afraid I 
cannot help you; maybe you should try asking on some mplayer forums/groups?


BTW, have you tried the kaffeine already? It worked better than mplayer 
with DVDs for me.


Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Debian Sid AMD64, lazarus / FreePascal and GTK2

2007-10-03 Thread MRH

Hi,

anyone succeeded in building lazarus to use GTK2 widgets on Debian Sid 
AMD64? I followed the guide:

http://wiki.lazarus.freepascal.org/GTK2_Interface

but when I try to build I get an error:
make[2]: *** [../../units/x86_64-linux/gtk2] Error 1

Not very helpful. I have libgtk2.0-dev installed; FreePascal and lazarus 
sources as well. Actually I succeeded in compiling gtk only, but this is 
 the default, installed set anyway.


BTW, is any way to browse/install sources with synaptic?

Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Recommended MPLAYER config for old computers

2007-10-01 Thread MRH

Dnia 01/10/07 09:16,Amit Uttamchandani napisał:

Hey guys,

Trying to use mplayer to watch DVDs but it is quite slow. A lot of artifacts 
and buffering. Quite unwatchable. I have been tweaking a few settings here and 
there but I thought I'd ask from more experience users out there.

A few settings that I am using now,

 * -vo xv
 * -cache 8192

This is on a old PowerBook G4 500MHz PPC w/512MB RAM. I would think this should 
be fast enough to watch DVDs? Also, I am not running any other major 
applications in the background.

Any suggestions?

Thanks.



Hi,

I used to watch DVDs on my old 2x350PII 512MB RAM with VooDoo3, which 
seems to be slower than yours. Well, it wasn't perfect, but wasn't too 
bad. I must admit that kaffeine was much more useful with DVDs though. 
Sometimes it crashed, but it worked better with DVD menus etc. And it 
seemed to me that it played more smoothly too. Debian sid.



In mplayer (AFAIR) I used the following options

~/.mplayer/config:

vo=xv
ao=alsa
cache=4096 (but this was due to playing some .avi from network drive)
autoq=6
vf=pp
framedrop=yes

Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: blad libpam-runtime

2004-04-14 Thread MRH

Piotr Chylewski wrote:

siemanko

czy ktos przy ostatnich upgrade-ach mial moze problemy przy instalacji
libpam-runtime? u mnie za diabla nie chce isc dalej (apt-get -f
install tez nie pomaga :(()

otrzymuje taki blad: 


Zaznaczenie poprzednio niezaznaczonego pakietu libpam-runtime.
(Odczytywanie bazy danych ... 130432 plików i katalogów obecnie
zainstalowanych.) Przygotowanie do zastąpienia libpam-runtime 0.76-18
(wykorzystując libpam-runtime_0.76-18_all.deb) ... Rozpakowanie
pakietu zastępującego libpam-runtime ... Konfigurowanie libpam-runtime
(0.76-18) ... dpkg: błąd przetwarzania libpam-runtime (--install):
 podproces post-installation script zwrócił kod błędu 1
Wystąpiły błędy podczas przetwarzania:
 libpam-runtime

[]
mam podobnie, próbowałem też
# dpkg --configure libpam-runtime
ten sam błąd. Chyba coś spsutego w pakiecie, zobaczę za kilka dni.

pozdrawiam,
--
misiek
Michał R. Hoffmann



A4-tech 2-wheels and 5-buttons mouse

2004-04-13 Thread MRH
Hello,

I have A4-tech mouse (USB/PS2) with 2 wheels and 5 buttons. Is it possible 
to use them all under X (xfree86 4.3.x)? I can configure with ImPS/2, that 
I have available 3 buttons and 2 wheels, but still I cannot use 2 buttons.

Any hints?

Debian unstable, kernel 2.4.23 (soon 2.6.x), xfree86 4.3.x.

TIA,
--
misiek
Michal R. Hoffmann
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: gdm po polsku?

2004-04-05 Thread MRH

Krzysztof Kajkowski wrote:

W liście z czw, 01-04-2004, godz. 12:27, MRH pisze: 


hej,

co zrobić, aby gdm na dzień dobry startował po polsku? Ustawiłem we 
właściwościach j. polski, jednak po starcie systemu jest po angielsku. Co 
ciekawe, jak z konsoli wywołam:

/etc/init.d/gdm restart
to już jest po polsku.



Ja poradziłem sobie na szybko:
-skopiowałem /etc/init.d/gdm do /usr/local/bin
-zrobiłem swój plik /etc/init.d/rc.local (oczywiście komendą
update-rc.d)
-tam daję export LOCALE=blablabla a na końcu startuję /usr/local/bin/gdm

działa


uf, już też sobie poradziłem - udało mi się wygooglać i wczoraj wieczorem 
zadziałało:


export LC_ALL=pl_PL
do /etc/init.d/gdm gdzieś na początku.

BTW, w nowym gdm (debian/unstable) pojawiła się opcja, aby akcje menu 
Shutdown, Restart, ..., nie wymagały wpisywania hasła roota. Przydatna 
rzecz na komputerku domowym :)

pozdrawiam,
--
misiek
Michał R. Hoffmann



gdm po polsku?

2004-04-01 Thread MRH

hej,

co zrobić, aby gdm na dzień dobry startował po polsku? Ustawiłem we 
właściwościach j. polski, jednak po starcie systemu jest po angielsku. Co 
ciekawe, jak z konsoli wywołam:

/etc/init.d/gdm restart
to już jest po polsku.

debian unstable, gnome 2.4.

pozdrawiam,
--
misiek
Michał R. Hoffmann



rozdzielczosci w X-ach, uruchamianie na dzien dobry skryptu

2004-03-15 Thread MRH

witam,

mam zagwozdkę. Otóż mam kartę VooDoo 3 3000 TV-out, Debian unstable, 
kernel 2.4.23, XWindow 4.3.0, wmaker. Podłączyłem kartę do telewizora, 
posiłkując się googlem udało mi się to uruchomić:

- zainstalowałem lm-sensors, przekompilowałem i uruchomiłem wymagane moduły,
- napisałem króciutki skrypt, który ustala parametry wyjścia tv:
echo 0  [sciezka]/ntsc
echo 1  [sciezka]/svideo
echo 800 600  [sciezka]/res
cat [sciezka]/colorbars  /dev/null
- po uruchomieniu w/w skryptu (z uprawnieniami roota), ustawiam z poziomu 
konsoli w pliku /etc/X11/XF86Config-4 rozdzielczości:

[...]
SubSection Display
Depth 16
		Modes 800x600 800x600PAL #800x600PAL jest wyżej zdefiniowane, z 
parametrami TV

EndSubSection
[...]
i wykonuję /etc/init.d/xdm restart
- loguję się, wciskam Ctrl-Alt-GrPlus (aby przełączyć się na parametry TV)
- uruchamiam mplayera.

fajnie, wszystko działa. Ale:

a)

 wolałbym, aby mój skrypt sam startował podczas startu systemu. Zrobiłem 
to w ten sposób, że wrzuciłem go do katalogu

/etc/init.d
a do /etc/rc3.d dałem do niego symlinka S99tv.sh
prawie działa. Tzn, jak nie wykonam
cat [sciezka]/colorbars
to nie mam obrazu na TV. Tak więc tą linijkę dodałem do .bashrc
Wydaje mi się, że można zrobić to lepiej, ale nie wiem jak

b) _ważniejsze_

denerwuje mnie konieczność edycji pliku XF86Config-4 i restartu x-ów za 
każdym razem, gdy chcę obejrzeć film. Normalnie pracuję w rozdzielczości 
1024x768. Ale gdy w konfiguracji wpiszę:

Modes 1024x768 800x600PAL
czy nawet
Modes 1024x768 800x600 800x600PAL
to w rozdzielczościach 800x600 automatycznie tworzony jest ekran wirtualny 
o rozmiarach 1024x768, i niestety w mplayerze na tv leci obraz 1024x768, i 
tak naprawdę nie mam obrazu na tv. Czy da się i jak? zrobić, aby móc 
przełączać się między rozdzielczościami? Niestety, nie umiałem z tym sobie 
poradzić - lektura man'a nic mi nie pomogła :(


pozdrawiam,
--
misiek
Michał R. Hoffmann



Re: wmaker i ustawienia uzytkownika

2004-03-03 Thread MRH

Witam,

eh, stary człowiek i głupi. Przepraszam wszystkich za zawracanie głowy. 
Fakt, dzięki temu dowiedziałem się co nieco o ~/.Xresources, skąd pochodzą 
nazwy i jak tego używać.


Ale odnośnie wmclock. Już wiem, czemu dziadostwo ;-) mi nie działało. Na 
wczesnym etapie kombinowania w moim komputerze próbowałem osiągnąć to 
przez ~/.Xresources, nie działało, to wpisałem do linii komend parametry 
(np. -led). No i działało, ale nie dzięki ~/.Xresources. Jak instalowałem 
na drugim komputerze, sporo czasu później, to tak się zasugerowałem wpisem 
w ~/.Xresources, że nawet nie sprawdziłem, że wmclock jest uruchamiany z 
parametrami (jest uruchamiany przez Clip'a).


dziękuję wszystkim za pomoc i pozdrawiam,
--
misiek
Michał R. Hoffmann



Re: lm-sensors i naruszenie ochrony pamięci

2004-03-02 Thread MRH

Rafal Bujnowski wrote:
[]


Jakiś czas temu Krzysztof Krupa podesłał informację o uruchomieniu
lm_sensors na kernelu 2.6. Podał poniższy wpis:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs checkout lm_sensors2

Potem tylko wchodzisz do lm_sensors2 i kompilujesz. Ot, wszystko.


a) na razie mam kernel 2.4.xx. Pytanie czy zadziała.
b) nie mam w domu Internetu
tak więc raczej musiałbym to cuś najpierw w pracy ściągnąć i nagrać na 
CD, a później w domu przetworzyć. Tak czy owak, najpierw muszę poczytać o 
cvs, jak to obsłużyć i co to mi zrobi, a później grzebać :) No i przejść 
na kenela 2.6.xx


W każdym razie dzięki, jak będę miał trochę czasu to popróbuję - może w 
przyszłym tygodniu.


pozdrawiam i dzięki!
--
misiek
Michał R. Hoffmann



Re: wmaker i ustawienia uzytkownika

2004-03-01 Thread MRH

Adam Byrtek / alpha wrote:
[]


To sprawa lekko zakreconej filozofii iksow. Uzyj xprop | grep
WM_CLASS i kliknij na interesujacym cie okienku.


no i figa :( sprawdziłem:
a) jeśli zrobię w ten sposób, to w ogóle nie ma toto nazwy. Może dlatego, 
że jest to aplet wmakera.
b) zapuściłem xprop -name wmclock, otrzymuję szerszą listę właściwości, 
wśród nich WM_CLASS = wmclock, coś tam innego (kurcze, zapomniałem 
spisać) = WMClock. Ale niezależnie, czy podam w .Xresources

wmclock*led: Gold
czy
WMClock*led: Gold

i wywołam xrdb -load .Xresources (sprawdzałem później przez xrdb -n , 
wczytało);

to tak czy owak napisy zegarka są zielone. Ale jeśli wywołam
wmclock -led=Gold
to jest tak jak ma być. I nie rozumiem czemu :(

--
pozdrawiam,
misiek
Michał R. Hoffmann



Re: lm-sensors i naruszenie ochrony pamięci

2004-03-01 Thread MRH

Rafal Bujnowski wrote:

Michal R. Hoffmann wrote:

sam sobie odpowiem. Metodą prób i błędów problem rozwiązałem. Winne 
okazały się moduły i2c z kernela - gryzą się z tymi z pakietu i2c-sources. 
Gdy skasowałem biblioteki i2c kernela, to wszystko zadziałało.


Spróbuj może użyć lm_sensors z cvs'a. Powinno pomóc.


może, jak będę miał więcej czasu. Najpierw musiałbym się zaznajomić z cvs, 
sposobem kompilacji tegoż itd. W sumie moja prowizorka działa, a jak 
wiadomo, prowizorki długo się trzymają ;-) Być może po prostu w 
dokumentacji ktoś zapomniał wspomnieć, że nie należy dodawać modułów i2c 
do kernela (jest tam tylko napisane, by ich nie wkompilowywać na stałe). 
Ale dzięki, wypróbuję jak trochę czasu złapię :)


--
pozdrawiam,
misiek
Michał R. Hoffmann



Re: wmaker i ustawienia uzytkownika

2004-03-01 Thread MRH

Adam Byrtek / alpha wrote:
[]

Czy na pewno applet respektuje zasoby X? Moze lyka tylko linie
polecen, zerknij do kodu.


sęk w tym, że na moim domowym komputerze działa... Chociaż muszę 
sprawdzić, czy mam dokładnie tą samą wersję, tak czy owak obie unstable, 
tylko może w domu mam o miesiąc starszą wersję o ile były zmiany), bo 
przez tyle czasu nie aktualizowałem systemu.


--
pozdrawiam,
misiek
Michał R. Hoffmann



Re: wmaker i ustawienia uzytkownika

2004-02-26 Thread MRH

Adam Byrtek / alpha wrote:


On Wed, Feb 25, 2004 at 02:16:32PM +0100, Michal R. Hoffmann wrote:

zgadza się. Ale dlaczego jak ustawię dla jednego, to działa dla obu? A na 



Tu nie chodzi o nazwe uruchamianej binarki, ale o nazwe zasobu
(resource) X z ktorego czerpie informacje o konfiguracji. Np. aterm
respektuje zasoby XTerm, ale takze ATerm (przydatne przy opcjach,
ktorych XTerm nie posiada).



aha, to takie buty. A gdzie to sprawdzić? (tzn. te mapowania 
aplikacja - nazwa zasobu)? W jakimś pliku, gdzieś w /proc? W której 
dokumentacji szukać informacji na ten temat?


--
misiek
Michał R. Hoffmann



Re: pakiet menu - po polsku

2004-02-26 Thread MRH

Jacek Kawa wrote:
[]

odkomentuj repeat_lang=LOCALE

w /etc/menu-methods/menu.h i uruchom update-menus.

(po jakichś 10m śledztwa)

zobacz /usr/share/doc/menu/menu.txt.gz


dzięki, dziś wieczorem sprawdzę (bo to na domowym sprzęcie). Kurcze, fakt, 
 do menu.txt.gz nie zaglądałem, ale czytałem html/* i nie zauważyłem. 
Albo jestem gapa, albo są różnice w dokumentacji.


--
pozdrawiam,
misiek
Michał R. Hoffmann



Re: pakiet menu - po polsku

2004-02-26 Thread MRH

Jacek Kawa wrote:
[]


Tak swoją drogą, to można update-menus używać też nieglobalnie, 
z konta użytkownika...
hmmm, a w dokumentacji byli pisali, że co prawda można, ale że 
update-menus wywołane z konta użytkownika wywala błąd, czy jakoś tak. 
Kurcze, nie mam pod ręką, więc nie zacytuję, ale coś takiego czytałem. 
Inna sprawa, że nie sprawdzałem, bo to ma być nie na moim komputerze, i 
tam lepiej, żeby jak najwięcej było po polsku.




Jakoś trudno mi się przestawić na polskie menu :/


ba, ja też wolę w oryginale (BTW, windows 2000 też mam w wersji ang.), ale 
to nie dla mnie. No, ale zaczyna być offtopicznie :)


--
pozdrawiam,
misiek
Michał R. Hoffmann