Kod:
#!/bin/bashsecret-tool lookup keepass sejf007 | keepassxc --pw-stdin /home/xxx/sejf007.kdbx
Kod:
secret-tool store --label="KeePass sejf007" keepass sejf007
Kod:
seahorse
Kod:
echo <hasło bazy keepassxc> | keepassxc --pw-stdin <ścieżka do bazy keepassxc>.kdbx
Statystyki: autor: kobrawerde — 29 cze 2023, 11:15
Kod:
sudo ./VentoyWeb.sh
Kod:
http://127.0.0.1:24680/
Statystyki: autor: fabians — 05 lis 2022, 21:47
Kod:
sudo sh VentoyVlnk.sh -c plik.iso
Statystyki: autor: kszyhus — 14 lut 2022, 11:32
Kod:
sudo apt-get install libnotify-bin wget xsel zenity xclip yad python3
Kod:
#!/usr/bin/env bashecho "$(xsel -o | trans -b -no-ansi -u firefox -t pl)" | yad --title="Google Translate" --width=500 --height=450 --center --text-info --wrap
Kod:
#!/usr/bin/env bashxsel -o | python3 -c "import sys,urllib.request,json; r = json.loads(urllib.request.urlopen(urllib.request.Request('http://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=pl&dt=t&q=' + urllib.parse.quote(sys.stdin.read().replace('\n',' ')), None, { 'User-Agent' : 'Mozilla/5.0' })).read().decode('utf-8')); [print(t[0], end='') for t in r[0]]; print('\n--==<<>>==--'); [print(t[1], end='') for t in r[0]];" | zenity --text-info --width=500 --height=500 --title="Tłumaczenie"
Kod:
sudo chmod +x /usr/local/bin/translatesudo chmod +x /usr/local/bin/translate1
Kod:
#!/usr/bin/env bashtext="$(xsel -o)"google-chrome "https://translate.google.com/#auto/pl/$text"
Statystyki: autor: kobrawerde — 28 lis 2020, 12:23
Program jest oparty na pythonie i jest to chyba duża zaleta ponieważ można go uruchomić prawie na każdej platformie, także ARM ( raspberry pi , orange pi , odroid itd. )Google Speech to proste, wieloplatformowe narzędzie wiersza poleceń do odczytywania tekstu za pomocą interfejsu API Google Translate TTS (Text To Speech).
Kod:
python --version
Kod:
sudo apt-get install python3 python3-pip
Kod:
sudo apt-get install sox libsox-fmt-mp3
Kod:
git clone https://github.com/desbma/GoogleSpeech
Kod:
cd GoogleSpeech
Kod:
python3 setup.py install
Kod:
google_speech -l pl "w Szczebrzeszynie chrząszcz brzmi w trzcinie"
Kod:
#!/bin/bashgoogle_speech -e vol 0.40 -l pl "Jest $(date +"%A %d %B") godzina $(date +%R)"
Statystyki: autor: kobrawerde — 20 paź 2020, 14:02
Kod:
sudo Vento2Disk.sh -i /dev/sdX
Statystyki: autor: kszyhus — 08 maja 2020, 15:34
Kod:
sudo apt-get install python3-pipsudo pip3 install py-winusb
Kod:
sudo pywinusb
Kod:
sudo woeusb --device /ścieżka_do_pliku/windows.iso /dev/sdb --tgt-fs NTFS --verbose
Statystyki: autor: kobrawerde — 03 maja 2019, 18:18
Kod:
fdisk -l
Kod:
Dysk /dev/sdb: 29,8 GiB, bajtów: 32010928128, sektorów: 62521344Jednostki: sektorów, czyli 1 * 512 = 512 bajtówRozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512Typ etykiety dysku: dosIdentyfikator dysku: 0x970f36a3Urządzenie Rozruch Początek Koniec Sektory Rozmiar Id Typ/dev/sdb1 2048 62521343 62519296 29,8G c W95 FAT32 (LBA)
Kod:
dd if=/dev/sdb of=/home/kris/Pulpit/odroid-HC1-ok.img status=progress
Kod:
sudo apt-get install gddrescue
Kod:
ddrescue /dev/sdb SD-card.img SD-card.log
Kod:
dd bs=4M if=/home/kris/Pulpit/odroid-HC1-ok.img of=/dev/sdb status=progress
Kod:
losetup /dev/loop0 /home/kris/Pulpit/odroid-HC1-ok.img
Kod:
partprobe /dev/loop0
Kod:
gparted /dev/loop0
Kod:
sudo fdisk -l /home/kris/Pulpit/odroid-HC1-ok.img
Kod:
Dysk /home/kris/Pulpit/odroid-HC1-ok.img: 29,8 GiB, bajtów: 32010928128, sektorów: 62521344Jednostki: sektorów, czyli 1 * 512 = 512 bajtówRozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512Typ etykiety dysku: dosIdentyfikator dysku: 0x8a28a329Urządzenie Rozruch Początek Koniec Sektory Rozmiar Id Typ/home/kris/Pulpit/odroid-HC1-ok.img1 8192 14888959 14880768 7,1G 83 Linux
Kod:
truncate --size=$[(14888959+1)*512] /home/kris/Pulpit/odroid-HC1-ok.img
Kod:
f3write /media/nazwa_użytkownika/5EBD-5C80/f3read /media/nazwa_użytkownika/5EBD-5C80/
Kod:
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.shchmod +x pishrink.shsudo mv pishrink.sh /usr/local/bin
Kod:
sudo pishrink.sh [-s] imagefile.img [newimagefile.img]
Kod:
sudo pishrink.sh -s odroid-HC1-ok.img pomniejszony-obraz.img
Kod:
should_skip_autoexpand=false
Kod:
sudo systemctl enable resize2fssudo update-rc.d resize2fs defaultssudo poweroffshutdown -h now
Kod:
/etc/init.d/resize2fs start
Statystyki: autor: kobrawerde — 13 kwie 2019, 11:32
Kod:
sudo nano /etc/grub.d/40_custom
Kod:
sudo update-grub
Kod:
sudo update-grub2
Kod:
i915.blacklist=yes asus_atk0110.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
Kod:
sudo nano /etc/grub.d/40_custom
Kod:
menuentry "Clonezilla (automatyczna kopia sda1)" {set isofile="/home/kris/clonezilla/clonezilla-live-2.6.0-37-amd64.iso"loopback loop (hd0,3)$isofileset bootoptions="findiso=$isofile gfxpayload=800x600x16,800x600 boot=live config locales=en_US.UTF-8 edd=on nomodeset components union=overlay username=user hostname=debian noswap keyboard-layouts=us ocs_live_extra_param=\"\" ocs_live_batch=\"no\" ocs_prerun=\"mount UUID=ab3ffb5c-8a87-41a7-9749-166ad4392bab /media\" ocs_live_run=\"sudo bash /media/clone.sh\" ip=frommedia toram=filesystem.squashfs"linux (loop)/live/vmlinuz $bootoptionsinitrd (loop)/live/initrd.img}
Kod:
blkid
Kod:
#!/bin/bashmount --bind /media /home/partimag/ocs-sr -q2 -j2 -z1p -i 4096 -senc -p poweroff saveparts Kopia-SDA1-img sda1
Kod:
sudo chmod +x /ścieżka do/clone.sh
Kod:
#!/bin/bashmount --bind /media /home/partimag/ocs-sr -q2 -j2 -z1p -i 4096 -senc -p poweroff saveparts "Kopia-SDA1_`date +%H%M%S_%d%m%Y`" "sda1"
Kod:
#!/bin/bashmount --bind /media /home/partimag/ocs-sr -nogui -q2 -j2 -z1p -i 4096 -sfsck -enc -pe "TU_WPISZ_TAJNE_HASŁO" -p poweroff saveparts "LINUX-Xubuntu-sda1_`date +%H%M%S_%d%m%Y`" "sda1"
Kod:
menuentry "Clonezilla (automatyczna kopia sda1)" {set isofile="/home/kris/clonezilla/clonezilla-live-2.6.1-11-amd64.iso"loopback loop (hd0,3)$isofileset bootoptions="boot=live config locales=en_US.UTF-8 edd=on nomodeset vga=791 union=overlay username=user hostname=debian noswap keyboard-layouts=us findiso=$isofile ocs_live_extra_param=\"\" ocs_live_batch=\"no\" ocs_prerun=\"mount UUID=ab3ffb5c-8a87-41a7-9749-166ad4392bab /media\" ocs_live_run=\"sudo bash /media/clone.sh\" ip=frommedia toram=filesystem.squashfs"linux (loop)/live/vmlinuz $bootoptionsinitrd (loop)/live/initrd.img}
Statystyki: autor: kobrawerde — 10 lut 2019, 12:34
Kod:
sudo photorec /dev/nvme0n1
Kod:
sudo blkid
Statystyki: autor: kszyhus — 19 lut 2018, 17:00
Kod:
sudo add-apt-repository ppa:nilarimogard/webupd8sudo apt updatesudo apt install woeusb
Statystyki: autor: fabians — 17 lut 2018, 19:06
Kod:
sudo apt-get install ntfs-3g
Mamy teraz przygotowany pendrive do wgrania instalatora systemu Windows 7, korzystając z obrazu ISO. Teraz najlepiej pobrać poniższą wersje Unetbootin.Statystyki: autor: fabians — 06 lis 2016, 00:10
Kod:
sudo aptitude
Kod:
sudo apt-get install pepperflashplugin-nonfree....sudo update-pepperflashplugin-nonfree --install....sudo apt-get update....
Kod:
sudo update-pepperflashplugin-nonfree --status
Kod:
sudo update-pepperflashplugin-nonfree --statusFlash Player version installed on this system : 23.0.0.162Flash Player version available on upstream site: 22.0.0.209
Kod:
sudo update-pepperflashplugin-nonfree --install
Kod:
mv: nie można wykonać stat na 'unpackchrome/opt/google/chrome/PepperFlash/libpepflashplayer.so': Nie ma takiego pliku ani katalogu
Kod:
libpepflashplayer.so , manifest.json
Kod:
/usr/lib/pepperflashplugin-nonfree
Statystyki: autor: darek334 — 28 cze 2016, 18:54
Kod:
sudo apt-get install logkeys
Kod:
<Esc>1 ! ¹2 @ ²3 # ³4 $ ¼5 % ½6 ^ ¾7 & {8 * [9 ( ]0 ) }- _ \= + ¸<BckSp><Tab>q Q @w W łe E ęr R ¶t T ŧy Y ←u U ↓i I →o O óp P þ[ { ¨] } ~<Enter><LCtrl>a A ąs S śd D ðf F đg G ŋh H ħj J jk K ĸl L ł; : ´' " ^` ~ ¬<LShft>\ | `z Z żx X źc C ćv V “b B ”n N ńm M µ, <. > ·/ ?<RShft><KP*><LAlt> <CpsLk><F1><F2><F3><F4><F5><F6><F7><F8><F9><F10><NumLk><ScrLk><KP7><KP8><KP9><KP-><KP4><KP5><KP6><KP+><KP1><KP2><KP3><KP0><KP.>Ą<F11><F12><KPEnt><RCtrl><KP/><PrtSc><AltGr><Break><Home><Up><PgUp><Left><Right><End><Down><PgDn><Ins><Del><Pause><LMeta><RMeta><Menu>
Kod:
sudo logkeys -s -o /home/nazwa_usera/.keylogger/log --keymap=/home/nazwa_usera/.keylogger/pl.map
Kod:
sudo logkeys -s -o /home/nazwa_usera/.keylogger/log --keymap=/home/nazwa_usera/.keylogger/pl.map --no-func-keys
Kod:
gksudo 'logkeys -s -o /home/jakub/.keylogger/log --keymap=/home/jakub/.keylogger/pl.map --no-func-keys'
Kod:
gksudo 'logkeys --kill'
Statystyki: autor: yacup — 12 wrz 2015, 21:32
Kod:
sudo apt-get install xbindkeyssudo apt-get install xautomationsudo apt-get install xdotool
Kod:
xev
Kod:
ButtonRelease event, serial 37, synthetic NO, window 0x4200001, root 0xf4, subw 0x4200002, time 2594091, (22,17), root:(1488,613), state 0x200, button 2, same_screen YESLeaveNotify event, serial 37, synthetic NO, window 0x4200001, root 0xf4, subw 0x0, time 2593924, (22,17), root:(1488,613), mode NotifyUngrab, detail NotifyInferior, same_screen YES, focus YES, state 0
Kod:
# Mapping BACK to mousewheel left"xdotool key Alt_L+Left"m:0x0 + b:6# Mapping FORWARD to mousewheel right"xdotool key Alt_L+Right"m:0x0 + b:7# Mapping >> Powiększenie w Firefoksie, nautilusie i pewnie w innych"xdotool key control+plus"m:0x0 + b:9# Mapping >> Zmniejszenie w Firefoksie, nautilusie ...."xdotool key control+minus"m:0x0 + b:8
Kod:
xbindskeys /home/nazwa_usera/.xbindskeysrc
Statystyki: autor: yacup — 12 wrz 2015, 21:15
Kod:
sudo apt-get install fatsort
Kod:
cat /proc/partitions
Kod:
zbigg@zbigg-P67A-D3-B3:~$ cat /proc/partitionsmajor minor #blocks name 8 0 488386584 sda 8 1 102400 sda1 8 2 78683136 sda2 8 3 102400000 sda3 8 4 1 sda4 8 5 181086066 sda5 8 6 11717632 sda6 8 7 35840000 sda7 8 8 2097152 sda8 8 9 76451840 sda9 11 0 1048575 sr0 8 16 15633408 sdb 8 17 15633392 sdb1
Kod:
sudo fatsort -f /dev/sdb1
Kod:
zbigg@zbigg-P67A-D3-B3:~$ sudo fatsort -f /dev/sdb1[sudo] password for zbigg: FATSort Utility 0.9.15 by Boris Leidner <fatsort(at)formenos.de>File system: FAT32.Sorting directory /Sorting directory /Musee/Sorting directory /Musee/99/Sorting directory /Musee/ACDC/Sorting directory /Musee/Antwoord/Sorting directory /Musee/Junior Wells - Hoodoo Man Blues/Sorting directory /Musee/Led.Zepplin/Sorting directory /Musee/Roozne/Sorting directory /Musee/SOAD/Sorting directory /Musee/Triple/
Statystyki: autor: igotit4free — 20 kwie 2015, 20:16
Kod:
//Język: c, c++#include <stdio.h>#include <sys/types.h>#include <unistd.h>int main(){pid_t pid; // Identyfikator procesu, jest to w zasadzie alias na typ całkowity, nieujemny.pid = fork(); // Zmiena pid od teraz przechowuje wartość zwróconą przez fork(). // Od tego momentu program działą na dwóch procesach. // Jeżeli pid != 0, to warunek będzie spełniony.if (pid) {printf("Jestem w procesie ojca, a mój PID, to %d", getpid());}else {printf("Jestem w procesie dziecka, a mój PID, to %d.\n", getpid());}return 0;}
Statystyki: autor: enedil — 17 mar 2015, 22:20
Statystyki: autor: kszyhus — 05 lut 2015, 10:49
Kod:
sudo chmod 777 *
Kod:
./fmt.sh
Kod:
./defragfs /ścieżka_do_naszego/pendrive/Easy2Boot
Statystyki: autor: kszyhus — 30 sty 2015, 09:56
Kod:
wget -O adobe-air.sh http://drive.noobslab.com/data/apps/AdobeAir/adobe-air.sh
Kod:
chmod +x adobe-air.sh;sudo ./adobe-air.sh
Statystyki: autor: kszyhus — 08 sty 2015, 17:29
Kod:
cd Pulpit
Kod:
./programix-linux-3.0.run
Kod:
chmod +x programix-linux-3.0.run
Kod:
./programix-linux-3.0.run
Kod:
sudo ./programix-linux-3.0.run
Wszystko da się naprawić. Potrzeba tylko czterech klawiszy: S, U, D i O.
Statystyki: autor: Mjećo — 06 sty 2015, 17:04
Kod:
sudo shutdown -h 22:00
Kod:
sudo shutdown -h +45
Statystyki: autor: Hwiparam — 29 lis 2014, 19:41
Statystyki: autor: marcin1982 — 02 lis 2014, 07:54
Statystyki: autor: ubuntero — 20 kwie 2014, 15:02
Kod:
sudo ecryptfs-recover-private
Następnie naciskamy Y i Y (yes). Ja wykorzystałem Linux Mint live CD, ale Ubuntu również się nada. Wpisujemy następnie hasło do poprzedniego systemu. Po sukcesie mamy katalog tymczasowy i nazwę gdzie mamy zamontowany odszyfrowany już home.Kod:
gksu caja
Kod:
gksu nautilus
Statystyki: autor: fabians — 29 sie 2013, 14:29
Kod:
wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.1/enu/AdbeRdr9.5.1-1_i486linux_enu.binchmod +x ./AdbeRdr9.5.1-1_i486linux_enu.binsudo ./AdbeRdr9.5.1-1_i486linux_enu.bin
Kod:
sudo apt-get install ia32-libs
Kod:
Adobe AIR could not be installed. Install either Gnome Keyring or KDE KWallet before installing AdobeAIR.
Kod:
locate libgnome-keyring.so /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
Kod:
wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.binchmod +x ./AdobeAIRInstaller.binsudo ./AdobeAIRInstaller.bin
Kod:
sudo rm /usr/lib/libgnome-keyring.so.0sudo rm /usr/lib/libgnome-keyring.so.0.2.0
Kod:
wget http://www.e-deklaracje.gov.pl/files/dopobrania/e-dek/app/e-DeklaracjeDesktop.air
Kod:
sudo /opt/Adobe\ AIR/Versions/1.0/Resources/airappinstaller /bezwzględna_ścieżka_do_pliku/e-DeklaracjeDesktop.air
4. Instalujemy niezbędne certyfikatyTrust for this Session
Kod:
-----BEGIN CERTIFICATE-----MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIyMTIwNzM3WhcNMjkxMjMxMTIwNzM3WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSIwIAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rHUV+rpDKmYYe2bg+G0jACl/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LMTXPb865Px1bVWqeWifrzq2jUI4ZZJ88JJ7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVUBBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4fOQtf/WsX+sWn7Et0brMkUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0cvW0QM8xAcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15ysHhE49wcrwn9I0j6vSrEuVUEtRCjjSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfLI9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1mS1FhIrlQgnXdAIv94nYmem8J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5ajZt3hrvJBW8qYVoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw=-----END CERTIFICATE----------BEGIN CERTIFICATE-----MIIEmDCCA4CgAwIBAgIDBtbuMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQKExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDkxMjAzMTIzMDUxWhcNMjQxMjAzMTIzMDUxWjCBgjELMAkGA1UEBhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMuQS4xJzAlBgNVBAsTHkNlcnR1bSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEmMCQGA1UEAxMdQ2VydHVtIEV4dGVuZGVkIFZhbGlkYXRpb24gQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3W3lk/RUZrr5J8tMKvkb5MN3al48ovTYCDg6rsd2BTM0oJcNVIkmvx2mgxHu/4S2Rtbkv+vNbhUyT1vAo7gdsy+PyWo0oPuFZPN05eX65Sj3HntuO0dvs0RMrpb/BbAwBBa1xyJLL/53spkD4bDaPPE7mL0FLENNAjtJOJFxhnK7It4Pp+DgDycucGznoeSERcrGLouodjn7rJBMv8wlqmoAiRtdsSYszV2QP+zWTgPJNxZYrQyqAbSOZ4QxFkirLgvfgUWNFEmOlprcyv3shn+HS9S8y/FQ8uENQuhFdVh4yM7t3PAmJeWXncU1qaoGxb6VPJWT0atvuH0n2BFedAgMBAAGjggEYMIIBFDASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUwDsK+g/Z/g9OAphlFAyKHi4AjAMwHwYDVR0jBBgwFoAUCHbNywf/JPbFze27kLzihDdGdfcwQQYIKwYBBQUHAQEENTAzMDEGCCsGAQUFBzAChiVodHRwOi8vcmVwb3NpdG9yeS5jZXJ0dW0ucGwvY3RuY2EuY2VyMC8GA1UdHwQoMCYwJKAioCCGHmh0dHA6Ly9jcmwuY2VydHVtLnBsL2N0bmNhLmNybDA6BgNVHSAEMzAxMC8GBFUdIAAwJzAlBggrBgEFBQcCARYZaHR0cHM6Ly93d3cuY2VydHVtLnBsL0NQUzANBgkqhkiG9w0BAQUFAAOCAQEA0uI98v8hovXCAcAqGqmG1xw8veonr3Ao2stIYif3ohUKv3Q9LcqLpcDcFb0FpiZuqP3JOFNy0JnGzZ7G2W4dX8SeWiACgl7m8LqKiyUHGOJ/4jK+tINRYtCJmIvIOrN2K1Knm7UZ8jymwSnSYeLeR2H/jitJQ6Ijciy54TB3LM4/H5/oXDJbNfGm8OmX2J1c4CsjISRqfZtPcE6obdXJ6WqokuFWS5wsIKTwUoOLtZCsjRzGB87WdFmObLm5m2mdCgD5da20GxfsgovX8sbe/o1R6eT1Ux8t/mlVut5fpTvn0xK0XSJQerQ4UoAPGI1BSK67+yhul3ADUkIvyp4PXw==-----END CERTIFICATE-----
Kod:
cat certyfikaty.crt >> ~/.appdata/Adobe/AIR/Certs/curl-ca-boundle.crt
Statystyki: autor: romanczuk — 10 sty 2013, 20:25
Kod:
sudo add-apt-repository ppa:mati75/kadu
Kod:
sudo apt-get update
Kod:
sudo apt-get dist-upgrade
Kod:
sudo apt-get install kadu
Statystyki: autor: mati75 — 29 lip 2012, 17:58
Statystyki: autor: emka1111 — 02 cze 2012, 19:25
Kod:
localhost:631
Statystyki: autor: velogustlik — 21 gru 2011, 23:44
Kod:
uname -a
pokazywało moją nazwę komputera w formie dwuczłonowej. Jednak gdy uruchomiłem komputer po każdorazowym logowaniu w GDM xorg się restartował i wywalał mnie z powrotem do ekranu logowania. Poniższa metoda została napisania prostym językiem, aby newbie mogli sobie z nim w łatwy sposób poradzić. Kod:
nano /etc/hostname
Kod:
nano /etc/hosts
Kod:
shutdown -r 00
Statystyki: autor: zbyszek_k007 — 06 maja 2011, 03:19
Kod:
programy>narzędzia systemowe > Oracle VM VirtualBox >ustawiwna>usb >dodaj filtr na podstawie urządzenia
Kod:
System>Administracja>drukowanie >serwer>ustawienia,
Kod:
localhost:631/printers/
Kod:
http://localhost:631/printers/DCP7030
Kod:
ustawienia> sieć
Kod:
system>administracja>narzędzia sieciowe>zakładka "urządzenia”.
Kod:
start>panel sterowania>drukarki i faksy> dodaj nową drukarkę>drukarka sieciowa lub drukarka podłączona do innego komputera >dalej>podłącz do drukarki w sieci domowej lub biurowej
Kod:
http://192.168.56.1:631/printers/DCP7030
Kod:
system>administracja>drukowanie>dodaj>drukarka sieciowa>internetowy protokół druku (ipp)
Kod:
[adres_IP_z _kroku_5]:631np. 192.168.56.1:631
Kod:
/printers/DCP7030
Statystyki: autor: cyklista — 06 lut 2011, 21:40
Kod:
sudo apt-get install stardict
Kod:
python pwn2dict.py angpol.win
Kod:
python pwn2dict.py polang.win
Statystyki: autor: vit0 — 09 lis 2010, 11:51
Kod:
sudo apt-get install gammu
Kod:
dmesg|grep tty
Zmieniamy tylko port do którego jest podłączony modem/telefon. Następnie po zapisaniu pliku konfiguracyjnego wykonujemy komendę:[gammu]
port = /dev/ttyUSB0
model =
connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =
Kod:
gammu identify
Kod:
gammu getallsms
Kod:
gammu sendsms text numer_telefonu
Statystyki: autor: d3dik — 19 sie 2010, 15:35
Kod:
sudo apt-get install enemy-territory
Kod:
deb http://archive.getdeb.net/ubuntu karmic-getdeb apps games
Kod:
sudo apt-get install true-combat-elite
Statystyki: autor: grappas — 18 sie 2010, 20:50
Kod:
sudo apt-get install libsqlite3-dev
Kod:
sudo apt-get install libsqlite3-dev firefox
Kod:
sudo apt-get install build-essential && sudo apt-get build-dep axelcd ~/ && mkdir axel && cd axelapt-get source axelcd axel-2.4wget http://emiraga.wikispaces.com/file/view/axel_firefox.v0.3.patchpatch -p1 < axel_firefox.v0.3.patchnano debian/rules
Kod:
./configure --i18n=1 --debug=0 --prefix=/usr --etcdir=/etc --strip=0
Kod:
./configure --i18n=1 --debug=0 --prefix=/usr --etcdir=/etc --strip=0 --ff3c=1
Kod:
dpkg-buildpackage -rfakeroot -b
Kod:
sudo dpkg -i ../axel_2.4-1_amd64.deb
Kod:
sudo dpkg -i ../axel_2.4-1_i386.deb
Kod:
export AXEL_COOKIES=/home/USERNAME/.mozilla/firefox/PROFILE_NAME/cookies.sqlite
Kod:
axel -a -n 32 http://rapidshare.com/files/413834167/fugue-icons-3.0-src.zip
Statystyki: autor: d3dik — 18 sie 2010, 20:32
Ja wprowadze tu drobne modyfikacje. Pomijamy punkty 6,7,8. Po prostu po udanym wykonaniu ./configure wpisujemy make, a potem z roota make install. Komunikaty o błędach wyswietlane są na koncu, dzieki czemu nie musimy szukać blędów ani przekierowywać np. wyjscia STDERR do pliku. Jak sie naucze robić paczki *.deb to taką zrobie i dam na forum. Pozdrawiam. Mam nadzieje ze art sie przydaDebian rzadzi (!), a oto jak przekonac rodzinke do uzytkowania tegoz systemu:
EKG2 - Dobry komunikator konsolowy /jabber, gg, irc.../
1) Instalujemy składniki potrzebne do kompilacji programów i pluginów (jabber,gg) oraz budowania pakietów, jeżeli takich nie ma (pluginy są dodawane automatycznie wg. dostępności n/w składników):2) Pobieramy nową wersję EKG2: http://ekg2.org/ekg2-current.tar.gzKod:
# apt-get install dpkg-dev file gcc g++ libc6-dev make patch perl autoconf automake dh-make debhelper fakeroot libncursesw5-dev# apt-get install libgadu-dev libgadu3# apt-get install make patch perl autoconf automake dh-make debhelper fakeroot# apt-get install devscripts g77 gpc lintian strace# apt-get install python-xmpp sendxmpp expat qca-tls libgnutls11# apt-get install python-jabber libssl-dev jabber-dev
3) $tar -xzvf ekg2-current.tar.gz
4) $cd ekg2-20*
5) $./configure (Sprawdzamy czy pluginy są - pojawi się opis przy config plugin, a w katalogu plugins/jabber itp powinny powstać pliki Makefile
6) $dh_make -s (zwrócić ew. uwagę na debian/control /np. uzupełnić wg uznania)
7) #debian/rules binary (budowa paczki *.deb)
#dpkg -i ../ekg2-20*.deb (instalacja)
Od teraz po wpisaniu w konsoli magicznego słowa jakim jest "ekg2" naszym oczom powinien pojawiać się ów program. Polecam również przeczytanie dokumentacji ekg (http://pl.ekg2.org/ekg2book/), a w szczególności sekcję związaną ze zmiennymi (http://pl.ekg2.org/ekg2book/plugins.html#id2799285).
Statystyki: autor: lukas_j — 30 cze 2010, 19:49
Kod:
sudo apt-get install enca
Kod:
enca -c plik
Kod:
enca -x iso-8859-2 plik
Kod:
$ enca -m plikISO-8859-2
Statystyki: autor: jacekalex — 05 mar 2010, 09:18
Kod:
sudo mkdir /mnt/sejf
Kod:
sudo nano /etc/init.d/automount
Kod:
#!/bin/shcase "$1" in start)echo "Automounting TrueCrypt drives"truecrypt /dev/sdb1 --non-interactive -k "" -p "TwojeHaslo" --protect-hidden="no" --fs-options="uid=gid=1000" /mnt/sejf;; stop)echo "Unmounting TrueCrypt drives"truecrypt --non-interactive -d /dev/sdb1;; restart)$0 stop$0 start;;esacexit 0
Kod:
sudo fdisk -l
Kod:
truecrypt /dev/sdb1 --non-interactive -k "/home/TwojLogin/TwojKlucz.key" -p "" --protect-hidden="no" --fs-options="uid=gid=1000" /mnt/sejf
Kod:
chmod 755 /etc/init.d/automount
Kod:
sudo update-rc.d automount start 99 2 .
Statystyki: autor: rugby — 28 lis 2009, 19:49
Kod:
sudo apt-get install libnotify-bin
Kod:
#!/bin/sh# Adium theme AdiumMessageStyle installer for Empathy# Originally ? 2009 Antono Vasiljev# Licensed under the same terms as Empathy# http://antono.info/en/165-install-adium-themes-to-empathy# Changed by Vertlo Oraerk (did not work with directories containing spaces in the names)# Changed by h!v from ubuntuforums to work with Pidgin+libwebkit and Notifications# On Ubuntu you need to install libwebkit and libnotify-bin to get it working properly# Further info on how to get working adium themes in Pidgin on http://www.webupd8.org/2009/05/pidgin-webkit-plugin-adium-conversation.htmlif [ -z $1 ]then echo echo "Usage:" echo "`basename $0` adiumxtra://some.url.here/extra" echo exit 1else TMPDIR=`mktemp -d` XTRAURL=`echo $1 | sed -e "s/^adiumxtra:/http:/"` DEST="$HOME/.purple/message_styles/" if [ ! -d $DEST ] then mkdir -v -p $DEST fi cd $TMPDIR notify-send "Downloading" \ " Extra adium theme for Pidgin" --icon=pidgin wget --no-verbose -O xtra.zip $XTRAURL unzip -qq xtra.zip ls -d ./*.AdiumMessageStyle/ > themes_to_copy.lst num_bytes=`wc -c themes_to_copy.lst | sed 's# themes_to_copy.lst##'` NAME=`cat themes_to_copy.lst | cut -f 2 --delimiter='.' | cut -f 2 --delimiter='/'` if [ $num_bytes = 0 ] then notify-send "Sorry Manitou" \ "No themes found in downloaded file" else while read line do echo cp -r \'$line\' "$DEST" | sh done < themes_to_copy.lst echo notify-send "Succesfully installed" \ " $NAME " --icon=pidgin fi rm -r xtra.zip rm -r $TMPDIRfiexit 0
Statystyki: autor: h!v — 03 lis 2009, 21:37
Statystyki: autor: danyll — 26 sie 2009, 17:16
Statystyki: autor: grappas — 23 sie 2009, 17:05
Kod:
sudo dpkg -i truecrypt_4.2a-0_i386.deb
Kod:
sudo chmod a+s `which truecrypt`
Kod:
truecrypt: Running with effective user id 0 (set-euid root) is not supported.
Kod:
chmod u-s `which truecrypt`
Kod:
mkdir /media/sejf
Kod:
truecrypt -c
Kod:
truecrypt /home/user/sejf.tc
Kod:
mkfs.ext2 /dev/mapper/truecrypt0
Kod:
truecrypt -d
Kod:
truecrypt /home/user/sejf.tc /media/sejf
Kod:
mount
Od tego momentu, cokolwiek zapisujemy w /media/sejf jest w locie szyfrowane, a przy odczycie - deszyfrowanie. Dzieje się to w sposób przezroczysty i przy praktycznie niewidocznym spowolnieniu systemu. Dane z naszego przykładu są naprawdę zapisywane w pliku /home/user/sejf.tc, więc należy go odtąd otoczyć odpowiednią opieką./dev/mapper/truecrypt0 on /media/sejf type ext2 (rw)
, należy najpierw sprawdzić i ewentualnie nadać odpowiednie prawa do zapisu/wykonywania katalogowi /media/sejf - w przeciwnym razie zapis będzie niemożliwy. Uprawnienia do zapisu potrafią się zmienić, jeśli mapowanie skończyło się niepowodzeniem, i trzeba je wtedy przywracać. (Ale przy pracy bez błędów wszystko jest OK.)sudo truecrypt
Kod:
truecrypt -d
Kod:
truecrypt /home/user/sejf.tc /media/sejf
Kod:
truecrypt -P /home/user/sejf.tc /media/sejf
Statystyki: autor: mario_7 — 16 lip 2009, 11:13
Kod:
$ sudo route add default gw [IP HOSTA GRY NA HAMACHI] ham0
Kod:
$ sudo route del default gw 0.0.0.0 eth0
Kod:
$ sudo route del default gw [IP HOSTA GRY NA HAMACHI] ham0
Kod:
$ sudo ifconfig eth0 down && sudo ifconfig eth0 up
Kod:
$ hamachi start$ sudo route add default gw [IP HOSTA GRY NA HAMACHI] ham0$ sudo route del default gw 0.0.0.0 eth0$ wine Starcraft.exe$ sudo route del default gw [IP HOSTA GRY NA HAMACHI] ham0$ sudo ifconfig eth0 down && sudo ifconfig eth0 up
Statystyki: autor: SoofMan — 06 lip 2009, 20:39
Kod:
sudo apt-get install wine
Kod:
winecfg
Kod:
env WINEPREFIX="$HOME/.wine-dk2/" wine "/media/cdrom0/setup.exe"
Kod:
env WINEPREFIX="$HOME/.wine-dk2/" wine "/home/domek/Dokumenty/DK2_UP/dk2update130to170_english.exe"
Kod:
env WINEPREFIX="$HOME/.wine-dk2/" regedit
Kod:
env WINEPREFIX="$HOME/.wine-dk2/" wine "C:\Program Files\Bullfrog\Dungeon Keeper 2\Dkii.exe"
Statystyki: autor: igotit4free — 03 maja 2009, 16:20
Kod:
wget http://tts.polip.com/files/milena-0.1.9-3.tar.gztar zxf milena-0.1.9-1.tar.gzcd milena-0.1.9/sh ./ubuntu_install_mbrola.shsh ./ubuntu_install_milena.sh
Kod:
python ~/milena-pidgin.py
Kod:
screen -S mpidgin -md python ./milena-pidgin.py &
Kod:
screen -r -S mpidgin
Statystyki: autor: kozlov — 17 kwie 2009, 04:58
Statystyki: autor: zainin — 12 kwie 2009, 14:19
Kod:
sh winetricks <nazwa dodatku="">
skrypt inicjował ściąganie tegoż dodatku, a na koniec wywalał taki błąd:Kod:
cd ~/miejsce.gdzie.mamy.winetrickssudo gedit winetricks
I w odpowiednich miejscach wstawiamy znacznik komentarza czyli "#" (miejsca pogrubione i podkreślone).load_flash() {
# www.adobe.com/products/flashplayer/
# Active X plugin
# http://blogs.adobe.com/psirt/2008/03/pr ... _play.html
# http://fpdownload.macromedia.com/get/fl ... tive_x.msi
# 2008-04-01: old version sha1sum f4dd1c0c715b791db2c972aeba90d3b78372996a
# 2008-04-18: new version sha1sum 04ac79c4f1eb1e1ca689f27fa71f12bb5cd11cc2
# Version 10 http://fpdownload.macromedia.com/get/fl ... yer_ax.exe
# 2008-11-27: 10 sha1sum 7f6850ae815e953311bb94a8aa9d226f97a646dd
download . http://fpdownload.macromedia.com/get/fl ... yer_ax.exe #7f6850ae815e953311bb94a8aa9d226f97a646dd
try $WINE ?$WINETRICKS_CACHE?/install_flash_player_ax.exe $WINETRICKS_S
# Mozilla / Firefox plugin
# 2008-07-22: sha1sum 1e6f7627784a5b791e99ae9ad63133dc11c7940b
# 2008-11-27: sha1sum 20ec0300a8cae19105c903a7ec6c0801e016beb0
download . http://fpdownload.macromedia.com/get/fl ... player.exe #20ec0300a8cae19105c903a7ec6c0801e016beb0
try $WINE ?$WINETRICKS_CACHE?/install_flash_player.exe $WINETRICKS_S
}
Kod:
sh winetricks flash
Kod:
sh winetricks <nazwa.dodatku>
Kod:
cd <miejsce.zapisywania.ściągniętych plików.w.firefoxie="">mv <nazwa dodatku="">*.exe ~/.winetrickscd <miejsce.winetricks>sh winetricks <nazwa.dodatku.ściągniętego>
Statystyki: autor: Jarzyna — 09 mar 2009, 08:55
Statystyki: autor: marcinofulus — 27 gru 2008, 02:51
Statystyki: autor: przemas — 30 lis 2008, 14:41
Kod:
sudo gedit /etc/apt/sources.list
Kod:
deb http://morgoth.free.fr/ubuntu hardy-backports main
Kod:
wget -O - http://morgoth.free.fr/files/morgoth-signkey.gpg.asc | sudo apt-key add -
Kod:
sudo apt-get update
Kod:
sudo apt-get install e-uae
Kod:
uae
Statystyki: autor: Lemef — 30 lis 2008, 11:42
Kod:
sudo apt-get install alien
Kod:
sudo apt-get install fakeroot
Kod:
fakeroot alien qjoypad-3.4-1.i586.rpm
Kod:
sudo dpkg -i qjoypad_3.4-2_i386.deb
Statystyki: autor: Kozik — 26 paź 2008, 08:00
Kod:
#!/bin/bash#!/bin/sh# Installs VMware server and applies the any-any patch for Ubuntu 8.04# install_vmware.sh# Copyright (C) 2008 Brett Alton# This program is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 3 of the License, or# (at your option) any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program. If not, see <http://www.gnu.org/licenses/>.# ----- THANKS -----# Kokopelli (http://ubuntuforums.org/showpost.php?p=4357442&postcount=10)#base code# tamoneya (http://ubuntuforums.org/showthread.php?t=788060)#x86_64 detection# Illuvator (http://ubuntuforums.org/showthread.php?t=337040)#VMware install problems# http://phaq.phunsites.net/2006/03/17/installing-vmware-server-on-debian-sarge/#VMware Server dependencies# p388l3s (http://ubuntuforums.org/showpost.php?p=4989259&postcount=23)#bug reporting# Kokopelli (http://ubuntuforums.org/showpost.php?p=4877845&postcount=16)#64-bit library fix# ----- FEATURES -----#* Installs VMware Server 1.0.6#* Installs VMware any any update 116#* Fixes issues for: VMware libraries, 64-bit libraries and USB support#* Does not require the Internet if VMware server and any-any patch are already downloaded#* Cleans up any downloaded files#* The script can successfully install over an existing installation so the user doesn't have to go through any special procedures besides running this script# ----- CHANGELOG -----# 2008-06-08#* Removed output supression for wget#* Changed spaces to tabs (how was it even spaces in the first place?)# * Reverted back to VMware-any-any-update-116 downloading from uruz.org# 2008-06-02#* Updated VMware Server to 1.0.6#* Kept VMware-any-any-update at 116 until I read more about 117, 117(2) and 117a#* Now downloading VMware-any-any-update-116 from vmkernelnewbies.googlegroups.com# 2008-05-18#* Bug fixes# 2008-05-14#* Created a prompt to install GUI libraries when X isn't present (thanks kezarjg!)#* Created separate library install list for 64-bit users#* Added -y flag to aptitude (thanks oraldlight!) -- or should I remove "2>&1 > /dev/null" ???# 2008-05-10#* Destroyed stdout (and removed verbosity on 'tar') for a cleaner looking script#* Added more exit status checks#* Added detection for files before downloading#* Removed installing shortcut to "Applications > System Tools > VMware Server"# 2008-05-09#* Initial release# ----- TODO -----#* Ubuntu 8.04 detection (?)#* Allow arguments (./install_vmware.sh $1 $2) to allow running just the any-any patch (such as after a kernel update)#* Create fall-back download paths in case the hard-coded ones fail#* Add support for VMware MUI (http://download3.vmware.com/software/vmserver/VMware-mui-1.0.5-80187.tar.gz)#* Add support for VMware Tools#* Create a log?#* Don't hard-code VMware and any-any version numbers (how?)#* Add md5/sha1 download support#* Add /etc/vmware/ssl/ fix (but where and how to implement?)# ----- FUNCTIONS -----function print_info(){echo " -- $1, continuing..."}function print_warn(){echo " ** $1, continuing..."}function force_exit(){echo " !! $2, exiting..."cleanupexit $1}function safe_exit(){echo " -- Safely exiting..."cleanupexit 0}function cleanup(){cd $INIT_DIRprint_info 'Removing downloaded and extracted files'# Delete VMware tarball?if [ $DELETE_VMWARE_TARBALL -eq 1 ]; thenrm -f $VMWARE_TARBALLfi# Delete any-any tarball?if [ $DELETE_ANYANY_TARBALL -eq 1 ]; thenrm -f $ANYANY_TARBALLfi# Delete extracted directoriesrm -rf $VMWARE_DIR $ANYANY_DIR}# ----- VARIABLES -----VMWARE_URL='http://download3.vmware.com/software/vmserver/'#VMWARE_TARBALL='VMware-server-1.0.5-80187.tar.gz'VMWARE_TARBALL='VMware-server-1.0.6-91891.tar.gz'VMWARE_DIR='vmware-server-distrib'VMWARE_PATH=$VMWARE_URL$VMWARE_TARBALL# want to upgrade to http://groups.google.com/group/vmkernelnewbies/filesANYANY_URL='http://uruz.org/files/'ANYANY_TARBALL='vmware-any-any-update-116.tgz'ANYANY_DIR='vmware-any-any-update116'ANYANY_PATH=$ANYANY_URL$ANYANY_TARBALLARCH=`uname -m` # x86_64 or i686if [ "$ARCH" == "x86_64" ]; thenIS_64=1 # 64-bitelseIS_64=0 # non 64-bitfiINIT_DIR=`pwd` # current directoryDELETE_VMWARE_TARBALL=1DELETE_ANYANY_TARBALL=1# ----- INIT -----# Updating Ubuntuprint_info 'Updating Ubuntu'sudo aptitude update 2>&1 > /dev/null# Check if 'aptitude update' failedif [ $? -ne 0 ]; thenprint_warn 'Could not update Ubuntu. The installation may not working'fiprint_info 'Upgrading Ubuntu'sudo aptitude safe-upgrade# Check if 'aptitude upgrade' failedif [ $? -ne 0 ]; thenprint_warn 'Could not upgrade Ubuntu. The installation may not work'fi# ----- LIBRARIES -----# Installing essential librariesif [ $IS_64 -eq 1 ]; thenprint_info 'Installing essential libraries for 64-bit architecture'ESS_LIBS="xinetd build-essential linux-headers-`uname -r` ia32-libs libc6-i386" # 64-bitelseprint_info 'Installing essential libraries for 32-bit architecture'ESS_LIBS="xinetd build-essential linux-headers-`uname -r`" # non 64-bitfisudo aptitude -y install $ESS_LIBS 2>&1 > /dev/null# Check if 'aptitude -y install' failedif [ $? -ne 0 ]; thenforce_exit 1 'Could not install essential libraries'fi# ----- GUI CHECK -----print_info 'Checking for essential GUI libraries'NEED_GUI_LIBS=0GUI_LIBS="libx11-6libxtst6libxt6libxrender1libxi6"GUI_LIBS_FLAT='libx11-6 libxtst6 libxt6 libxrender1 libxi6'for F in $GUI_LIBS; doif [ $NEED_GUI_LIBS -eq 0 ]; thenINSTALLED=`dpkg --get-selections | grep $F`if [ "$INSTALLED" == "" ]; thenNEED_GUI_LIBS=1fifidoneif [ $NEED_GUI_LIBS -eq 1 ]; thenecho ' ?? Essential GUI libraries need to be installed, is this OK? [y/n]'read -n1 RETURNif [ $RETURN == 'y' ] || [ $RETURN == 'Y' ]; thenprint_info 'Installing extra GUI libraries'sudo aptitude -y install $GUI_LIBS_FLAT 2>&1 > /dev/nullelseforce_exit 1 'Refused to install extra GUI libraries'fielseprint_info 'Essential GUI libraries already installed'fi# ----- VMWARE SERVER -----# Download VMware serverif [ -f $VMWARE_TARBALL ]; thenprint_info 'VMware already present. Skipping download'DELETE_VMWARE_TARBALL=0 # do not delete if the user put it thereelseprint_info 'Downloading VMware server. This may take some time'wget $VMWARE_PATHfi# Check if wget failedif [ $? -ne 0 ]; thenforce_exit 1 "Could not download $VMWARE_TARBALL"fi# Extract VMware serverif [ -e $VMWARE_DIR ]; then # if the name has already been taken (either file, directory, symbolic link, etc.)print_info 'Extracted directory detected. Deleting for the sake of security'rm -rf $VMWARE_DIRfiprint_info 'Extracting VMware server'tar -xzf $VMWARE_TARBALL# Check if tar failedif [ $? -ne 0 ]; thenforce_exit 1 "Could not extract $VMWARE_TARBALL. Does it exist or is it corrupt?"fi# Change directoryif [ -d $VMWARE_DIR ]; thencd $VMWARE_DIRelseforce_exit 1 "Could not find $VMWARE_DIR"fi# Install VMware Serverif [ -f vmware-install.pl ]; thenprint_info 'Installing VMware server'sudo ./vmware-install.plelseforce_exit 1 'vmware-install.pl does not exist. VMware server is possibly broken'fi# ----- ANY ANY UPDATE -----# Change to initial directorycd $INIT_DIR# Download vmware-any-any-updateif [ -f $ANYANY_TARBALL ]; thenprint_info 'any-any update already present. Skipping download'DELETE_ANYANY_TARBALL=0 # do not delete if the user put it theirelseprint_info 'Downloading the any-any update. This may take some time'wget $ANYANY_PATHfi# Check if wget failedif [ $? -ne 0 ]; thenforce_exit 1 "Could not download $ANYANY_TARBALL"fi# Extract vmware-any-any-updateif [ -e $ANYANY_DIR ]; then # if the name has already been taken (either file, directory, symbolic link, etc.)print_info 'Extracted directory detected. Deleting for the sake of security'rm -rf $ANYANY_DIRfiprint_info 'Extracting the any-any update'tar -xzf $ANYANY_TARBALL# Check if tar failedif [ $? -ne 0 ]; thenforce_exit 1 "Could not extract $VMWARE_TARBALL. Does it exist or is it corrupt?"fi# Change directoryif [ -d $ANYANY_DIR ]; thencd $ANYANY_DIRelseforce_exit 1 "Could not find $ANYANY_DIR"fi# Run vmware-any-any-updateif [ -f runme.pl ]; thenprint_info 'Running the any-any update'sudo ./runme.plelseforce_exit 1 'runme.pl does not exist. any-any update is possibly broken'fi# ----- LIBRARY FIX -----print_info 'Fixing library issues'sudo ln -sf /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1sudo ln -sf /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0# ----- 64-BIT FIX -----# see: http://ubuntuforums.org/showpost.php?p=4877845&postcount=16if [ $IS_64 -eq 1 ]; thenprint_info '64-bit computer detected. Running 64-bit VMware library fix'sudo ln -s /usr/lib32 /usr/l32sudo sed -i -e 's:usr/lib/:usr/l32/:g' /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaderssudo sed -i -e 's:usr/lib/:usr/l32/:g' /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9fi# ----- USB FIX -----USB_FIX_PRESENT=`grep '/proc/bus/usb' /etc/fstab`if [ "$USB_FIX_PRESENT" == "" ]; thenprint_info 'Adding USB support to /etc/fstab'echo 'none /proc/bus/usb usbfs devgid=46,devmode=664 0 0' | sudo tee --append /etc/fstabelseprint_info 'USB fix already present'fi# ----- EXIT -----# Everything ran fine, exit safelysafe_exit
Kod:
sudo ./vmware_install.sh
Statystyki: autor: sylwester — 25 sie 2008, 18:02
Kod:
sudo apt-get install virtualbox-ose virtualbox-ose-modules-$(uname -r)
Kod:
vditool copydd ~/.VirtualBox/VDI/NazwaDysku.vdi ~/freedos_usb.img
Kod:
VBoxManage clonehd --format RAW ~/.VirtualBox/VDI/NewHardDisk1.vdi ~/freedos_usb.img
Kod:
dmesg | tail
Kod:
[40966.134656] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Kod:
sudo -scat ~/freedos_usb.img > /dev/nazwaUrządzenia; sync; sync; sync
Kod:
exit
jednak w moim przypadku ta opcja nie pozwalała na aktualizację BIOS-u - program flashujący zgłaszał błąd ochrony pamięci.2 - Load FreeDOS with EMM386+EMS and SHARE
Nie opisuję w tym poradniku jak posługiwać się VirtualBoksem ani DOS-em - to zupełnie inne zagadnienia.3 - Load FreeDOS including HIMEM XMS-memory driver
Statystyki: autor: mario_7 — 23 sie 2008, 01:28
Kod:
##Autor: Michał Zając <Quintasan> michal.zajac[at]gmail.com#!/bin/bashecho "Zainstalować skrypt wklej.org? (T/N)"read odpif [ $odp = 'T' ]then wget http://wklej.org/apps/wklej-0.1.7.tar.gz tar zxvf wklej-0.1.7.tar.gz chmod +x wklej.pl sudo mv wklej /usr/local/bin/elseecho "Skrypt nie zostanie zainstalowany"fiecho "Zakończono"
Kod:
wklej
Kod:
ls -al | wklej
Statystyki: autor: Quintasan — 31 lip 2008, 14:19
Po otwarciu się okna na górze wpisujemy ścieżkę dostępu:sudo nautilus
Zamieniamy nazwy dwóch folderów:/usr/share/kadu/themes
emoticons na emoticons.old
Teraz z pobranego i wypakowanego folderu kopiujemy 2 foldery emoticons i sounds i wklejamy je tu.sounds na sounds.old
Statystyki: autor: lukitd — 18 lip 2008, 01:28
Statystyki: autor: urbinek — 24 mar 2008, 14:14
Statystyki: autor: alphaville — 20 mar 2008, 13:06
Bedziesz potrzebowal:----- Initializing Renderer ----
----- Client Initialization Complete -----
Attempting 44 kHz 16 bit [Windows default] sound
----- R_Init -----
Getting Direct3D 9 interface...
Pixel shader version is 3.0
Vertex shader version is 3.0
Video card or driver doesn't accelerate dynamic textures.
Video card or driver doesn't support enough textures for the DirectX 9 code path.
Error during initialization:
Video card or driver doesn't support enough textures for the DirectX 9 code path.
Kod:
sudo apt-get install gcc-3.4
Kod:
sudo apt-get install patch git git-core
Kod:
./gutsy.sh
Kod:
git clone git://source.winehq.org/git/wine.git wine-git
Kod:
git apply nazwa_patcha.diff
Kod:
CC=gcc-3.4 ./configure
Kod:
make depend && make
Kod:
sudo make install
Kod:
winecfg
Kod:
gedit .wine/user.reg
Kod:
[Software\\Wine\\DllOverrides] 1195992268 "d3d8"="builtin" "d3d9"="builtin" "d3dim"="native" "d3drm"="native" "d3dx8"="native" "d3dxof"="native" "dciman32"="native" "ddrawex"="native" "devenum"="native" "dinput"="builtin" "dinput8"="builtin" "dmband"="native" "dmcompos"="native" "dmime"="native" "dmloader"="native" "dmscript"="native" "dmstyle"="native" "dmsynth"="native" "dmusic"="native" "dmusic32"="native" "dnsapi"="native" "dplay"="native" "dplayx"="native" "dpnaddr"="native" "dpnet"="native" "dpnhpast"="native" "dpnlobby"="native" "dsound"="builtin" "dswave"="native" "dxdiagn"="native" "mscoree"="native" "msdmo"="native" "qcap"="native" "quartz"="native" "streamci"="native"
Kod:
wine iw3sp.exe
Statystyki: autor: Fenixon — 12 mar 2008, 15:43
Kod:
touch wget.sh
Kod:
#! /bin/shDLDIR="$HOME/Desktop"TERM="gnome-terminal -x"$TERM wget -c --directory-prefix=$DLDIR $*
Kod:
chmod +x wget.sh
Statystyki: autor: elkanguro — 16 gru 2007, 13:44
Kod:
sudo apt-get install gnome-commander
Kod:
sudo gnome-commander
Kod:
/opt/stepmania/stepmania
Kod:
/opt/stepmania/icon.jpg
Statystyki: autor: Pard — 07 lis 2007, 19:42
Kod:
apt-get install freeglut3-dev
Kod:
#include <GL/gl.h>#include <GL/glut.h>void init(void);void display(void);int main(int argc, char *argv[]){glutInit(&argc,argv);glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB);glutInitWindowSize(250,250);glutInitWindowPosition(100,200);glutCreateWindow("Program w OpenGL/GLUT");init();glutDisplayFunc(display);glutMainLoop();return 0;}void init(void){glClearColor(0.0f ,0.0f ,0.0f ,0.0f);glColor3f(0.0f,0.0f,1.0f);glMatrixMode(GL_PROJECTION);glLoadIdentity();gluPerspective(45.0f,(GLfloat)250/(GLfloat)250,0.1f,100.0f);}void display(void){glClear(GL_COLOR_BUFFER_BIT);glBegin(GL_TRIANGLES);glColor3f(1.0f,0.0f,0.0f);// CzerwonyglVertex3f( 0.0f, 1.0f, -3.0f);glColor3f(0.0f,1.0f,0.0f);//ZielonyglVertex3f(-1.0f,-1.0f, -3.0f);glColor3f(0.0f,0.0f,1.0f);//NiebieskiglVertex3f( 1.0f,-1.0f, -3.0f);glEnd();glutSwapBuffers();}
Statystyki: autor: G+ — 04 lis 2007, 22:43
Statystyki: autor: kwesoly — 29 paź 2007, 00:18
Kod:
#!/bin/basha=`dirname "$1"`cd "$a"wine "$*"
zapisałem go jako /usr/bin/Wine, nadałem prawa do wykonywania i skojarzyłem w Nautilusie jako domyślny do otwierania *.exeStatystyki: autor: vytah — 26 paź 2007, 14:41
Kod:
http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
Kod:
http://www.skype.com/go/getskype-linux-ubuntu
Kod:
sudo dpkg -i --force-architecture skype*.deb
Kod:
getlibs /usr/bin/skype
Kod:
Matched library libQtCore.so.4 to /feisty/libs/libqt4-coreMatched library libQtDBus.so.4 to /feisty/libs/libqt4-coreMatched library libQtGui.so.4 to /feisty/libs/libqt4-guiMatched library libQtNetwork.so.4 to /feisty/libs/libqt4-coreMatched library libsigc-2.0.so.0 to /feisty/libs/libsigc++-2.0-0c2aLibraries have been installed.
Kod:
wiejkucik@ubuntu:~$ getlibs /usr/bin/skypeMatched library libQtCore.so.4 to /gutsy/libs/libqt4-coreMatched library libQtDBus.so.4 to /gutsy/libs/libqt4-coreMatched library libQtGui.so.4 to /gutsy/libs/libqt4-guiMatched library libQtNetwork.so.4 to /gutsy/libs/libqt4-coreThe following i386 libraries will be installed:/gutsy/libs/libqt4-core/gutsy/libs/libqt4-guiContinue? (y/n) yDownloading.. Installing libraries ...New depedencies have been detected:libdbus-1.so.3Matched library libdbus-1.so.3 to /gutsy/libs/libdbus-1-3The following i386 libraries will be installed:/gutsy/libs/libdbus-1-3Continue? (y/n) yDownloading. Installing libraries ...wiejkucik@ubuntu:~$
Kod:
skype
Kod:
getlibs /usr/bin/skype
Kod:
skype
Statystyki: autor: .:WiejkuciK:. — 23 paź 2007, 19:34
Kod:
sudo apt-get remove flex
Kod:
sudo rm -r ./WineCVS
Kod:
sudo apt-get install cvs build-essential bison libasound2-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libttf-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev msttcorefonts libfontconfig1-dev xorg-dev gcc-3.4
Kod:
sudo apt-get install flex-old
Kod:
sudo rm /usr/bin/gccsudo ln -s /usr/bin/gcc-3.4 /usr/bin/gccexport CC=gcc-3.4 make
Kod:
wget http://winecvs.linux-gamers.net/WineCVS.shsudo chmod 777 ./WineCVS.shsudo ./WineCVS.sh
Kod:
--------- Error log - file /root/.WineCVS/sources/cvscedega/ErrorLog : ---------/root/.WineCVS/Functions/DefaultProfile: line 628: ./configure: No such file or directoryError in Configure"
Kod:
sudo apt-get install autoconf
Kod:
sudo gedit /home/[ użytkownik]/.WineCVS/Functions/DefaultProfile
Kod:
sudo kate /home/[ użytkownik]/.WineCVS/Functions/DefaultProfile
Kod:
sudo mousepad /home/[ użytkownik]/.WineCVS/Functions/DefaultProfile
Kod:
sudo nano /home/[ użytkownik]/.WineCVS/Functions/DefaultProfile
Kod:
./configure
Kod:
autoconf
Kod:
#!/bin/bash################################################################################ ## WineCVS - A shell script that automates installation and ## management of various wine flavours from CVS. ## ## Copyright (C) 2004-2005 Lars Eriksen <le@ting.homeunix.org> ## Andreas Schneider <mail@cynapses.org> ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version 2 ## of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## ################################################################################# Vars################################################################################ NEEDED varsunset ScriptName # eg ="cvswinex"unset CVSroot # eg =":pserver:cvs@cvs.transgaming.org:/cvsroot"unset CVSCheckOutDir # eg ="wine"# install varsunset CompileRootDir # default="$HomeDir/sources/$ScriptName"unset ErrorLogFile # default="$CompileRootDir/ErrorLog"unset ConfigurePrefix # default="/usr/lib/$ScriptName"unset ConfigDirName # default=".$ScriptName"unset WineExecName # default="$CVSCheckOutDir"unset ConfigureOptions # default=<unset>unset ConfigureOptions64 # default=<unset>unset UserOnlyInstall # default=<unset>unset OldCVSCheckOutDir # default=<unset>unset CVSoptions # default="-z 3"unset CVScheckoutOptions # default=<unset># setup varsunset AlwaysRecompile # default="1"unset StripBinaries # default="0"unset PackSource # default="1"unset ShowTips # default="1"# extra varsunset ProfileDescription # default=<unset>unset WineCVSLicense # default=<unset>unset CVSPasswordGuess # default=<unset># override this if you need functions of a specific versionProfileVersion="$WineCVSVersion"# Functions##########################################################################function LProfile_CreateFunc(){echo -e "function $1()\n{"LProfile_$1echo -e "}\n"}function LProfile_SetupVars_Default(){echo -e "export PATH=\"$ConfigurePrefix/bin:\$PATH\"export LD_LIBRARY_PATH=\"$ConfigurePrefix/bin:$ConfigurePrefix/lib\"export WINEPREFIX=\"\$HOME/$ConfigDirName\"export WINESERVER=\"$ConfigurePrefix/bin/wineserver\"export ConfigurePrefix=\"$ConfigurePrefix\"export WineExecName=\"$WineExecName\"export WINE_LOADER=$ScriptName"}function LProfile_SetupVars(){LProfile_SetupVars_Default}function LProfile_TestConfigUpdate_Default(){echo 'test ! -e "$WINEPREFIX" && return 0OldSum=`cat "$WINEPREFIX/oldreg.md5" 2>/dev/null`NewSum=`md5sum "$ConfigurePrefix/bin/winedefault.reg" 2>/dev/null |cut -d " " -f 1`test "$OldSum" == "$NewSum" || return 0return 1'}function LProfile_TestConfigUpdate(){LProfile_TestConfigUpdate_Default}function LProfile_ConfigUpdate_Default(){echo 'test -z "$WINEPREFIX" && Error "Export error ... your shell and this script dislike eachother :("if test ! -e "$WINEPREFIX"thenmkdir "$WINEPREFIX"rm -f "$WINEPREFIX/config"echo "Enter Path for first Drive (C:) (Default: $WINEPREFIX/drive_c)Newbies, press enter"read WinPathtest "$WinPath" = "" && WinPath="$WINEPREFIX/drive_c"if test -d "$WinPath"thenecho -e "$WinPath already exists"echo -e "Continuing without setting up fake drive"elseecho "Making fake C drive..."if ! mkdir -p "$WinPath" &>/dev/nullthen rm -rf "$WINEPREFIX" Error "Couldnt make $WinPath - exiting"fimkdir "$WinPath/windows" &>/dev/nulltest ! -e "$WinPath/windows/Start Menu/Programs" && mkdir -p "$WinPath/windows/Start Menu/Programs" &>/dev/nulltest ! -e "$WinPath/Program Files/Common Files" && mkdir -p "$WinPath/Program Files/Common Files" &>/dev/nulltest ! -e "$WinPath/Profiles/Administrator" && mkdir -p "$WinPath/Profiles/Administrator" &>/dev/nulltest ! -e "$WinPath/windows/Fonts" && mkdir "$WinPath/windows/Fonts" &>/dev/nulltest ! -e "$WinPath/windows/system" && mkdir "$WinPath/windows/system" &>/dev/nulltest ! -e "$WinPath/windows/system32" && ln -s "$WinPath/windows/system" "$WinPath/windows/system32" &>/dev/nulltest ! -e "$WinPath/windows/win.ini" && cp "$ConfigurePrefix/bin/win.ini" "$WinPath/windows" &>/dev/nulltest ! -e "$WinPath/windows/system.ini" && cp "$ConfigurePrefix/bin/system.ini" "$WinPath/windows" &>/dev/nullfiif ! ls "$WinPath" &>/dev/nullthenrm -rf "$WINEPREFIX"Error "Path not accessible"fiFloppyPoint=`cat /etc/fstab 2>/dev/null |grep fd0 |cut -d " " -f 2|head -n 1`CDROMPoint=`cat /etc/fstab 2>/dev/null |grep cdrom |cut -d " " -f 2|head -n 1`sed "s|\"Path\" = \"/c\"\$|\"Path\" = \"${WinPath}\"|" "$ConfigurePrefix/bin/config" > "$WINEPREFIX/.temp"sed "s|\"Path\" = \"\${HOME}/.transgaming/drive_c/\"\$|\"Path\" = \"${WinPath}\"|" "$WINEPREFIX/.temp" > "$WINEPREFIX/.temp2" && mv -f "$WINEPREFIX/.temp2" "$WINEPREFIX/.temp"sed "s|\"UseDGA\" = \"Y\"\$|\"UseDGA\" = \"N\"|" "$WINEPREFIX/.temp" > "$WINEPREFIX/.temp2" && mv -f "$WINEPREFIX/.temp2" "$WINEPREFIX/.temp"sed "s|\"LoadGlobalRegistryFiles\" = \"Y\"\$|\"LoadGlobalRegistryFiles\" = \"N\"|" "$WINEPREFIX/.temp" > "$WINEPREFIX/.temp2" && mv -f "$WINEPREFIX/.temp2" "$WINEPREFIX/.temp"test -n "$FloppyPoint" && sed "s|\"Path\" = \"/mnt/fd0\"\$|\"Path\" = \"$FloppyPoint\"|" "$WINEPREFIX/.temp" > "$WINEPREFIX/.temp2" && mv -f "$WINEPREFIX/.temp2" "$WINEPREFIX/.temp"test -n "$CDROMPoint" && sed "s|\"Path\" = \"/cdrom\"\$|\"Path\" = \"$CDROMPoint\"|" "$WINEPREFIX/.temp" > "$WINEPREFIX/.temp2" && mv -f "$WINEPREFIX/.temp2" "$WINEPREFIX/.temp"mv -f "$WINEPREFIX/.temp" "$WINEPREFIX/config"echo -e "\n\n${ErrorColor}Edit the $WINEPREFIX/config file to fit your system${CancelColor}\n"fiOldSum=`cat "$WINEPREFIX/oldreg.md5" 2>/dev/null`NewSum=`md5sum "$ConfigurePrefix/bin/winedefault.reg" 2>/dev/null |cut -d " " -f 1`test -e "$WINEPREFIX/user.reg" || ReReg="1"if test "$OldSum" != "$NewSum" -o -n "$ReReg"thenunset Cancelif test -z "$ReReg"thenecho -e "\nNew default registry - merge in (recommended) (y/n)?"GetYNanswerif test "$Answer" == "y"thenecho "$NewSum" > $WINEPREFIX/oldreg.md5elif test "$Answer" == "n"thenecho "$NewSum" > $WINEPREFIX/oldreg.md5elseecho "Aborted"Cancel="yes"fifiif test -z "$Cancel"thenrm -f "$HOME/.w.reg" && ln -s "$ConfigurePrefix/bin/winedefault.reg" "$HOME/.w.reg"echo "Installing registry..."Installed="no"cd ~test -e "$ConfigurePrefix/bin/regapi" && "$ConfigurePrefix/bin/regapi" -- setValue -force < "$HOME/.w.reg" &>"$WINEPREFIX/reglog" && Installed="yes"test -e "$ConfigurePrefix/bin/regedit" -a "$Installed" != "yes" && "$ConfigurePrefix/bin/regedit" ".w.reg" >"$WINEPREFIX/reglog" && Installed="yes"rm -f "$HOME/.w.reg"if test "$Installed" != "yes"thenError "\nRegistry Install failed ... \nRemove $WINEPREFIX .reg files to try again."elseecho "$NewSum" > "$WINEPREFIX/oldreg.md5"echo "Done" fififi'}function LProfile_ConfigUpdate(){LProfile_ConfigUpdate_Default}function LScript_SetupRun_Default(){ScriptRun='if test "$1" == ""thenecho "$WINE_LOADER Features:Reinsert default registry: $WINE_LOADER --reregister"echo "Install .reg with regapi: $WINE_LOADER regapi <regfilename.reg>"echo "Install .reg with regedit: $WINE_LOADER regedit [regfilename.reg]"echo "Install a .dll with regedit: $WINE_LOADER regsvr32 [filename.dll]"echo "Start winecfg: $WINE_LOADER winecfg"echo "Log to file: $WINE_LOADER log <normal params>"echo " eg: $WINE_LOADER log -debugmsg=+ddraw,+err -- hl.exe -console"echo " "fiif test "$1" == "regapi"thenshiftif "$ConfigurePrefix/bin/regapi" -- setValue -force < "$1" &>$WINEPREFIX/reglogthenecho "Installed ..."elseecho "Failed ... Log file is: $WINEPREFIX/reglog"fiexitelif test "$1" == "regedit"thenshiftif [ -r "$1" ]thenif "$ConfigurePrefix/bin/regedit" "$1" &>$WINEPREFIX/reglogthenecho "Installed ..."elseecho "Failed ... Log file is: $WINEPREFIX/reglog"fielse"$ConfigurePrefix/bin/regedit"fiexitelif test "$1" == "regsvr32"thenshiftif "$ConfigurePrefix/bin/regsvr32" "$1"then echo "DLL registered ..."else echo "Failed ..."fiexitelif test "$1" == "winecfg"then"$ConfigurePrefix/bin/winecfg"exitfiif test -n "$DoGdb"thengdb "$ConfigurePrefix/bin/$WineExecName"elif test -n "$DoLog"then"$ConfigurePrefix/bin/$WineExecName" "$@" &>"$WINEPREFIX/winelog"echo "Logfile saved as: $WINEPREFIX/winelog"else"$ConfigurePrefix/bin/$WineExecName" "$@"fi'}function LScript_SetupRun(){LScript_SetupRun_Default}function CreateLauncherProfile(){echo "#!/bin/bash"LProfile_CreateFunc SetupVarsLProfile_CreateFunc TestConfigUpdateLProfile_CreateFunc ConfigUpdate}function LScript_SetupPreConfig_Default(){ScriptPreConfig='unset DoLogtest "$1" == "log" && shift && export DoLog="1"unset DoGdbtest "$1" == "gdb" && shift && echo "to start debugging write: r $@" && sleep 2 && export DoGdb="1"unset ReRegtest "$1" == "--reregister" && shift && export ReReg="1"'}function LScript_SetupPreConfig(){LScript_SetupPreConfig_Default}function CreateLauncherScript(){mkdir "$ConfigurePrefix/bin/WineCVSFunctions" &>/dev/null && chmod a+rx "$ConfigurePrefix/bin/WineCVSFunctions" &>/dev/nullcp -f "$FunctionDir/Defaults" "$ConfigurePrefix/bin/WineCVSFunctions/" || Error "Could not copy Defaults file"chmod a+r "$ConfigurePrefix/bin/WineCVSFunctions/Defaults"LScript_SetupPreConfigLScript_SetupRunecho -e "#!/bin/bash. \"$ConfigurePrefix/bin/WineCVSFunctions/Defaults\". \"$ConfigurePrefix/bin/WineCVSFunctions/$ScriptName\"SetupVars$ScriptPreConfigif TestConfigUpdatethenif SetupRunTermthenunset BASH_ENV\$RunTerm bash --noprofile --norc -c '. \"$ConfigurePrefix/bin/WineCVSFunctions/Defaults\"RunsInX=\"1\". \"$ConfigurePrefix/bin/WineCVSFunctions/$ScriptName\"rm -f \"\$HOME/.WineCVS_Result$ScriptName\"ConfigUpdate && touch \"\$HOME/.WineCVS_Result$ScriptName\"DoExit'test -e \"\$HOME/.WineCVS_Result\" && rm -f \"\$HOME/.WineCVS_Result$ScriptName\" || exitelseConfigUpdate || exitfifi$ScriptRun" >"$CompileRootDir/.TempLauncher"CreateLauncherProfile >"$ConfigurePrefix/bin/WineCVSFunctions/$ScriptName"}function ErrMsgMake_Default (){if ErrMsgSearch "Segmentation fault"thenErrMsgAddLine "GCC crashed. This can be caused by a number of things. I suggest"ErrMsgAddLine "trying again, and if it continues to crash, try upgrading GCC"elif ErrMsgSearch "cvs \[update aborted\]"thenErrMsgAddLine "CVS socket EOF problem"ErrMsgAddLine "This might be caused by the CVS server being busy - try again a few times"ErrMsgAddLine "run the script like this: $ScriptName"elif ErrMsgSearch "GL/glu.h"thenErrMsgAddLine "Could not find <include>/GL/glu.h"ErrMsgAddLine "You are missing the GLU devel package. This is typically:"ErrMsgAddLine "MesaGLU-devel, libMesaGLU1-devel or similar"ErrMsgAddLine "Use the package manager of your distribution to locate and install"ErrMsgAddLine "the package. Then rerun the script"elif ErrMsgSearch "Terminated"thenErrMsgAddLine "Terminated prematurely - did you kill make?"ErrMsgAddLine "Try running the script again."elif ErrMsgSearch "could not open .so"thenErrMsgAddLine "Dll compilation error"ErrMsgAddLine "Try running ./make_dlls in $CompileRootDir/$CVSCheckOutDir/dlls as root"ErrMsgAddLine "Then run this script again. If that doesn't solve the prob, try this:"ErrMsgAddLine "You need to compile the needed dll manually. My guess is you need"TempStr="`tail -n 10 \"$ErrorLogFile\" 2>/dev/null|grep \"could not open .so\"|cut -d \" \" -f 7`"ErrMsgAddLine "this dll: $TempStr"TempStr=$(echo "$TempStr"|cut -d "." -f 1)ErrMsgAddLine "I suggest you go to $CompileRootDir/$CVSCheckOutDir/dlls and look for $TempStr"ErrMsgAddLine "Then manually \"make\", and link the compiled .so to the parent dir."unset TempStrelif ErrMsgSearch "\.y:"thenErrMsgAddLine ".y compile errors"ErrMsgAddLine "This is normally caused by your bison version being out of date or"ErrMsgAddLine "in some cases too new. Try upgrading it"elif ( ErrMsgSearch "bison: Command not found" || ErrMsgSearch "yacc: Command not found" )thenErrMsgAddLine "bison not found"ErrMsgAddLine "You are missing an important tool for compilation to work. This tool"ErrMsgAddLine "is called \"bison\". Install it with your normal package manager, then"ErrMsgAddLine "run the script like this: $ScriptName recompile"elsereturn 1fireturn 0}function ErrMsgMake(){ErrMsgMake_Default}function TipsNInfoStart (){TipsNInfoStopif test "$ShowTips" -gt "0"thenecho "#!/bin/bashConfigDirName=\"$ConfigDirName\"ErrorLogFile=\"$ErrorLogFile\"CompileRootDir=\"$CompileRootDir\"ScriptName=\"$ScriptName\"ParentPID=\"$$\"" >"$CompileRootDir/.TipsScript"echo 'echo -e "\n"function AddLine (){echo -e " $1"TipLines=$[$TipLines+1]}sleep 2while [ "1" = "1" ];dotest -e "$CompileRootDir/.TipClose" && exittest "`ps p $ParentPID 2>/dev/null|wc -l`" -lt "2" && exitTipNum=$RANDOMlet "TipNum %= 15"TipLines="1"echo -en "\033[0;31m" # Redcase $TipNum in( "0" ){AddLine "Did you know Cedega is made by Transgaming?"AddLine "They have a binary version that works better than CVS,"AddLine "since it has better support for Installshield and copy"AddLine "protected games. Go to www.transgaming.com for more info"} ;; ( "1" ){AddLine "Cedega rox ... You should support TransGaming, that way you"AddLine "get voting rights, support and access to a binary enhanced"AddLine "version of Cedega."AddLine "Go to http://www.transgaming.com/ for more info."} ;; ( "2" ){AddLine "TIP: To force all your games to run in a window, uncomment"AddLine "the \"Desktop\" option in the configuration file."AddLine "Look under section [x11drv]."AddLine "Configuration file will be <Home>/$ConfigDirName/config"test -n "$ScriptName" && AddLine "It will be created the first time you run $ScriptName"} ;; ( "3" ){AddLine "TIP: If you have a WineX related problem you can check the"AddLine "forums on http://www.transgaming.org/"AddLine "There is a general discussion forum, as well as a forum for"AddLine "each game."} ;; ( "4" ){AddLine "TIP: You can set up your own wine drives, to any given linux"AddLine "path. Look at the top of the config file for more info."AddLine "Configuration file will be <Home>/$ConfigDirName/config"test -n "$ScriptName" && AddLine "It will be created the first time you run $ScriptName"} ;; ( "5" ){AddLine "TIP: For a list of games working in WineX, go to this site:"AddLine "http://www.transgaming.com/searchgame.php"AddLine "Copy by marking with mouse, and middle-click in browser."} ;; ( "6" ){AddLine "TIP: You can find an applications database on this page:"AddLine "appdb.winehq.com"AddLine "Copy by marking with mouse, and middle-click in browser."} ;; ( "7" ){AddLine "TIP: A useful Wine resource page:"AddLine "http://frankscorner.org/"AddLine "Copy by marking with mouse, and middle-click in browser."} ;; ( "8" ){AddLine "TIP: look, behind you\041"AddLine ""} ;; ( "9" ){AddLine "A transgaming membership only costs \$5 a month. You get:"AddLine " * Support with installation and configuration"AddLine " * Influence on development through voting"AddLine " * A binary version with more functionality"AddLine "For more info go to : http://www.transgaming.com/"} ;; ( "10" ){AddLine "TIP: Useful linux gaming pages:"AddLine "http://www.linux-gamers.net/"AddLine "http://www.linuxgames.com/"} ;; ( "11" ){AddLine "TIP: You can add an application default x11drv"AddLine "section like this: (eg. for bomberman)"AddLine "[AppDefaults\\\\\\\\bm95.exe\\\\\\\\x11drv]"AddLine "\"Desktop\" = \"640x480\""AddLine "--- You can put things from [x11drv] section here"} ;; ( "12" ){AddLine "TIP: You can get basic support for Wine/Cedega by IRC:"AddLine "Server: irc.freenode.net"AddLine "Cedega support: go to channel #cedega"AddLine "Wine support: go to channel #winehq"} ;; ( "13" ){if test -n "$ScriptName"thenAddLine "TIP: There is support for easy debug loggin in"AddLine "$ScriptName. Just add \"log\" as the first"AddLine "parameter, like this:"AddLine "$ScriptName log -- hl.exe -console"elseAddLine "no tip ..."fi} ;; ( "14" ){AddLine "TIP: Wine and Cedega differences:"AddLine "Wine is a \"windows compability layer\" that allows"AddLine "you to run .exe files in linux."AddLine "Cedega is a fork of Wine, with the main focus being"AddLine "on games. So Wine is best for apps, Cedega for games."}esacecho -e "\033[0m" # Cancel colortest ! -e "$CompileRootDir/.TipClose" && sleep 60test "`ps p $ParentPID 2>/dev/null|wc -l`" -lt "2" && exitfor i in `seq 1 $TipLines`;doecho -en "\033[0A\033[0M"donedone' >>"$CompileRootDir/.TipsScript" && chmod a+x "$CompileRootDir/.TipsScript"TipID="0"if test -e "$CompileRootDir/.TipsScript"then"$CompileRootDir/.TipsScript" 2>/dev/null &TipID="$!"fifi}function TipsNInfoStop (){if test -n "$TipID" -a "$TipID" -gt "0"thenecho $(ps | grep sleep) > "$CompileRootDir/.TipClose"kill $(ps | grep "sleep" | cut -d " " -f 1) &>/dev/nullwait "$TipID" &>/dev/nullecho -en "\033[0A\033[0M$CancelColor"TipID="0"firm -f "$CompileRootDir/.TipClose" &>/dev/null}function PreRun() # will be run before starting WineCVS install process{return 0}# CVS functions############################################################################ this function will override the existing checkout system if it returns# true. Remember to always return true, or use ExitNow on error# In case of success, set DoneOK="1"function CVS_Checkout_override(){false}## Step 0 ## Make uninstallfunction CVS_Uninstall_Default(){if make uninstall >$ErrorLogFile 2>&1thenState="1"elseState="1"ShowErrorNowecho -e "\n\nContinuing ... <Ctrl>+C to stop"sleep 4fi}function CVS_Uninstall(){CVS_Uninstall_Default}## Step 1 ## Clean upfunction CVS_Cleanup_Default(){make clean >/dev/null 2>&1}function CVS_Cleanup(){CVS_Cleanup_Default}## Step 2 ## checkout## Step 3 ## Configurefunction CVS_Configure_Default(){autoconfif ./configure --prefix=$ConfigurePrefix $ConfigureOptions >"$ErrorLogFile" 2>&1thenState="4"elseErrMsgMakeExitNowfi}function CVS_Configure(){CVS_Configure_Default}## Step 4 ## Make dependfunction CVS_MakeDepend_Default(){if $MAKE depend >"$ErrorLogFile" 2>&1thenState="5"elseErrMsgMakeExitNowfi}function CVS_MakeDepend(){CVS_MakeDepend_Default}## Step 5 ## Makefunction CVS_Make_Default(){if $MAKE >"$ErrorLogFile" 2>&1thenif test "$StripBinaries" -gt "0"thenTipsNInfoStopecho "Stripping binaries (Debug support is disabled then) ..."cd "$CompileRootDir/$CVSCheckOutDir/" && find -type f | xargs file -i | egrep 'application/(x-sharedlib|x-executable)' | sed 's/:.*//' | xargs strip &>/dev/nullfiState="6"elseErrMsgMakeExitNowfi}function CVS_Make(){CVS_Make_Default}## Step 6 ## Make installfunction CVS_Install_Default(){if make install >$ErrorLogFile 2>&1thenchmod a+rx "$ConfigurePrefix"(cd programs/regapi/ 2>/dev/null &&make >$ErrorLogFile 2>&1 && make install >$ErrorLogFile 2>&1)(cd programs/regedit/ 2>/dev/null &&make >$ErrorLogFile 2>&1 && make install >$ErrorLogFile 2>&1)if test "$AlwaysRecompile" = "1"thenmake clean >/dev/null 2>&1fi# cp -f "$CompileRootDir/$CVSCheckOutDir/winedefault.reg" "$ConfigurePrefix/bin/" && chmod a+r "$ConfigurePrefix/bin/winedefault.reg"sed "$DefaultRegSedScript" "$CompileRootDir/$CVSCheckOutDir/winedefault.reg" > "$ConfigurePrefix/bin/winedefault.reg" && chmod a+r "$ConfigurePrefix/bin/winedefault.reg" || cp -f "$CompileRootDir/$CVSCheckOutDir/tools/wine.inf" "$ConfigurePrefix/bin/winedefault.reg"cp -f "$CompileRootDir/$CVSCheckOutDir/documentation/samples/config" "$ConfigurePrefix/bin/" && chmod a+r "$ConfigurePrefix/bin/config"cp -f "$CompileRootDir/$CVSCheckOutDir/documentation/samples/win.ini" "$ConfigurePrefix/bin/" &>/dev/null && chmod a+r "$ConfigurePrefix/bin/win.ini"cp -f "$CompileRootDir/$CVSCheckOutDir/documentation/samples/system.ini" "$ConfigurePrefix/bin/" &>/dev/null && chmod a+r "$ConfigurePrefix/bin/system.ini"State="7"elseExitNowfi}function CVS_Install(){DefaultRegSedScript=""CVS_Install_Default}
Statystyki: autor: sirmacik — 25 wrz 2007, 12:11
Kod:
sudo apt-get install atari800
Kod:
sudo mkdir /usr/share/atari800
Kod:
sudo cp xf25.zip /usr/share/atari800
Kod:
cd /usr/share/atari800
Kod:
sudo unzip xf25.zip
Kod:
cd ~/
Kod:
touch .atari800.cfg
Kod:
gedit .atari800.cfg
Kod:
Atari 800 Emulator, Version 2.0.2OS/A_ROM=atariosa.romOS/B_ROM=/usr/share/atari800/ATARIOSB.ROMXL/XE_ROM=/usr/share/atari800/ATARIXL.ROMBASIC_ROM=/usr/share/atari800/ATARIBAS.ROM5200_ROM=5200.romH1_DIR=H2_DIR=H3_DIR=H4_DIR=HD_READ_ONLY=1PRINT_COMMAND=lpr %sSCREEN_REFRESH_RATIO=1MACHINE_TYPE=Atari XL/XERAM_SIZE=64DEFAULT_TV_MODE=PALDISABLE_BASIC=1ENABLE_SIO_PATCH=1ENABLE_H_PATCH=1ENABLE_P_PATCH=1ENABLE_NEW_POKEY=1STEREO_POKEY=0SPEAKER_SOUND=1
Kod:
mkdir .atari
Kod:
atari800
Statystyki: autor: Gość — 29 sie 2007, 21:16
Kod:
sudo apt-get install lua5.1 liblua5.1-0 liblua5.1-0-dev libboost-dev libboost-regex-dev libboost-thread-dev libmysql++-dev libgmp3-dev subversion autoconf automake make g++
Kod:
sudo apt-get install libxml2 libxml2-dev libxml++2.6-dev
Kod:
mkdir ~/otservcd ~/otserv
Kod:
svn checkout https://opentibia.svn.sourceforge.net/svnroot/opentibia/otserv/trunk
Kod:
cd ~/otserv/trunk
Kod:
./autogen.sh
Kod:
./configure --enable-mysql
Kod:
./configure --enable-sqlite
Kod:
./configure
Kod:
sudo aptitude search gccsudo aptitude install gcc
Kod:
make
Kod:
make cleanmake
Kod:
mkdir ~/.otserv/mv config.lua.dist ~/.otserv/config.lua
Kod:
./otserv
Kod:
cd nazwa_rozpakowanego_folderucd datacd monster
Kod:
sudo cp *.xml ~/otserv/trunk/data/monster
Kod:
./configure --enable-mysql
Kod:
checking for main in -lboost_thread-gcc-mt... no checking for main in -lboost_thread-mt... nochecking for main in -lboost_thread... yeschecking for main in -lboost_regex-gcc-mt... nochecking for main in -lboost_regex-mt... nochecking for main in -lboost_regex... yeschecking for main in -lboost_system-gcc-mt... nochecking for main in -lboost_system-mt... nochecking for main in -lboost_system... noconfigure: error: "Linking against boost::system library failed."debian:~/otserv/trunk#
Kod:
sudo su
Kod:
sudo aptitude install libboost-date-time-dev libboost-date-time1.34.1 libboost-dev libboost-regex-dev libboost-regex1.34.1 libboost-signals-dev libboost-signals1.34.1 libboost-thread-dev libboost-thread1.34.1 libxml2 liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 libsqlite0 libsqlite0-dev libsqlite3-0 libsqlite3-dev sqlite3
Kod:
cd ~
Kod:
wget http://kent.dl.sourceforge.net/sourceforge/asio/boost_asio_0_3_8.tar.gz
Kod:
wget http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_34_1.tar.gz
Kod:
tar -zxvf boost_asio_0_3_8.tar.gz
Kod:
tar -zxvf boost_1_34_1.tar.gz
Kod:
cp boost_asio_0_3_8/boost /usr/local/include -r
Kod:
cp boost_asio_0_3_8/libs boost_1_34_1 -r
Kod:
cd boost_1_34_1/libs/system/src/
Kod:
g++ -shared -Wl,-soname,libboost_system.so.1 -o libboost_system.so.1.0.1 error_code.cpp -lc -fPIC
Kod:
cp libboost_system.so.1.0.1 /usr/local/lib
Kod:
ln -s /usr/local/lib/libboost_system.so.1.0.1 /usr/local/lib/libboost_system.so
Kod:
ldconfig
Statystyki: autor: mcrulezz — 18 sie 2007, 01:40
2.Sciągamy wine-doorsNajprościej:
1. Włączamy Synaptic.
2. Wyszukujemy pakiet wine i instalujemy go.
3. Wyszukujemy pakiet libwine i instalujemy go.
4. Wyłączamy Synaptic.
Kod:
http://www.wine-doors.org/releases/wine-doors-0.1.tar.gz
Kod:
$ tar zxf wine-doors-0.1.tar.gz$ ls$ cd wine-doors-0.1/$ python setup.py install
Statystyki: autor: neverdie — 11 lip 2007, 15:00
Kod:
/usr/share/gtksourceview-1.0/language-specs/pascal.lang
i dodałem do niego lepszą obsługę podstawowej składni języka Pascal (wszystkie możliwe polecenia modułu System). Opierałem się o książkę "Turbo Pascal 7.0 z elementami programowania część 1", więc wydaje mi się, że są to wszystkie słowa kluczowe jakie mogą być. Jeżeli jednak znajdziecie jakieś nieobsługiwane słowo to piszcie w tym temacie.Statystyki: autor: Czocher — 26 maja 2007, 18:08
Kod:
sudo aptitude install makesudo aptitude install autoconfsudo aptitude install gccsudo aptitude install libpng12-devsudo aptitude install libtiff-devsudo aptitude install libjpeg-devsudo aptitude install xorg-devsudo aptitude install render-devsudo aptitude install gppsudo aptitude install g++sudo aptitude install libglib2.0-devsudo aptitude install libpango1.0-devsudo aptitude install libatk1.0-devsudo aptitude install libgtk2.0-devsudo aptitude install php5sudo aptitude install php5-clisudo aptitude install php5-dev
Kod:
cd /home/---twojuzytkownik---/Desktop/php-gtk-2.0.0alpha./buildconf./configuremakesudo make install
Kod:
sudo gedit /etc/php5/cli/php.ini
Kod:
(pierwsza linijka pliku) dodajemy:[code]extension=php_gtk2.so
Kod:
php sciezkadopliku
Statystyki: autor: Kildyt — 01 maja 2007, 16:56
Kod:
deb http://archive.canonical.com/ubuntu feisty-commercial main
Kod:
sudo apt-get install vmware-server vmware-tools-kernel-modules
Statystyki: autor: sylwester — 30 kwie 2007, 23:00
Kod:
tar -xzf clamtk-2.32-testing.tar.gz
Kod:
chmod +x clamtk-2.32-testing/clamtk
Kod:
sudo mv clamtk-2.32-testing/clamtk /usr/bin/
Kod:
clamtk
Kod:
sudo clamtk
Statystyki: autor: Gość — 29 kwie 2007, 21:01
Kod:
sudo apt-get install vmware-player
Kod:
sudo apt-get install qemu
Kod:
mkdir feisty-cleancd feisty-clean
Kod:
qemu-img create -f vmdk feisty.vmdk 8G
Kod:
pico feisty.vmx
Kod:
#!/usr/bin/vmwareconfig.version = "8"virtualHW.version = "4"scsi0.present = "false"memsize = "512" # ilość pamięci RAM w MBide0:0.present = "TRUE"ide0:0.fileName = "feisty.vmdk" # nazwa pliku dysku twardegoide1:0.present = "TRUE"ide1:0.fileName = "auto detect"ide1:0.deviceType = "cdrom-raw"floppy0.fileName = "A:"Ethernet0.present = "TRUE"displayName = "Ubuntu Feisty Fawn 7.04" # nazwa wyświetlana maszyny wirtualnejguestOS = "ubuntu" # typ zainstalowanego na maszynie wirtualnej systemupriority.grabbed = "normal"priority.ungrabbed = "normal"ide1:0.autodetect = "TRUE"floppy0.present = "FALSE"ide1:0.startConnected = "TRUE"ethernet0.addressType = "generated"uuid.location = "56 4d 72 3a d6 ba ac c7-27 b9 4c 2f 18 4f e7 59"uuid.bios = "56 4d 72 3a d6 ba ac c7-27 b9 4c 2f 18 4f e7 59"ethernet0.generatedAddress = "00:0c:29:4f:e7:59"ethernet0.generatedAddressOffset = "0"tools.syncTime = "TRUE"uuid.action = "create"sound.present = "TRUE" # ustaw FALSE aby wyłączyć dźwięksound.virtualDev = "es1371"checkpoint.vmState = ""
Kod:
ide1:0.fileName = "../../ubuntu-7.04-desktop-i386.iso" # nazwa pliku ISOide1:0.deviceType = "cdrom-image"
Statystyki: autor: Gość — 22 kwie 2007, 13:40
Kod:
sudo apt-get install linux-headers-`uname -r` build-essential gcc libqt3-mt libxalan110 libxerces27
Kod:
sudo gedit /etc/apt/sources.list
Kod:
deb http://download.virtualbox.org/virtualbox/debian lucid non-freedeb http://download.virtualbox.org/virtualbox/debian karmic non-freedeb http://download.virtualbox.org/virtualbox/debian jaunty non-freedeb http://download.virtualbox.org/virtualbox/debian intrepid non-freedeb http://download.virtualbox.org/virtualbox/debian hardy non-free
Kod:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Kod:
sudo apt-get update
Kod:
sudo apt-get upgrade
Kod:
sudo apt-get install virtualbox-3.2
Kod:
sudo dpkg -i /ścieżka/do/paczki.deb
Kod:
sudo groupadd vboxuserssudo usermod -G vboxusers -a USER
Kod:
VBoxManage controlvm NAZWASYSTEMUGOSCIA setvideomodehint 800 600 24
Kod:
VBoxManage sharedfolder add NAZWASYSTEMUGOSCIA -name NAZWAZASOBU -hostpath SCIEZKADOKATALOGU
Kod:
\\vboxsvr\NAZWAZASOBU
Kod:
net use x: \\vboxsvr\NAZWAZASOBU
Kod:
sudo mount -t vboxsf -o rw,uid=1000 NAZWAZASOBU /mnt/wspolne
Kod:
NAZWAZASOBU /mnt/wspolne vboxsf rw,uid=1000 0 0
Kod:
VBoxManage list vms
Kod:
VBoxManage sharedfolder remove NAZWASYSTEMUGOSCIA -name NAZWAZASOBU
Kod:
VBoxManage list usbhost
Kod:
sudo gedit /etc/fstab
Kod:
# VirtualBox USBnone /proc/bus/usb/ usbfs devgid=IDGRUPY,devmode=664 0 0
Kod:
sudo mount -a
Kod:
sudo gedit /etc/udev/rules.d/40-permissions.rules
Kod:
# USB devices (usbfs replacement)SUBSYSTEM=="usb_device", MODE="0664"
Kod:
# USB devices (usbfs replacement)SUBSYSTEM=="usb_device", MODE="0666"
Kod:
sudo gedit /etc/init.d/mountdevsubfs.sh
Kod:
#mkdir -p /dev/bus/usb/.usbfs#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644#ln -s .usbfs/devices /dev/bus/usb/devices#mount --rbind /dev/bus/usb /proc/bus/usb
Kod:
sudo gedit /etc/udev/rules.d/10-vboxdrv.rules
Kod:
MODE="0664"
Kod:
MODE="0666"
Kod:
VBoxManage clonevdi NazwaDyskuGościa.vdi KopiaDyskuGościa.vdi
Kod:
sudo /etc/init.d/vboxdrv setup
Kod:
sudo dpkg -r VirtualBox
Statystyki: autor: Ruri — 22 kwie 2007, 02:17
Kod:
about:config
Kod:
mousewheel.withnokey
Kod:
mousewheel.withnokey.numlines
Kod:
mousewheel.withnokey.sysnumlines
Statystyki: autor: qbsiu — 11 mar 2007, 21:02
Kod:
sudo apt-get install rsync
Kod:
rsync -v -r -u -t /media/usbdisk/work ~/Desktop/workrsync -v -r -u -t ~/Desktop/work /media/usbdisk/work
Kod:
mrrobby@Kubuntu-Desktop:~$ rsync -v -r -u -t /media/usbdisk/work ~/Desktop/workbuilding file list ... donesent 108 bytes received 20 bytes 256.00 bytes/sectotal size is 129998 speedup is 1015.61mrrobby@Kubuntu-Desktop:~$ rsync -v -r -u -t ~/Desktop/work /media/usbdisk/workbuilding file list ... done./projekt.odtsent 262 bytes received 48 bytes 620.00 bytes/sectotal size is 129998 speedup is 419.35
Kod:
#!/bin/bashsciezka=`pwd`KAT_1="$sciezka/work/"KAT_2="/home/mrrobby/Desktop/work/"OPTIONS='-v -r -u -t'if [ -e $KAT_1 ];then chmod -R 777 $KAT_1else mkdir $KAT_1 chmod -R 777 $KAT_1fiif [ -e $KAT_2 ];then chmod -R 777 $KAT_2else mkdir $KAT_2 chmod -R 777 $KAT_2firsync $OPTIONS $KAT_2 $KAT_1syncecho "Zaktualizowano katalog 1"sleep 3rsync $OPTIONS $KAT_1 $KAT_2syncecho "Zaktualizowano katalog 2"sleep 3
Statystyki: autor: MrRobby — 11 mar 2007, 08:37
Kod:
sudo vol_id -u /dev/hda1
Kod:
ls /dev/disk/by-uuid -l | grep hda1
Kod:
/dev/disk/by-uuid
Kod:
sudo nano /etc/fstab
Kod:
UUID=5A9A54EC9A54C663
Kod:
/dev/disk/by-uuid/5A9A54EC9A54C663
Kod:
sudo umount -a
Kod:
sudo mount -a
Kod:
gconf-editor
Statystyki: autor: cukier_lukier — 06 lut 2007, 13:54
Kod:
sudo apt-get install perl-tk
Kod:
sudo apt-get install sphinx2-bin
Kod:
sudo apt-get install festival
Kod:
wget http://heanet.dl.sourceforge.net/sourceforge/perlbox/perlbox-voice-0.09.noarch.debsudo dpkg -i perlbox-voice-0.09.noarch.deb
Kod:
say <i dalej wpisujemy tekst>
Kod:
say `i tutaj komenda`
Kod:
say `ls -l ~/`
Kod:
search - mozilla-firefox http://google.pl
Kod:
mail - mozilla-thunderbird
Kod:
music - audacious -p
Statystyki: autor: Gość — 01 lut 2007, 21:07
Kod:
~/.wine/drive_c/windows/system
Kod:
MSACM.msgsm610=msgsm32.acm
Kod:
enable outgoing voice communicationsuse push-to-talk keyPlay key clicks
Statystyki: autor: Pakos — 18 sty 2007, 12:12
Kod:
sudo gedit /etc/apt/sources.list
Kod:
deb http://asher256-repository.tuxfamily.org edgy main dupdate frenchdeb http://asher256-repository.tuxfamily.org ubuntu main dupdate french
Kod:
sudo apt-get update
Kod:
sudo apt-get install alltray
Kod:
alltray nazwa_aplikacji
Statystyki: autor: kkaroll — 11 sty 2007, 22:41
Kod:
sudo apt-get install cups-pdf
Teraz otworzy nam się panel administracyjny www do obsługi serwera wydruku Cups.
Statystyki: autor: patrykga — 11 sty 2007, 17:34
Statystyki: autor: gold_digger — 06 sty 2007, 21:26