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

Přihlašte se svým uživatelským jménem a heslem.
World of Warcraft

Novinky: Školení nejen k OS Ubuntu pro širokou veřejnost, více informací zde.

Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Příspěvky - petrakis

Stran: [1] 2 3 ... 21
1
jj projdu. Btw kdyz uz tak hezky pomahas  ;) potreboval bych pomoct, jak detekovat u webkitu content-disposition:attachment, pres network-requested to nejede a jiz sem zkousel vsechno

2
ten upload by mohl byt treba takhle

Kód: [Vybrat]
import urllib2_file
import urllib2

data = {'name': 'value',
        'file':  open('/tmp/RESULTS.txt')
       }
urllib2.urlopen('http://linuxovyserver.cz/script_upload.php', data)

3
mame te radi, to ftp jsem od zacatku povazoval za spatne reseni. Muzu to ftp schovat treba do couchDb, ale kdo chce si ho stejne najde. Ohledne propojeni , to se uz resilo, pry to nepujde. Prave ten HTTP POST jsem osobne mel na mysli. Btw. kod je jiz prepsanej, snad to jiz je v tve stupnici lepsi  ;D
Kód: [Vybrat]
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os

import pygtk
pygtk.require('2.0')
import gtk
import subprocess
import threading
import webbrowser
import sys
import ftplib
import traceback
import gobject
import time
import random



APP_DIR = "/usr/share/uczdebug/"
ve = "1.0.1"
TMP_DIR = "/tmp/"




try:
    import psyco
    psyco.full()
except:
    pass


def get_random_word(wordLen):
    word = ''
    for i in range(wordLen):
        word += random.choice('abcdefghijklmnopqrstuvwxyz')
    return word



class UbuntuCZDebug:

    def on_message(self, widget,link):
        md = gtk.MessageDialog(self.window,
            gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_INFO,
            gtk.BUTTONS_CLOSE)
        lk = link.replace(".txt","")
        md.set_markup("<span font_weight='bold' color='#000000'>Váš problém byl nahlášen</span>\n\n"
                                               "ID problému je: \n"
                                               "http://www.linuxovyserver.cz/"+lk+"\n\n"
                                               "Nyní můžete položit dotaz do fóra a připojte tohle ID \n\n")
        md.run()
        md.destroy()

    def on_message2(self, widget):
        md = gtk.MessageDialog(self.window,
            gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_WARNING,
            gtk.BUTTONS_CLOSE)
        md.set_markup("<span font_weight='bold' color='#000000'>Chyba !</span>\n\n"
                                               "Nenachazim vysledek, spustte nejdrive skript\n\n")
        md.run()
        md.destroy()

    def on_message3(self, widget):
        md = gtk.MessageDialog(self.window,
            gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR,
            gtk.BUTTONS_CLOSE)
        md.set_markup("<span font_weight='bold' color='#000000'>Chyba !</span>\n\n"
                                               "Upload se nepovedl. Zkuste znova.\n\n")
        md.run()
        md.destroy()

    def delete(self, widget, event=None):
        gtk.main_quit()
        return False

    def toggle_hide(self, widget=None, event=None):
        if self.hide_me:
            self.hide_me = False
            self.window.show_all()
        else:
            self.hide_me = True
            self.window.hide()

    def quit(self):
        gtk.main_quit()


    def on_popup_menu(self, widget, button, active_time):

        self.popupMenu = gtk.Menu()
        menuPopup = gtk.ImageMenuItem (gtk.STOCK_QUIT)
        menuPopup.connect("activate", self.on_close_clicked)

        self.popupMenu.add(menuPopup)
        self.popupMenu.show_all()
        self.popupMenu.popup(None, None, None, 1, 0)

    def on_close_clicked(self, widget):
        self.quit()

     

    def gbutton_callback(self, widget, data):

if data == "disk1":
             subprocess.Popen("gksudo "+APP_DIR+"scripts/diskdebug.sh", shell=True)

elif data == "zvuk1":
             subprocess.Popen(APP_DIR+"scripts/sound.sh", shell=True)

elif data == "flash1":
             subprocess.Popen(APP_DIR+"scripts/flash.sh", shell=True)

elif data == "install1":
             subprocess.Popen("gksudo "+APP_DIR+"scripts/inst.sh", shell=True)

elif data == "boot1":
             subprocess.Popen("gksudo "+APP_DIR+"scripts/boot_info_script055.sh", shell=True)

elif data == "network1":
             subprocess.Popen("gksudo "+APP_DIR+"scripts/network.sh", shell=True)

elif data == "monitor1":
             subprocess.Popen(APP_DIR+"scripts/monitor.sh", shell=True)

        else:
             self.upload(widget, data)

    def upload(self, widget, data):
             if data == "install":
                 filex = os.path.join(TMP_DIR+"výsledky_install.txt")
             elif data == "flash":
                 filex = os.path.join(TMP_DIR+"výsledky_flash.txt")
             elif data == "zvuk":
                 filex = os.path.join(TMP_DIR+"výsledky_zvuk.txt")
             elif data == "network":
                 filex = os.path.join(TMP_DIR+"NetDebug.txt")
             elif data == "boot":
                 filex = os.path.join(TMP_DIR+"RESULTS.txt")
             elif data == "monitor":
                 filex = os.path.join(TMP_DIR+"výsledky_monitor.txt")

     if(not os.path.exists(filex)):
                     self.on_message2(widget)
     else:
         filename = filex
      try:
      try:
                        date2 = time.time()
                        date = str(date2).replace('.','')
                                w = get_random_word(8)
                        tmpf  = "%s%s.txt" % (date, w)
      s = ftplib.FTP('linuxovyserver.cz','username','password')
      f = open(filename)
      s.storlines('STOR '+tmpf, f)
      f.close()   
                       
      finally:
      s.quit()
                                self.on_message(widget,tmpf)
      except:
                                self.on_message3(widget)



    def new_button(self, icon, label, callbackstr):
btn = gtk.Button(label=None)
hbox = gtk.HBox(False, 0)
btn.add(hbox)
        img = gtk.Image()
        icon_path = os.path.join(self.iconpath, icon)
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        img.set_from_pixbuf(pixbuf)
hbox.add(img)
label = gtk.Label(label)
hbox.add(label)
btn.connect("clicked", self.gbutton_callback, callbackstr)
return btn
           

    def Disk(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Disk Debug</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech\n"
                                             "s disky - interními, externími, flash paměti, mp3 přehrávače apod.\n\n"
                                              "Více Info: <a href='http://wiki.ubuntu.cz/DiskDebug'>http://wiki.ubuntu.cz/DiskDebug</a>\n")
        label.set_alignment(0,0)


        button = self.new_button("optimizer.png", "Spustit", "disk1")
        button2 = self.new_button("upload.png", "Odeslat", "disk")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Boot(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Boot Info</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech\n"
                                             "s bootováním (zaváděním) operačních systémů a Grubem.\n\n"
                                              "Více Info: <a href='http://sourceforge.net/projects/bootinfoscript/'>http://sourceforge.net/projects/bootinfoscript/</a>\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "boot1")
        button2 = self.new_button("upload.png", "Odeslat", "boot")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Sound(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Zvuk Info</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech se zvukem\n\n"
                                              "Více Info: <a href='http://wiki.ubuntu.cz/gDebug'>http://wiki.ubuntu.cz/gDebug</a>\n\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "zvuk1")
        button2 = self.new_button("upload.png", "Odeslat", "zvuk")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Flash(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Flash Info</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech s flashem\n\n"
                                              "Více Info: <a href='http://wiki.ubuntu.cz/gDebug'>http://wiki.ubuntu.cz/gDebug</a>\n\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "flash1")
        button2 = self.new_button("upload.png", "Odeslat", "flash")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Upd2(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Install Info</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech s instalačními\n"
                                             "programy - Synaptic, Centrum softwaru pro Ubuntu, Automatická aktualizace apod.\n\n"
                                              "Více Info: <a href='http://wiki.ubuntu.cz/gDebug'>http://wiki.ubuntu.cz/gDebug</a>\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "install1")
        button2 = self.new_button("upload.png", "Odeslat", "install")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Net(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Síťové nastavení</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech se síťí\n\n"
                                              "Více Info: <a href='http://forum.ubuntu.cz/index.php/topic,43642.msg319866.html#msg319866'>Síťové nastavení</a>\n\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "network1")
        button2 = self.new_button("upload.png", "Odeslat", "network")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def Monitor(self,horizontal, spacing):


        bbox = gtk.HBox()
        bbox.set_border_width(10)
        bbox.set_spacing(spacing)

        label = gtk.Label()
        label.set_markup("<span font_weight='bold' color='#000000'>Monitor a Xorg Info</span>\n\n"
                                             "Skript, který za vás vyhledá informace při problémech s monitorem\n\n\n\n")
        label.set_alignment(0,0)

        button = self.new_button("optimizer.png", "Spustit", "monitor1")
        button2 = self.new_button("upload.png", "Odeslat", "monitor")
        tool = gtk.Toolbar()
        tool.add(button)
        tool.add(button2)

        vbox = gtk.VBox(False, 5)
        vbox.pack_start(label, False, False, 10)
        vbox.pack_end(tool, False, False,10)
        bbox.add(vbox)
        return bbox

    def AllButtons(self,horizontal, spacing):

        frame = gtk.Frame()
        bbox = gtk.HBox()
        bbox.set_border_width(3)
        bbox.set_spacing(spacing)
        frame.add(bbox)



setdonate_eventBox = gtk.Button("Pomoc")
setdonate_eventBox.connect("clicked", self.on_help_clicked)
        bbox.add(setdonate_eventBox)

setdonate_eventBox = gtk.Button("O Aplikaci")
setdonate_eventBox.connect("clicked", self.on_about_clicked)
        bbox.add(setdonate_eventBox)

setquit_eventBox = gtk.Button("Ukončit")
setquit_eventBox.connect("clicked", self.on_close_clicked)
        bbox.add(setquit_eventBox)

        return frame


    def on_help_clicked(self, widget):
        md = gtk.MessageDialog(self.window,
            gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_INFO,
            gtk.BUTTONS_CLOSE)
        md.set_markup("<span font_weight='bold' color='#000000'>Pomoc</span>\n\n"
                                               "Vyberte si oblast kterou potřebujete debugovat\n"
                                               "Debugovani spustíte stisknutím tlačítka <span font_weight='bold' color='#000000'>Spustit</span>\n"
                                               "Čekejte do konce provedeni skriptu a následne klikněte na tlačítko <span font_weight='bold' color='#000000'>Odeslat</span>\n"
                                               "Po uspěsnem provedení obdržíte ID které zkopírujte do fóra s vaším dotazem.\n")
        md.run()
        md.destroy()


    def on_about_clicked(self, widget):
        about = gtk.AboutDialog()
        about.set_program_name("Ubuntu CZ Debug Info")
        about.set_version(ve)
        about.set_copyright("(c) 2010 Peter  Kmet & Ubuntu CZ community")
        about.set_comments("Ubuntu CZ Debug Info - debugovaci nástroj k pomoci řešení problému")
        about.set_website("https://launchpad.net/~petrakis/+archive/wdt-main")
        about.set_logo(gtk.gdk.pixbuf_new_from_file("/usr/share/wdt/icons/optimizer.png"))
        about.run()
        about.destroy()

    def __init__(self):
        self.iconpath = APP_DIR+"icons/"
        self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
        self.window.set_position(gtk.WIN_POS_CENTER)
self.widthx =750
self.heightx = 450
        self.window.set_size_request(self.widthx,self.heightx)
        self.window.set_title("Ubuntu CZ Debug Info")
        self.window.set_icon_from_file(os.path.join(self.iconpath, "optimizer.png"))
        self.window.connect("delete-event", self.delete)
        self.window.set_border_width(5)
        self.hide_me = True
        self.statusicon = gtk.status_icon_new_from_file(os.path.join(self.iconpath, "optimizer.png"))
        self.statusicon.connect('activate', self.toggle_hide)
        self.statusicon.connect('popup-menu', self.on_popup_menu)

        hv_width = self.widthx -60
        hv_height = self.heightx -160

        table = gtk.Table(2,1,False)
        self.window.add(table)
        notebook = gtk.Notebook()
        notebook.set_tab_pos(gtk.POS_TOP)
        notebook.set_scrollable(50)
        table.attach(notebook, 0,1,0,1)
        notebook.show()

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Disk(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Disk Debug")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "drive.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Boot(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Boot Info")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "restart.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Net(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Síť Info")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "network.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Sound(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Zvuk Info")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "sound.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Flash(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Flash Info")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "flash.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Upd2(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Instalace")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "update.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        frame = gtk.Frame()
        frame.set_border_width(10)
        vbox = gtk.VBox(False, 0)
        vbox.set_border_width(10)
        vbox.set_size_request(hv_width, hv_height)
        frame.add(vbox)
        vbox.pack_start(self.Monitor(True, 0),True, True, 10)
        tab_box = gtk.HBox(False, 5)
        tab_label = gtk.Label("Monitor")
        tab_label.set_padding(2, 0)
        tab_icon = gtk.Image()
        icon_path = os.path.join(self.iconpath, "monitor.png")
        pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 20, 20)
        tab_icon.set_from_pixbuf(pixbuf)
        tab_box.pack_start(tab_icon, False)
        tab_box.pack_start(tab_label, False)
        tab_box.show_all()
        notebook.append_page(frame, tab_box)

        vbox = gtk.VBox(False, 0)
        vbox.set_size_request(self.widthx -10, 50)
        vbox.pack_start(self.AllButtons(True, 5),True, True, 10)
        table.attach(vbox, 0,1,1,2)

        table.show_all()
        self.window.show_all()


def setProcessName(processName):
if sys.platform == 'linux2':
    try:
import ctypes
libc = ctypes.CDLL('libc.so.6')
libc.prctl(15, processName, 0, 0, 0)
    except:
try:
     import dl
     libc = dl.open('/lib/libc.so.6')
     libc.call('prctl', 15, (processName+'\0'), 0, 0, 0)
except:
    pass

setProcessName('ubuntu-cz-debugger')

if __name__ == "__main__":
    gtk.gdk.threads_init()
    UbuntuCZDebug()
    gtk.main()

4
Ad Tomas:

Ukazka vypisu pro Monitor - Xorg dump

Kód: [Vybrat]
<prikaz>cat /etc/X11/xorg.conf</prikaz>
<vypis>
#cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 260.19.21  (buildd@iridium)  Tue Nov 16 14:59:58 UTC 2010

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.04  (buildmeister@builder103.nvidia.com)  Thu Sep  2 19:16:01 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200 TurboCache(TM)"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1280+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

</vypis>
<prikaz>cat /var/log/Xorg.0.log</prikaz>
<vypis>
#cat /var/log/Xorg.0.log

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-25-server i686 Ubuntu
Current Operating System: Linux akarkor-desktop 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-27-generic root=UUID=cbe0dc22-3051-4e63-b79f-badd10a677ac ro quiet splash
Build Date: 10 December 2010  05:53:04PM
xorg-server 2:1.7.6-2ubuntu7.5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 13 14:02:50 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81f0e80
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0161:1043:81fe nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)] rev 161, Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xfa000000/16777216, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/extra-modules/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module  260.19.26  Sun Nov 28 22:55:54 PST 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/extra-modules/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  260.19.26  Sun Nov 28 22:39:42 PST 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "MetaModes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
(**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
(**) Dec 13 14:02:51 NVIDIA(0): Enabling RENDER acceleration
(II) Dec 13 14:02:51 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Dec 13 14:02:51 NVIDIA(0):     enabled.
(WW) Dec 13 14:02:52 NVIDIA(GPU-0): Unable to read EDID for display device CRT-0
(II) Dec 13 14:02:53 NVIDIA(0): NVIDIA GPU GeForce 6200 TurboCache(TM) (NV44) at PCI:1:0:0
(II) Dec 13 14:02:53 NVIDIA(0):     (GPU-0)
(--) Dec 13 14:02:53 NVIDIA(0): Memory: 524288 kBytes
(--) Dec 13 14:02:53 NVIDIA(0): VideoBIOS: 05.44.02.52.00
(II) Dec 13 14:02:53 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Dec 13 14:02:53 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Dec 13 14:02:53 NVIDIA(0): Connected display device(s) on GeForce 6200 TurboCache(TM) at
(--) Dec 13 14:02:53 NVIDIA(0):     PCI:1:0:0
(--) Dec 13 14:02:53 NVIDIA(0):     CRT-0
(--) Dec 13 14:02:53 NVIDIA(0):     LG Electronics L1734 (CRT-1)
(--) Dec 13 14:02:53 NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
(--) Dec 13 14:02:53 NVIDIA(0): LG Electronics L1734 (CRT-1): 400.0 MHz maximum pixel clock
(**) Dec 13 14:02:53 NVIDIA(0): TwinView enabled
(II) Dec 13 14:02:53 NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, CRT-1
(II) Dec 13 14:02:53 NVIDIA(0): Assigned Display Devices: CRT-0, CRT-1
(II) Dec 13 14:02:53 NVIDIA(0): Validated modes:
(II) Dec 13 14:02:53 NVIDIA(0):     "CRT-0:1280x1024+0+0,CRT-1:nvidia-auto-select+1280+0"
(II) Dec 13 14:02:53 NVIDIA(0): Virtual screen size determined to be 2560 x 1024
(WW) Dec 13 14:02:53 NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
(WW) Dec 13 14:02:53 NVIDIA(0):     from CRT-0's EDID.
(==) Dec 13 14:02:53 NVIDIA(0): DPI set to (75, 75); computed from built-in default
(==) Dec 13 14:02:53 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Dec 13 14:02:53 NVIDIA(0): Initialized GPU GART.
(II) Dec 13 14:02:53 NVIDIA(0): Setting mode
(II) Dec 13 14:02:53 NVIDIA(0):     "CRT-0:1280x1024+0+0,CRT-1:nvidia-auto-select+1280+0"
(II) Loading extension NV-GLX
(II) Dec 13 14:02:54 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Dec 13 14:02:55 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
(II) config/udev: Adding input device Power Button (/dev/input/event2)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.6, module version = 2.3.2
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event2"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device Power Button (/dev/input/event1)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device Sleep Button (/dev/input/event0)
(**) Sleep Button: Applying InputClass "evdev keyboard catchall"
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event0"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
(**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event5)
(**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
(**) ImPS/2 Generic Wheel Mouse: always reports core events
(**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event5"
(II) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
(II) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
(II) ImPS/2 Generic Wheel Mouse: Found relative axes
(II) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
(II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
(**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
(**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE)
(II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
(II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/event3)
(**) Macintosh mouse button emulation: Applying InputClass "evdev pointer catchall"
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event3"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/udev: Adding input device Macintosh mouse button emulation (/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) config/udev: Adding input device USB USB Keykoard (/dev/input/event7)
(**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
(**) USB USB Keykoard: always reports core events
(**) USB USB Keykoard: Device: "/dev/input/event7"
(II) USB USB Keykoard: Found keys
(II) USB USB Keykoard: Configuring as keyboard
(II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) config/udev: Adding input device USB USB Keykoard (/dev/input/event8)
(**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
(**) USB USB Keykoard: always reports core events
(**) USB USB Keykoard: Device: "/dev/input/event8"
(II) USB USB Keykoard: Found 1 mouse buttons
(II) USB USB Keykoard: Found scroll wheel(s)
(II) USB USB Keykoard: Found relative axes
(II) USB USB Keykoard: Found absolute axes
(II) USB USB Keykoard: Found keys
(II) USB USB Keykoard: Configuring as mouse
(II) USB USB Keykoard: Configuring as keyboard
(**) USB USB Keykoard: YAxisMapping: buttons 4 and 5
(**) USB USB Keykoard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us"
(EE) USB USB Keykoard: failed to initialize for relative axes.
(II) USB USB Keykoard: initialized for absolute axes.
(II) config/udev: removing device USB USB Keykoard
(II) USB USB Keykoard: Close
(II) UnloadModule: "evdev"
(II) config/udev: removing device USB USB Keykoard
(II) USB USB Keykoard: Close
(II) UnloadModule: "evdev"
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/server-F8D9B4EE1D9075AF4B1C23C75362EE93E14954A0.xkm
</vypis>

5
Obecná podpora / Re: gedit
« kdy: 14 Prosinec 2010, 23:26:39 »
myslim ze on ten editor potrebuje jenom aby videl (mohl cist) ty data

6
to bych spis pouzil --auto-close, preci jenom ma uzivatel moznost volby

7
Obecná podpora / Re: gedit
« kdy: 14 Prosinec 2010, 22:45:49 »
odpovedi na tvuj problem je udelat si uplne lightovej editor v pythonu + pygtk (gtk.TextView) a za pomoci knihovny glib budes moct reloadovat instanci v radku milisekund. Pokud nevis jak na to , pokusim se ti zitra-pozitri neco zbastlit.

Nesmis byt nastvanej, jsi to ty kdo silou moci chtel gedit

8
Ad: Tomas

na strane serveru bude treba prichystat dva tagy:

xorg.conf
xorg.log
 ;)

9
K+  ;)

10
ano

11
Co myslite ze bude jeste treba pro reseni problemu s tiskarnou krome vypisu z /var/log/lpr.log ?

Sup sem s napadama ....

Tisk a Monitor nam tam chybi ....

12
tak co nikdo se nenajde kdo by to spravil ?  ;D

13
Internet a sítě / Re: Prechod z USA do CR problem s internetem
« kdy: 14 Prosinec 2010, 21:18:37 »
nejdrive zkus test na ten google-analytics, zde je plugin od googlu kterym muzes vypnout google-analytics na jakekoliv strance. Udelej to a rekni jestli nastala zmena

http://tools.google.com/dlpage/gaoptout

15
kdyz prikaz das 2x tak to jde ale je to 2x doba

Kód: [Vybrat]
       $prikaz | zenity --progress --title="gDebug" --text="$prikaz" --pulsate --auto-close
        $prikaz

kdyz udelas jenom :

Kód: [Vybrat]
       $prikaz | zenity --progress --title="gDebug" --text="$prikaz" --pulsate --auto-close
tak log zustava prazdny

16
nevim jak u tebe ale mne to takhle nevypise log, log je uplne prazdnej

17
jj uz to delam

18
postni to zde a ja to odzkousim a updatnu  ;)

ok jiz to testuji, s tim pulsate to je fajn, takze budu updatovat

19
Koukam ze uz jsem staly clen  ;D  ::)

20
malej request pro bashisty (zenitaky)  ;D , prikladam aktualni skript pro sitove zarizeni. Pri traceroute to pomerne dlouho trva a uzivatel si muze myslet ze mu to nepracuje, takze by bylo dobry to toho zakomponovat zenity progress (muze byt percentage ale take pulsate).
...

Viděl bych to takto:
Kód: [Vybrat]
...
        $prikaz | zenity --progress --title="gDebug" --text="$prikaz" --pulsate --auto-close
...

udelej implementaci a vyzkousej, jestli to bude ok, pujde to do nove verze

21
Ja nerikam ze jsem pro, jenom popisuji jako by se dany dotaz dal resit. Btw. poslal jsem ti mail. Btw.Btw uprav ty bashisto ten skript pro sitovej debug  ;D

22
Jeste ne , ale budu to hlasit, mam uz par bugu poznamenanejch. Pravda je ze jsem byl akorat rozzlobenej, ale problem jsem vedel jak resit, i kdyz ted kdyz na to koukam zpetne, tak to je fakt kritickej bug  :o

23
To nám budou závidět všechna zahraniční ubuntu fóra :D hezká práce, víc už to snad ani zautomatizovat nejde, leda že by se přímo z toho programu založilo nové vlákno na forum.ubuntu.cz s textem "Pomozte prosím, nejde mi to, zde je log!Spěchá."  ;D

Tak se vracim k tomuhle dotazu.

Modelova situace:

predpokladejme ze to bude bezet nekde na debugtool.ubuntu.cz, co by bylo vyhodny a vyhli by jsme se cross-site scriptingu. Proc to rikam, pokud by na tehle sub-domene byl treba soubor postnilog.php tak nasledne v aplikaci by byl vytvoren formular kde by uzivatel zadal login (co ma na foru), nazev problemu, popis a ID logu. Na uvedenou adresu by klasickym POST-em byli tyhle udaje odeslany.

Ze strany severu by se udelala kontrola jestli danej uzivatel opravdu existuje a v pripade ze ano, tak by vytvorila nove vlakno na foru se vsim vsudy a vratila by odkaz "vas problem byl publikovan", pokud by uzivatel neexistoval, vratila by "zamitaci" stranku.

Jelikoz , by to bezelo pod tim samym servrem , stacilo by k tomu jenom propojeni s smf databazi co jede na foru, bez pouziti cross-site scriptingu, ktery by byl potrebnej kdyby to bezelo mimo.

kazdopadne tohle je uplne mimo mne, ale technicky to mozne je a pomerne velice jednoduse za pomoci jednoho php souboru.

24
Od manzelky jsem dostal povoleni  ;D , takze 99% prijdu take

25
Pred par dny se mi stala nevidana vec. Za behu, pocas prace mi zblbnul system tak ze zmenil prava uzivatele na pulse audio (ano dobre ctete)  ;D . Dusledkem bylo ze v domovskem adresari mohl mazat, vytvaret a pracovat s dokumenty jenom root a pulse  ;D . Pro prolezeni syslogu, jsem to videl a zacal manualne nastavovat group a prava. Tak kdyz sem skoncil, pracoval jsem dal. Asi 2 hodiny pote po updatu systemu jsem byl nucen restartovat a zjistil jsem ze mi uzivatele vyhodilo z admin group-u. No proste k zlosti. Vysledkem bylo Live-CD a manualni uprava souboru /etc/group. Nez jsem se vsak pres LIVE-CD dostal do systemu, nez jsem to vsechno ponastavoval tak jsem stravil dost casu.

Moje pouceni je ze ted na USB-ku jiz mam par souboru zkopirovanych ktere muzu rychle pouzit , kdyz muj system ma sve dny  ;D ;D

Dotaz: ktere soubory podle vas je dobre mit v supliku ?

Stran: [1] 2 3 ... 21