MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 5 as of 2016-09-01 21:43:21
  • Slackware
  • Slackware64
  • ToshibaC850D

Toshiba C850D

X11

On BIOS the touchpad is defined as internal mouse (PS/2) /etc/X11/xorg.conf

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
EndSection

Section "ServerFlags"
    Option     "DontZap"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device" "/dev/mouse"  
    Option "Protocol"    "PS/2"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

/etc/kde/kdm/Xsetup

# Xsetup - run as root before the login dialog appears
setxkbmap pt

ntpd

  • ntpdate pool.ntp.org
  • chmod 755 /etc/rc.d/rc.ntpd
  • /etc/rc.d/rc.ntpd start
  • /etc/rc.d/rc.ntpd status
  • ntpdate -q pt.pool.ntp.org

lilo.conf

append=" vt.default_utf8=1"
boot = /dev/sda

  bitmap = /boot/slack.bmp
  bmp-colors = 255,0,255,0,255,0
  bmp-table = 60,6,1,16
  bmp-timer = 65,27,0,255

prompt
timeout = 1200
change-rules
  reset
vga = 790
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda4
  label = Linux
  read-only
# Linux bootable partition config ends

image = /boot/vmlinuz-generic-3.2.29
  initrd = /boot/initrd.gz
  root = /dev/sda4
  label = SlackGen
  read-only

Sound

  • aplay -l # card 1: Generic_1 [HD-Audio Generic], device 0: ALC269VC Analog [ALC269VC Analog]
  • cd /usr/share/sounds
  • aplay -D plughw:1,0 pop.wav # made sound , card 1 device 0

/etc/asound.conf

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1
  • aplay pop.wav
  • usermod -G audio,users vitor # access user vitor to audio devices ...

Install VirtualBox on Slackware64 14

For 4.3.26 http://download.virtualbox.org/virtualbox/4.3.26/VirtualBox-4.3.26-98988-Linux_amd64.run

As root run the following commands:

  • cd <place where the downloaded virtualbox installer is>

  • chmod 755 VirtualBox-4.3.26-98988-Linux_amd64.run

  • ./VirtualBox-4.3.26-98988-Linux_amd64.run

  • usermod -a -G vboxusers,users,audio <username>

  • id <username> #check user groups As a normal user run the following:

  • virtualbox --help # check the version and parameters
  • virtualbox #start virtualbox

Install Vagrant from source

Based on https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-source

As root run the following:

  • cd /tmp
  • mkdir gitVagrant
  • cd gitVagrant
  • git clone https://github.com/mitchellh/vagrant.git

  • cd vagrant
  • git pull origin master #get latest version
  • git reset a40522f5fabccb9ddabad03d836e120ff5d14093 --hard # reset to v1.3.5
  • gem install bundle #it may not be installed
  • bundle install
  • rake install
  • gem list
  • vagrant -v #check vagrant version

Install libdvdcss

  • cd /tmp
  • wget http://slackbuilds.org/slackbuilds/14.1/libraries/libdvdcss.tar.gz

  • wget http://download.videolan.org/pub/libdvdcss/1.2.13/libdvdcss-1.2.13.tar.bz2

  • tar xvzf libdvdcss.tar.gz
  • mv libdvdcss-1.2.13.tar.bz2 libdvdcss/
  • cd libdvdcss/
  • ./libdvdcss.SlackBuild

  • installpkg xyz.SBo.tgz
  • ln -s /dev/sr0 /dev/dvd
  • chmod 664 /dev/sr0
  • mplayer -ao alsa -dvd://

Upgrade from Slack64 14.0 to 14.1

  • ctrl+alt+f1
  • mount /dev/cdrom /mnt/cdrom
  • cd /mnt/cdrom
  • cp slackware64 /root/ -r
  • cd /root
  • mv slackware64 slackware
  • telninit 1
  • login as root
  • cd /root/slackware
  • upgradepkg a/glibc-solibs-*.t?z
  • upgradepkg a/pkgtools-*.tgz
  • upgradepkg a/tar-*.tgz
  • upgradepkg a/xz-*.tgz
  • upgradepkg a/findutils-*.txz
  • upgradepkg --install-new /root/slackware/*/*.t?z
  • removepkg Terminal aumix kdegames kdemultimedia ksecrets mysql printer-applet quanta rexima scim-bridge xxgdb
  • Check file /etc/lilo.conf to see which old kernel is used #/boot/vmlinuz-generic-3.2.29
  • /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 3.10.17 | bash
  • In /etc/lilo.conf use image=/boot/vmlinuz-generic-3.10.17
  • lilo -v
  • telinit 3
  • reboot
  • After the reboot shows the kernel version 3.10.17
  • On file /etc/kde/kdm/Xsetup add setxkbmap pt

  • In /etc/rc.d/rc.local add modprobe snd_mixer_oss

  • hwclock --set --date="2016-03-20 19:08:00"
  • hwclock -s

Upgrade from 14.1 to 14.2

Get and burn ISO

  • wget http://ftp.slackware.com/pub/slackware-iso/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso

  • modprobe sg # fpr cdrecord
  • cdrecord -scanbus #identify the device DVDRAM LG GP08NU6B
  • cdrecord -dev=6,0,0 -pad -data slackware64-14.2-install-dvd.iso
  • # eject the DVD after burning
  • cd /
  • mount /dev/sr0 /mnt/cdrom #check DVD
  • cd /mnt/cdrom
  • ls
  • cd /
  • umount /mnt/cdrom
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01