On Wed, 2011-05-25 at 16:00 +0300, Janne Jokitalo wrote: > On Wed, May 25, 2011 at 02:34:20AM +0200, Ralf wrote: > > Hi :) > > Hello! > > > I installed Natty. The installer detected the correct keyboard layout, > > but set it to a wrong layout. I guess I can solve this myself ;) > > Right. I'm not sure how the detection routines are at the moment, but I've > also > learnt from the past the one layout I want to use, and then always select that > manually. Always works for me.
And where do you select it, assumed you're not using a DE, but e.g. Ion2? > > especially because X settings, as usual for Ubuntu installs, are > > ridiculous and I need to set up a xorg.conf. > > This is interesting; can you specify the nature of these problems, and maybe > give some hardware information? Yes, no display, but a CRT, that's enough to get grotesque settings, such as limitations for screen resolutions that can be chosen and nice stroboscope like frequencies only. And in addition, I wish to be able to select a graphics driver, regarding to the kernel I'll use. It's needed because I don't know how to add the proprietary graphics module to the kernel-rt and even if this should work, sometimes I don't wish to run real-time kernels with the proprietary driver, regarding to audio performance. But for some usage 3D is needed. I switch at startup, regarding to the booted kernel, between the nv and nvidia driver, I'm doing this by the attached Rc script. And as mentioned before, I also need to set up frequencies and resolution to chose for my monitor correctly. After setting up a classic xorg.conf, the mouse wheel doesn't work any more. I deleted the mouse and keyboard entries in xorg.conf and only kept graphic card and monitor settings, now the mouse wheel does work again. The main issue is to get the correct monitor settings for the first time. I'm using GNOME only at the moment, hence I don't know how settings for X, mouse and keyboard are currently handled by Ubuntu. I e.g. set the keyboard layout by GDM and usually it's not good to add "Virtual 3840 1200" to your xorg.conf, because this would become default for GDM then, the virtual screen issue isn't tested with Natty until now. If you use frame based environments, such as Ion, there are no DE apps to set screens and keyboards, this was done by xorg.conf and I had issues last time I tried to use several kind of UIs. > > The GRUB menu entries also, as usual, are a PITA. > > Again, quite intriguing. How are they a pain? # cd /boot/grub # cp -pr grub.cfg grub.cfg.natty # update-grub2 # cp -pr grub.cfg grub.cfg.bad # cp -pr grub.cfg.natty grub.cfg See attachments, "video", screen resolution, wanted entries differ between what I need (manually edited, grub.cfg) and what is auto-generated (grub.cfg.bad). This can be much more worse. I tided up my HDDs, before I did this, there were a billion distros listed, that were not installed anymore. Ralf
S69switch_xorg.conf
Description: application/shellscript
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env
recordfail; fi; fi
}
#function load_video {
# insmod vbe
# insmod vga
# insmod video_bochs
# insmod video_cirrus
#}
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 63e80d5e-c650-4a99-9b7a-c56c2a2d5404
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 63e80d5e-c650-4a99-9b7a-c56c2a2d5404
set locale_dir=($root)/boot/grub/locale
set lang=en_GB
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu Studio 11.04, Kernel 2.6.38-8-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux /boot/vmlinuz-2.6.38-8-generic
root=UUID=63e80d5e-c650-4a99-9b7a-c56c2a2d5404 ro
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu Studio 11.04, Kernel 2.6.38-8-generic (recovery mode)'
--class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic
root=UUID=63e80d5e-c650-4a99-9b7a-c56c2a2d5404 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Edubuntu 10.10, Kernel 2.6.33.9-rt31" --class gnu-linux --class
gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.9-rt31
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
initrd /boot/initrd.img-2.6.33.9-rt31
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.9-rt31 (recovery mode)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.9-rt31
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.33.9-rt31
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.7.2-rt30" --class gnu-linux
--class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.7.2-rt30
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
initrd /boot/initrd.img-2.6.33.7.2-rt30
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.7.2-rt30 (recovery mode)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.7.2-rt30
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.33.7.2-rt30
}
menuentry "Edubuntu 10.10, Kernel 2.6.35-28-generic" --class gnu-linux
--class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.35-28-generic
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
crashkernel=384M-2G:64M,2G-:128M
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry "Edubuntu 10.10, Kernel 2.6.35-28-generic (recovery mode)"
--class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.35-28-generic
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry "openSUSE 11.2, Kernel 2.6.31.6-rt19" {
insmod ext2
set root='(hd0,7)'
linux /boot/vmlinuz-2.6.31.6-rt19 root=/dev/sda7
initrd /boot/initrd-2.6.31.6-rt19
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env
recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 63e80d5e-c650-4a99-9b7a-c56c2a2d5404
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 63e80d5e-c650-4a99-9b7a-c56c2a2d5404
set locale_dir=($root)/boot/grub/locale
set lang=en_GB
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux /boot/vmlinuz-2.6.38-8-generic
root=UUID=63e80d5e-c650-4a99-9b7a-c56c2a2d5404 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu
--class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic
root=UUID=63e80d5e-c650-4a99-9b7a-c56c2a2d5404 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root
63e80d5e-c650-4a99-9b7a-c56c2a2d5404
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Rt -- openSUSE 11.2 - 2.6.31.6-rt19 (on /dev/sda7)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.31.6-rt19 root=/dev/sda7
initrd (hd1,6)/boot/initrd-2.6.31.6-rt19
}
menuentry "Rt -- openSUSE 11.2 - 2.6.31.6-rt19 (hd0,6) ohne IDE, statt (hd1,6)
mit IDE (on /dev/sda7)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.31.6-rt19 root=/dev/sda7
initrd /boot/initrd-2.6.31.6-rt19
}
menuentry "Rt -- openSUSE 11.2 - 2.6.33.5-rt23 (hd0,6) ohne IDE, statt (hd1,6)
(on /dev/sda7)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.33.5-rt23 root=/dev/sda7
initrd /boot/initrd-2.6.33.5-rt23
}
menuentry "Desktop -- openSUSE 11.2 RC 1 - 2.6.31.5-0.1 (on /dev/sda7)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/sda7
resume=/dev/disk/by-label/swap_sata nosplash quiet showopts vga=0x317
initrd (hd1,6)/boot/initrd-2.6.31.5-0.1-desktop
}
menuentry "Failsafe -- openSUSE 11.2 RC 1 (on /dev/sda7)" --class gnu-linux
--class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.31.5-0.1-desktop
root=/dev/disk/by-label/suse11.2 showopts apm=off noresume edd=off
powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd (hd1,6)/boot/initrd-2.6.31.5-0.1-desktop
}
menuentry "64 Studio, kernel 2.6.31.6-rt19 (on /dev/sda7)" --class gnu-linux
--class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root
e14edd28-428e-4413-a43d-9e6cb473d2da
linux /boot/vmlinuz-2.6.31.6-rt19
root=UUID=7517d4f5-be85-430c-a812-b0d98d24d0c7 ro quiet splash
initrd (hd0,5)/boot/initrd.img-2.6.31.6-rt19
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.9-rt31 (on /dev/sdb8)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.9-rt31
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
initrd /boot/initrd.img-2.6.33.9-rt31
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.9-rt31 (recovery mode) (on /dev/sdb8)"
--class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.9-rt31
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.33.9-rt31
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.7.2-rt30 (on /dev/sdb8)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.7.2-rt30
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
initrd /boot/initrd.img-2.6.33.7.2-rt30
}
menuentry "Edubuntu 10.10, Kernel 2.6.33.7.2-rt30 (recovery mode) (on
/dev/sdb8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.7.2-rt30
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.33.7.2-rt30
}
menuentry "Edubuntu 10.10, Kernel 2.6.35-28-generic (on /dev/sdb8)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.35-28-generic
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro
crashkernel=384M-2G:64M,2G-:128M
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry "Edubuntu 10.10, Kernel 2.6.35-28-generic (recovery mode) (on
/dev/sdb8)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.35-28-generic
root=UUID=ded93dfb-37ae-48cf-a3a3-b613aa5704fd ro single
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry "Ubuntu Studio 10.04, Kernel 2.6.33.7.2-rt30 (on /dev/sdb8)" --class
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos8)'
search --no-floppy --fs-uuid --set=root
ded93dfb-37ae-48cf-a3a3-b613aa5704fd
linux /boot/vmlinuz-2.6.33.7.2-rt30 root=/dev/sdb11 ro
initrd /boot/initrd.img-2.6.33.7.2-rt30
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
-- Ubuntu-Studio-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
