====== Změna rychlosti CD/DVD mechaniky ====== Pokud chceme snížit hlučnost mechaniky, nebo spotřebu u notebooku, lze snížit maximální rychlost. (např. při přehrávání filmů, mp3 atp.) **A)** V [[Terminál|Terminálu]] lze hodnotu nastavit příkazem //hdparm// (zde pro rychlost čtení 20 x): jablko@ubuntu:~$ hdparm -E 20 /dev/cdrom /dev/cdrom: setting cdrom speed to 20 nebo lze využívat nástroj **setcd**, který má více možností (nutno nainstalovat). Viz //man setcd// Např.: jablko@ubuntu:~$ setcd -x 2 /dev/cdrom: Speed set at 300 KB/s (2x) **B)** Lze použít příkaz ''eject'' (pro vysunování a zasunování mechaniky). Pomocí parametru ''-x <číslo>'' lze zadat preferovanou rychlost. Tedy například: eject -x 16 Ne všechny mechaniky tento příkaz podporují. **C)** Můžete také využívat grafický nástroj [[http://www.linuxsoft.cz/sw_detail.php?id_item=9721]] **set-cd-rom-speed** **Set-cd-rom-speed** je aplikace na nastavení rychlosti CD-ROM a DVD-ROM v Linuxu graficky. Stáhneme a rozbalíme program na [[http://kde-apps.org/content/show.php?content=18057]] a vstoupíme do nového adresáře. Buď zadáme přímo instalační příkaz: //./install.sh//, nebo si vytvoříme raději **.deb** balík pomocí utility **checkinstall**, která balík vytvoří v adresáři programu a hned se program nainstaluje. Viz níže. Installing with "./install.sh"... ========================= Installation results =========================== Started installation on So bře 25 10:56:55 CET 2006 Installation transcript will be written to install.log Compiling translations... Language: de Language: es Language: fr Language: hu Language: it Language: pl Language: ru Installing program and translations... mkdir: adresář `/usr/share/apps/set-cd-rom-speed' nelze vytvořit: Soubor již existuje Installing Kommander file to /usr/share/apps/set-cd-rom-speed/set-cd-rom-speed.kmdr Installing .desktop file to /usr/share/applnk/Utilities/set-cd-rom-speed.desktop Installing context menu .desktop file to /usr/share/apps/konqueror/servicemenus/set-cd-rom-speed.desktop Installing translation to /usr/share/locale/de/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/es/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/fr/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/hu/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/it/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/pl/LC_MESSAGES/set-cd-rom-speed.mo Installing translation to /usr/share/locale/ru/LC_MESSAGES/set-cd-rom-speed.mo Installing startup script to /usr/bin/set-cd-rom-speed Done. Detected Kommander version (at least 1.1development1 (1.1beta1) required): Kommander Executor: 1.2 ======================== Installation succesful ========================== Some of the files created by the installation are inside the build directory: /home/jablko/programy/set-cd-rom-speed-1.1.4 You probably don't want them to be included in the package, especially if they are inside your home directory. Do you want me to list them? [n]: n Should I exclude them from the package? (Saying yes is a good idea) [y]: y Copying files to the temporary directory...OK Striping ELF binaries and libraries...OK Compressing man pages...OK Building file list...OK *** Warning: The package name "set-cd-rom-speed-1.1.4" contains upper case *** Warning: letters. dpkg might not like that so I changed *** Warning: them to lower case. This package will be built according to these values: 0 - Maintainer: [ root@localhost.localdomain ] 1 - Summary: [ Package created with checkinstall 1.5.3 ] 2 - Name: [ set-cd-rom-speed-1.1.4 ] 3 - Version: [ 1.1.4 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ set-cd-rom-speed-1.1.4 ] 9 - Alternate source location: [ ] Enter a number to change any of them or press ENTER to continue: ***************************************** **** Debian package creation selected *** ***************************************** Building Debian package...OK Installing Debian package...OK Erasing temporary files...OK Writing backup package...OK Deleting temp dir...OK ********************************************************************** Done. The new package has been installed and saved to /home/jablko/programy/set-cd-rom-speed-1.1.4/set-cd-rom-speed-1.1.4_1.1.4-1_i386.deb You can remove it from your system anytime using: dpkg -r set-cd-rom-speed-1.1.4 ********************************************************************** Spouští se příkazem: //set-cd-rom-speed// Alt + F2 > zadat příkaz nebo si program přidáme do nabídky Aplikace (pravé myšítko na Aplikace → Upravit nabídky) {{page>úpravy/konvence}} {{page>úpravy/grafika}}