Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Linux - spuštění Live  (Přečteno 4423 krát)

Astarnim

  • Návštěvník
  • Příspěvků: 46
    • ČS Fórum
Re:Linux - spuštění Live
« Odpověď #25 kdy: 20 Března 2013, 14:45:01 »
Tak se podařilo. Nyní už to jede. Jediné co nefunguje jsou klávesové zkratky pro zeslabení a zesílení jasu, ale bez toho se obejdu. :) Akorát při vykonávání příkazů to vyhodilo několik chyb. Tak je pro jistotu přikládám:
Kód: [Vybrat]
astarnim@Astarnim-PC:~$ gksudo gedit /etc/rc.local

(gksudo:2925): Gtk-WARNING **: Nelze nalézt systém motivů v module_path: "pixmap",

(gksudo:2925): Gtk-WARNING **: Nelze nalézt systém motivů v module_path: "pixmap",

(gksudo:2925): Gtk-WARNING **: Nelze nalézt systém motivů v module_path: "pixmap",

(gksudo:2925): Gtk-WARNING **: Nelze nalézt systém motivů v module_path: "pixmap",


(gedit:2927): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje

(gedit:2927): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Nelze vytvořit soubor „/root/.local/share/recently-used.xbel.M4SBUW“: Adresář nebo soubor neexistuje

(gedit:2927): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje

(gedit:2927): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Nelze vytvořit soubor „/root/.local/share/recently-used.xbel.2GFCUW“: Adresář nebo soubor neexistuje

(gedit:2927): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje
astarnim@Astarnim-PC:~$
astarnim@Astarnim-PC:~$ sudo chmod +x /etc/rc.local
astarnim@Astarnim-PC:~$ sudo gedit /etc/default/grub

(gedit:2950): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Nelze vytvořit soubor „/root/.local/share/recently-used.xbel.9C16TW“: Adresář nebo soubor neexistuje

(gedit:2950): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje

(gedit:2950): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Nelze vytvořit soubor „/root/.local/share/recently-used.xbel.0OECUW“: Adresář nebo soubor neexistuje

(gedit:2950): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje

(gedit:2950): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Nelze vytvořit soubor „/root/.local/share/recently-used.xbel.DMYVTW“: Adresář nebo soubor neexistuje

(gedit:2950): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: Adresář nebo soubor neexistuje
astarnim@Astarnim-PC:~$ sudo update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
done
astarnim@Astarnim-PC:~$

Roman Vacho

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 6332
Re:Linux - spuštění Live
« Odpověď #26 kdy: 20 Března 2013, 16:40:56 »
Toho si nevšímej. S tím jasem na FN klávesy to tam někde v těch odkazech taky řešili.
Vyřešená vlákna je vhodné uzavřít "Topic Solved" dole pod vláknem.

Prosím označit text kódu v editoru # pro lepší formátování textu případného výpisu. Děkuji.

Astarnim

  • Návštěvník
  • Příspěvků: 46
    • ČS Fórum
Re:Linux - spuštění Live
« Odpověď #27 kdy: 20 Března 2013, 18:20:40 »
Nejsem si úplně jist, jestli jsem našel to správné, tak se raději ještě optám. Jedná se o toto:
Citace
Hey. I had the same problem on my E525, but I solved it with a couple of acpi codes in grub. Here's the how-to:

(at least) If you have multiple OS's, there should be a point in the boot where you can choose what OS to run (grub). Place the marker over the Ubuntu-loader and press E. Now you are able to run this boot with custom programming. Where it says 'quiet splash', (instead of or after) enter 'acpi_backlight=vendor acpi_osi=Linux'. Then press F10. (the 'quiet splash' code tells the computer not to print the booting-procedure, witch is quite unnecessary to remove, but it will make you look more like a computer pro)

If the screen is still black, try Fn+←.

Now to make it last:

Open a terminal (default Ctrl+Alt+F2).
enter 'sudo nano /etc/default/grub' (your password will be required).
'GRUB_TIMEOUT=' changes how long it will take until grub chooses the marked OS for you. write seconds by numbers.
in 'GRUB_CMDLINE_LINUX_DEFAULT=' write 'acpi_backlight=vendor' (again, instead of or after 'quiet splash')
in 'GRUB_CMDLINE_LINUX=' write 'acpi_osi=Linux'

<!! Don't change anything else! You might be unable to boot if grub is messed up!>

exit (Ctrl+x), and save (y and then enter)

you are now back in terminal.
type 'sudo update-grub' (your password might be required)

Now Ubuntu will boot with backlight control. Still working on fixing absolute control (to set levels of brightness, and use commands of choice to set it)

Screen still black? Try Fn+←

 

Provoz zaštiťuje spolek OpenAlt.