Kod:
sudo install scrcpy-server.jar /usr/local/bin/scrcpy-server.jar
Kod:
sudo apt install adb ffmpeg libsdl2-2.0.0 make gcc pkg-config meson ninja-build libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev
Kod:
meson build --buildtype release --strip -Db_lto=true -Dprebuilt_server=../scrcpy-server.jarcd buildninjasudo ninja install
Kod:
scrcpy
Kod:
adb tcpip 5555
Kod:
adb connect <adres_IP>:5555
Kod:
scrpy
Statystyki: autor: yacup — 07 gru 2019, 19:40
Kod:
#!/bin/shclearread -p "This script installs Apache2, Mariadb Server, PHP and Zoneminder 1.32.x on Ubuntu 18.04 ...Press Enter to continue or Ctrl + c to quit" nothingclearread -p "You must be logged in as root using sudo su ...Press Enter to continue or Ctrl + c to quit" nothingapt install -y apache2 php mariadb-server php-mysql libapache2-mod-php7.2clearread -p "Next secure MySQL server by entering requested information. Press enter to continue" nothingmysql_secure_installationclearread -p "Next we will add the PPA repository, install and configure the system to run Zoneminder. Press enter to continue" nothingapt install -y software-properties-commonclearadd-apt-repository ppa:iconnor/zoneminder-1.32apt updateclearawk '$0="date.timezone = "$0' /etc/timezone >> /etc/php/7.2/apache2/php.iniclearapt install -y zonemindersystemctl enable zoneminderservice zoneminder startadduser www-data videoadduser www-data maila2enconf zonemindera2enmod rewritechown -R www-data:www-data /usr/share/zoneminder/service apache2 reloadclearread -p "Install complete.Press enter to continue" nothingclear
Kod:
sudo chmod +x /ścieżka_do_skryptu/start.sh
Kod:
sudo su/bin/sh /ścieżka_do_skryptu/start.sh
Kod:
sudo nano /etc/apache2/ports.conf
Kod:
Listen 80
Kod:
sudo service apache2 restart
Kod:
sudo service apache2 statusapache2ctl configtest
Kod:
tail -f /var/log/syslog
Kod:
sudo service zoneminder restart
Kod:
/var/cache/zoneminder/events
Kod:
/media/hdd
Kod:
mkdir -p /media/hdd/zoneminder/eventsmkdir -p /media/hdd/zoneminder/images
Kod:
sudo chown -R www-data:www-data /media/hdd/zoneminder/eventssudo chown -R www-data:www-data /media/hdd/zoneminder/images
Kod:
sudo chmod 777 /media/hdd/zoneminder/eventssudo chmod 777 /media/hdd/zoneminder/images
Kod:
cd /etc/zm/conf.dsudo nano 01-system-paths.conf
zmieniamy na:ZM_DIR_EVENTS=/var/cache/zoneminder/events
ZM_DIR_IMAGES=/var/cache/zoneminder/images
zapisujemy w nano ctrl+x ...t...enterZM_DIR_EVENTS=/media/hdd/zoneminder/events
ZM_DIR_IMAGES=/media/hdd/zoneminder/images
Kod:
sudo rm -r /var/cache/zoneminder/eventssudo rm -r /var/cache/zoneminder/images
Kod:
sudo apt-get updatesudo apt-get install ssmtpsudo apt-get install mailutils
Kod:
sudo nano /etc/ssmtp/ssmtp.conf
hostname można odczytać w pliku : /etc/hostnameroot=XXXXX@linux.pl
mailhub=mail.linux.pl:587
hostname=XXXXX
RewriteDomain=linux.pl
UseSTARTTLS=YES
UseTLS=YES
AuthUser=XXXXX@linux.pl
AuthPass=nasze_hasło_do_email
DEBUG=yes
Kod:
sudo nano /etc/ssmtp/revaliases
Żeby program ZM poprawnie wysyłał e-mail musi ta opcja działać także z terminala. Sprawdzamy więc wysyłkę pod jakiś adres user@gmail.com to tylko przykład:root:XXXXX@linux.pl:mail.linux.pl:587
www-data:XXXXX@linux.pl:mail.linux.pl:587
Kod:
echo "Hello, World" | mail -s "My email check" user@gmail.com
MESSAGE_ADDRESS - podobnie jak w opcji : EMAIL_ADDRESSHere are the first and the the highest score image in the alarm: %EI1% %EIM%
Kod:
sudo service zoneminder restart
Kod:
sudo service zoneminder restart
Kod:
sudo nano /etc/php/7.2/apache2/php.ini
Statystyki: autor: kobrawerde — 05 sie 2019, 22:45
Statystyki: autor: chriso — 01 mar 2018, 22:26
Kod:
sudo apt update
Kod:
sudo apt upgrade
Kod:
sudo apt-get install -y build-essential autoconf libtool libusb-1.0-0-dev portaudio19-dev git automake
Kod:
git clone http://github.com/arvydas/boblight
Kod:
cd boblight
Kod:
./autogen.sh
Kod:
./configure --without-x11 --prefix=/usr
Kod:
make
Kod:
sudo make install
Kod:
sudo nano /etc/boblight.conf
Kod:
################################################################## boblight.conf## Designed for LightPack with Speedys boblight daemon## https://code.google.com/p/light-pack/# https://github.com/timsat/boblight-lightpack/wiki/Configuration## Andrew Pawelski# 4th October 2013##################################################################[global]interface 127.0.0.1port 19333[device]name LP1channels30typelightpackoutput /dev/ttyUSB0prefix 41 64 61 00 18 4Dinterval20000rate 115200delayafteropen 100000#bus 1#address 6#debug true [color]nameredrgbFF0000gamma1.6adjust1.0blacklevel 1.0[color]namebluergb0000FFgamma1.6adjust1.0blacklevel 1.0[color]namegreenrgb00FF00gamma1.6adjust 1.0blacklevel 1.0# Bottom Start[light]name start1color red LP1 1color green LP1 2color blue LP1 3hscan 33.3 66.7vscan 95 100[light]name start2color red LP1 4color green LP1 5color blue LP1 6hscan 0 33.3vscan 95 100# Right Side[light]name right1color red LP1 7color green LP1 8color blue LP1 9hscan 0 5vscan 50 100[light]name right2color red LP1 10color green LP1 11color blue LP1 12hscan 0 5vscan 0 50# Top[light]name top1color red LP1 13color green LP1 14color blue LP1 15hscan 0 33.3vscan 0 5[light]name top2color red LP1 16color green LP1 17color blue LP1 18hscan 33.3 66.7vscan 0 5[light]name top3color red LP1 19color green LP1 20color blue LP1 21hscan 66.7 100vscan 0 5# Left Side[light]name left1color red LP1 22color green LP1 23color blue LP1 24hscan 95 100vscan 0 50[light]name left2color red LP1 25color green LP1 26color blue LP1 27hscan 95 100vscan 50 100# Bottom End[light]name end1color red LP1 28color green LP1 29color blue LP1 30hscan 66.7 100vscan 95 100
Kod:
sudo useradd -r -s /bin/false boblightd
Kod:
sudo nano /etc/init.d/boblight
Kod:
#!/bin/sh# INIT INFO# Provides: boblightd# Default-Start: 2 3 4 5# Default-Stop: 0 1 6# Short-Description: boblightd daemon# Description: Boblight daemon### END INIT INFOPATH=/usr/local/bin:/bin:/usr/binNAME=boblightdDAEMON=/usr/bin/$NAMEPIDFILE=/var/run/$NAME.pidDESC="boblight daemon"USER=boblightd[ -x "$DAEMON" ] || exit 0. /lib/lsb/init-functionscase "$1" in start) # master switch log_daemon_msg "Starting $DESC" "$NAME" /sbin/start-stop-daemon --start --exec $DAEMON --background --make-pidfile --pidfile $PI$ log_end_msg $? ;; stop) # master switch log_daemon_msg "Stopping $DESC" "$NAME" /sbin/start-stop-daemon --stop --pidfile $PIDFILE --chuid $USER --exec $D$ /bin/rm -f $PIDFILE log_end_msg $? ;; reload|restart) $0 stop && $0 start ;; status) status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|status}" >&2 exit 1 ;;esacexit 0
Kod:
sudo chmod 755 /etc/init.d/boblight
Kod:
sudo update-rc.d boblight defaults
Kod:
sudo service boblight startsudo service boblight stopsudo service boblight restart
Statystyki: autor: ddd — 06 cze 2017, 13:51
Kod:
sudo apt-get install libdvdread4sudo /usr/share/doc/libdvdread4/install-css.sh
Kod:
sudo: /usr/share/doc/libdvdread4/install-css.sh: nie znaleziono polecenia
Kod:
sudo apt-get install sudo apt-get install ubuntu-restricted-extras
Kod:
sudo /usr/share/doc/libdvdread4/install-css.sh
Kod:
sudo apt-get install libdvdread4sudo /usr/share/doc/libdvdread4/install-css.shsudo apt-get install libdvdread4sudo /usr/share/doc/libdvdread4/install-css.sh
Kod:
sudo apt-get install libdvd-pkg
Kod:
sudo /usr/lib/libdvd-pkg/b-i_libdvdcss.shlibdvd-pkg: Downloading orig source...I: libdvdcss_1.4.0/usr/bin/wget --tries=3 --timeout=40 --read-timeout=40 --continue -O libdvdcss_1.4.0.orig.tar.bz2 \ http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2 \ || /usr/bin/uscan --noconf --verbose --rename --destdir=/usr/src/libdvd-pkg --check-dirname-level=0 --force-download --download-current-version /usr/share/libdvd-pkg/debian--2017-03-19 06:58:57-- http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2Translacja download.videolan.org (download.videolan.org)... 88.191.250.2, 2a01:e0d:1:3:58bf:fa02:c0de:5Łączenie się z download.videolan.org (download.videolan.org)|88.191.250.2|:80... połączono.Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OKDługość: 364373 (356K) [application/octet-stream]Zapis do: `libdvdcss_1.4.0.orig.tar.bz2'libdvdcss_1.4.0.ori 100%[===================>] 355,83K 686KB/s in 0,5s 2017-03-19 06:58:57 (686 KB/s) - zapisano `libdvdcss_1.4.0.orig.tar.bz2' [364373/364373]libdvd-pkg: Checking orig.tar integrity.../usr/src/libdvd-pkg/libdvdcss_1.4.0.orig.tar.bz2: DOBRZElibdvd-pkg: Unpacking and configuring...libdvd-pkg: Building the package... (it may take a while)libdvd-pkg: Build log will be saved to /usr/src/libdvd-pkg/libdvdcss2_1.4.0-1~local_amd64.buildCurrent: = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_resource,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap,cap_mac_override,cap_mac_admin,cap_syslog,cap_wake_alarm,cap_block_suspend,37+epBounding set =cap_chown,cap_dac_override,cap_fowner,cap_wake_alarm,cap_block_suspend,37Securebits: 024/0x14/5'b10100 secure-noroot: no (unlocked) secure-no-suid-fixup: yes (unlocked) secure-keep-caps: yes (unlocked)uid=0(root)gid=0(root)groups=0(root)libdvd-pkg: Installing...Wybieranie wcześniej niewybranego pakietu libdvdcss-dev:amd64.(Odczytywanie bazy danych ... 330970 plików i katalogów obecnie zainstalowanych.)Przygotowywanie do rozpakowania pakietu .../libdvdcss-dev_1.4.0-1~local_amd64.deb ...Rozpakowywanie pakietu libdvdcss-dev:amd64 (1.4.0-1~local) ...Wybieranie wcześniej niewybranego pakietu libdvdcss2:amd64.Przygotowywanie do rozpakowania pakietu .../libdvdcss2_1.4.0-1~local_amd64.deb ...Rozpakowywanie pakietu libdvdcss2:amd64 (1.4.0-1~local) ...Konfigurowanie pakietu libdvdcss2:amd64 (1.4.0-1~local) ...Konfigurowanie pakietu libdvdcss-dev:amd64 (1.4.0-1~local) ...Przetwarzanie wyzwalaczy pakietu libc-bin (2.23-0ubuntu5)...
Statystyki: autor: Tarzan1984 — 19 mar 2017, 07:14
Kod:
sudo apt-get install kdenlive
Kod:
sudo apt-get install kde-runtime
Statystyki: autor: darek334 — 21 sie 2016, 22:07
Statystyki: autor: fabians — 05 cze 2014, 18:33
Kod:
chromium --user-agent="Android"
Statystyki: autor: Padowan — 21 gru 2013, 18:36
Kod:
sudo apt-get install gnome-keyringsudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
Statystyki: autor: neo86 — 25 sty 2013, 15:06
Kod:
#!/bin/shDRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.sofor x in $(objdump -d $DRIVER|awk '/call/&&/EnableLogo/{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do sed -i "s/$x/\x90\x90\x90\x90\x90/g" $DRIVERdone
Kod:
sudo sh ~/Pulpit/naprawa.sh
Statystyki: autor: gitarzystaa — 30 cze 2012, 04:37
Kod:
cd Pobrane/
Kod:
tar xzvf Ooo_3.3.0_Linux_x86_install-deb_pl.tar.gz
Kod:
cd OOO330_m20_native_packed-1_pl.9567
Kod:
sudo ./setup
Statystyki: autor: rafaljon3 — 14 lut 2012, 04:28
Kod:
sudo apt-get updatesudo apt-get upgradesudo rebootsudo apt-get install ssh python-software-propertiessudo add-apt-repository ppa:team-xbmc/unstablesudo apt-get updatesudo apt-get install libbluray1 i965-va-driver vainfo libmad0 gtk2-engines-pixbuf
Kod:
vainfo: VA API version: 0.32vainfo: Driver version: i965 Driver 0.1vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD
Kod:
vainfo: VA API version: 0.32vainfo: Driver version: i965 Driver 0.1vainfo: Supported profile and entrypoints VAProfileMPEG2Simple :VAEntrypointVLD VAProfileMPEG2Main :VAEntrypointVLD VAProfileH264Baseline :VAEntrypointVLD VAProfileH264Main :VAEntrypointVLD VAProfileH264High :VAEntrypointVLD
Kod:
cd ~mkdir Buildscd Buildssudo apt-get build-dep libva1 i965-va-drivergit clone git://anongit.freedesktop.org/vaapi/libvacd libvagit checkout vaapi-ext./autogen.sh --prefix=/usrmakesudo make installcd..git clone git://anongit.freedesktop.org/vaapi/intel-drivercd intel-drivergit checkout vaapi-extwget http://paste.kde.org/184874/raw/ -O ./increase_micro_version.patchautoreconf -v --installpatch -p1 < ./increase_micro_version.patch./configure --prefix=/usrmakesudo make installvainfo | grep i965
Kod:
cd /usr/local/srcgit clone git://git.ffmpeg.org/rtmpdumpcd rtmpdumpwget http://sd-xbmc.googlecode.com/files/rtmpdump-git20111213-0001-weebtv.patchpatch -p1 rtmpdump-git20111213-0001-weebtv.patchmakemake installcp /usr/local/lib/librtmp.* /usr/lib/
Kod:
sudo apt-get install git-core make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs python-dev libyajl-dev libboost-thread-dev libplist-dev libusb-dev libudev-dev autopoint python
Kod:
sudo apt-get install libva-dev
Kod:
sudo apt-get install libvdpau-dev
Kod:
git clone https://github.com/opdenkamp/xbmc.gitcd xbmcwget http://sd-xbmc.googlecode.com/files/xbmc-70537d2-500-Vividas-demuxer-ffmpeg-support.patchpatch -p1 < xbmc-70537d2-500-Vividas-demuxer-ffmpeg-support.patch
Kod:
./bootstrap./configure --help
Kod:
./configure --enable-rtmp --enable-vaapimake -j4sudo make install
Kod:
wget http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.5.tar.gztar xvzf pycrypto-2.5.tar.gzcd pycrypto-2.5python setup.py buildsudo python setup.py installcd $HOMEwget http://sd-xbmc.googlecode.com/files/repository.sd-addons.eu.zip
Statystyki: autor: szpecgos — 31 sty 2012, 22:00
Kod:
sudo gedit /etc/pulse/default.pa
Zamienić ją naload-module module-udev-detect
I cieszymy się pięknym dźwiękiemload-module module-udev-detect tsched=0
Statystyki: autor: necrordian — 07 lis 2011, 23:53
Kod:
OverrideGPUValidation=trueEnableLinuxHWVideoDecode=1
Statystyki: autor: [r4] — 12 lut 2011, 13:54
Kod:
yaro@yaro-think:~$ sudo bash[sudo] password for yaro:root@yaro-think:~# apt-get install vpncCzytanie list pakietów... GotoweBudowanie drzewa zależności Odczyt informacji o stanie... GotoweSugerowane pakiety: resolvconfZostaną zainstalowane następujące NOWE pakiety: vpnc0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 11 nieaktualizowanych.Konieczne pobranie 82,1kB archiwów.Po tej operacji zostanie dodatkowo użyte 270kB miejsca na dysku.Pob: 1 http://pl.archive.ubuntu.com/ubuntu/ maverick/universe vpnc i386 0.5.3r449-2 [82,1kB]Pobrano 82,1kB w 0s (530kB/s)Zaznaczenie poprzednio niezaznaczonego pakietu vpnc.(Odczytywanie bazy danych ... 210060 plików i katalogów obecnie zainstalowanych.)Rozpakowanie vpnc (z .../vpnc_0.5.3r449-2_i386.deb) ...Przetwarzanie wyzwalaczy dla man-db...Konfigurowanie vpnc (0.5.3r449-2) ...
Wchodzimy na strone:Kod:
root@yaro-think:~# vpncEnter IPSec gateway address: [Server]Enter IPSec ID for 68.68.107.101: [Group Name]Enter IPSec secret for hss@68.68.107.101: [Secret]Enter username for 68.68.107.101: [Account]Enter password for rghhub@68.68.107.101: [Password]VPNC started in background (pid: 11757)...root@yaro-think:~#
Kod:
vpnc-connect
Kod:
vpnc-disconnect
Statystyki: autor: Sir_Yaro — 05 lut 2011, 17:25
Kod:
sudo apt-get install libasound2-plugin-equal
Kod:
gedit ~/.asoundrc
Kod:
ctl.equal { type equal; } pcm.plugequal { type equal; # Modify the line below if you don't # want to use sound card 0. slave.pcm "plug:dmix"; } # pcm.equal { # Or if you want the equalizer to be your # default soundcard uncomment the following # line and comment the above line. pcm.!default { type plug; slave.pcm plugequal; }
Kod:
pcm.plugequal { type equal; slave.pcm "plughw:0,0";}
Naszym oczom ukazują się znajome słupki equalizera no i to tyle teraz jak go zastosujecie zależy tylko od wasalsamixer -D equal
Statystyki: autor: Miziak — 21 lis 2010, 21:49
Kod:
scanimage >obraz.pnm
Kod:
scanimage --mode=Color >obraz_kolor.pnm
Kod:
sudo apt-get install imagemagick
Kod:
convert obraz.pnm obraz.pdf
Kod:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=obraz_zmniejszony.pdf obraz.pdf
Kod:
convert obraz1.pnm obraz2.pnm obraz.pdf
Statystyki: autor: tommy8482 — 21 paź 2010, 14:06
Kod:
sudo apt-get install mpdscribble
Kod:
mkdir ~/.mpdscribble ; cd ~/.mpdscribble ; touch mpdscribble.cache mpdscribble.conf mpdscribble.log
Kod:
gedit ~/.mpdscribble/mpdscribble.conf
Kod:
daemon_user = lamparciklog = syslogverbose = 1host = 127.0.0.1port = 6666[last.fm]verbose = 2url = http://post.audioscrobbler.com/username = lamparcikpassword = haslolamparcikacache = ~/.mpdscribble/mpdscribble.cachelog = ~/.mpdscribble/mpdscribble.log
Kod:
mpdscribble
Statystyki: autor: empitt — 28 maja 2010, 15:40
Port na którym serwer nasłu****e:/var/music
Sprawdzenie połączenia z serwerem:8888
Zmieniamy ścieżkę do folderu z muzyką zmieniając poniższą linięsudo gedit /etc/gnump3d/gnump3d.conf
Można również zmienić domyślny port zmieniając linię:root = /var/music
Server powinien od razu zaktualizować ustawienia, ale na wszelki wypadek restartujemy go:port = 8888
Jeśli chcemy aby jedynie ograniczona liczba użyszkodników miała dostęp do serwera zmieniamy (zamiast all wpisujemy kolejno adresy IP oddzielone średnikami):sudo /etc/init.d/gnump3d restart
Serwer powinien działać z dowolnego miejsca po wpisaniu w przegladarce naszego adresu IP wraz z portem.allowed_clients = all
Statystyki: autor: adso_ubuntu — 21 maja 2010, 12:33
Kod:
sudo apt-get install mpd
Kod:
mkdir -p ~/.mpd/music ~/.mpd/playlists
Kod:
ln -s ~/Muzyka ~/.mpd/music/Muzykaln -s /mnt/sda5/Mp3 ~/.mpd/music/Mp3
Kod:
gedit ~/.mpd/mpd.conf
Kod:
music_directory "~/.mpd/music"playlist_directory "~/.mpd/playlists"db_file "~/.mpd/tag_cache"log_file "~/.mpd/mpd.log"pid_file "~/.mpd/pid"state_file "~/.mpd/state"user "nazwa_użytkownika"bind_to_address "127.0.0.1"port "6666"input {plugin "curl"}audio_output {type "pulse"name "My Pulse Output"}mixer_type "software"filesystem_charset "UTF-8"id3v1_encoding "UTF-8"
Kod:
mpd --create-db ~/.mpd/mpd.conf
Kod:
sudo apt-get install sonata
Statystyki: autor: empitt — 17 maja 2010, 22:05
Kod:
sudo chmod +x chromfla.sh
Kod:
#!/bin/bashtemp="/tmp"plik="install_flash_player_10_linux.tar.gz"katalog="/usr/lib/chromium-browser/plugins"lib="libflashplayer.so"if [[ $USER != root ]]; thenecho ""echo "NIE masz praw do wykonywania tego skryptu! Uruchom go z prawami administratora (sudo)"else if [ -e $katalog/$lib ]; thenecho "Masz zainstalowany Flashplayer" elseif [ -e /usr/bin/wget ];thenecho "-------------------------------------"echo "INSTALACJA ROZPOCZETA, TRWA POBIERANIE FLASH PLAYERA..."cd $temp && wget -c http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_10_linux.tar.gzecho "TRWA WYPAKOWYWANIE PLIKOW..."tar -xf $plik if [ -e libflashplayer.so ]; thenmv libflashplayer.so $katalog/ if [ -e /usr/lib/chromium-browser/plugins/libflashplayer.so ]; then echo "TRWA SPRZATANIE PO PRACY..."rm $temp/$plikecho "GOTOWE, MOZNA ZAMKNAC OKNO KONSOLI"echo "INSTALACJA FLASH PLAYERA DLA CHROMIUM PRZEBIEGLA POMYSLNIE..." else echo "INSTALACJA NIEUDANA!" fi else echo "ROZPAKOWANIE NIE POWIODLO SIE..." fielseecho "Brakuje Ci pakietu \"wget\", instalator zainstaluje ten pakiet."sudo apt-get install -y wgetecho "Gotowe, wlacz program chromflash jeszcze raz."fi fi
Kod:
sudo ./chromfla.sh
Statystyki: autor: sibul — 30 kwie 2010, 18:55
Kod:
sudo apt-get install ubuntu-restricted-extras libdvdcss2 libxine1-ffmpeg w32codecs
Kod:
sudo apt-get install mplayer mencoder
Kod:
sudo apt-get install devede
Kod:
mplayer 'nazwa_filmy.avi'
Kod:
Playing nazwa_filmu.avi.AVI file format detected.[aviheader] Video stream found, -vid 0[aviheader] Audio stream found, -aid 1VIDEO: [XVID] 624x352 24bpp 23.976 fps 966.0 kbps (117.9 kbyte/s)Clip info: Software: transcode-1.0.4 SUB: Added subtitle file (1): ./house2.txt ==========================================================================Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ====================================================================================================================================================Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ==========================================================================AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is 1.77:1 - prescaling to correct movie aspect. VO: [vdpau] 624x352 => 624x352 Planar YV12 A: 2.7 V: 2.7 A-V: 0.004 ct: 0.002 66/ 66 12% 4% 0.9% 3 0 Exiting... (Quit)
Kod:
mencoder nazwa_filmu.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=X -oac copy -vf scale=xxx:yyy,expand=xxx:zzz:::1 -zoom -sub nazwa_napisów.txt -subfont-text-scale 3 -subcp cp1250 -subfont-encoding unicode -o nazwa_gotowego_filmu.avi
Statystyki: autor: makson — 27 gru 2009, 13:53
Kod:
#!/bin/bashecho "Wprowadź położenie katalogu źródłowego"read srcecho "Wprowadź położenie katalogu docelowego"read dstecho "Kopiowanie rozpoczęte"rsync -rvtW --delay-updates --modify-window=1 "${src}" "${dst}"
Następnie zapisujemy plik, klikamy na ikonie prawym klawiszem myszy i w Właściwości>Uprawnienia zaznaczamy pole "Zezwolenie na wykonanie pliku jako programu"Statystyki: autor: digital_world — 16 gru 2009, 12:17
Kod:
#!/bin/sh# this script should convert files from FLV to WAV and then to MP3echo " "echo " Welcome to FLV to MP3 converter! version 0.1"echo " "infile_name="$@"# exit if the user did not enter anything:if [ -z "$infile_name" ]; then echo " " echo "You did not tell me the file name, so I will exit now." echo " " exitfiecho " "ffmpeg -i "$infile_name" -acodec pcm_s16le -ac 2 -ab 128k -vn -y "${infile_name%.flv}.wav"lame --preset cd "${infile_name%.flv}.wav" "${infile_name%.flv}.mp3"rm "${infile_name%.flv}.wav"echo " "echo "OK. I'm done! Have fun!"echo " "exit
Statystyki: autor: misiek431 — 14 gru 2009, 18:47
Kod:
sudo su
naciskamy enter.Kod:
mkdir /etc/adobe && touch /etc/adobe/mms.cfg && echo "OverrideGPUValidation=true" > /etc/adobe/mms.cfg
Kod:
exit
Kod:
PrawyAlt+PrintScreen+K
Kod:
sudo rm /etc/adobe/mms.cfgexit
Statystyki: autor: Admc — 31 paź 2009, 22:26
Kod:
/opt/google/picasa/3.0/wine/drive_c/Program Files/Google
Kod:
mkdir picasa && cd picasa && wget http://rs.nerdblog.pl/stable/latest/rsget-mod.sh && chmod +x rsget-mod.sh && ./rsget-mod.sh http://rs162.rapidshare.com/files/296832496/Picasa3.tar.gz && tar zxf Picasa3.tar.gz && sudo cp -R Picasa3/ /opt/google/picasa/3.0/wine/drive_c/Program\ Files/Google/ && cd .. && rm -r picasa && echo "Gotowe"
Statystyki: autor: szamot83 — 23 paź 2009, 16:15
Kod:
#!/bin/bashname=$(/usr/bin/zenity --entry --title="Nazwa filmu" --height=100 --width=300 --text="Podaj nazwę swojego filmu ")mkdir ~/tmp-"$name"cp /tmp/Fla* ~/tmp-"$name"/movie-flash.flvmplayer ~/tmp-"$name"/movie-flash.flv -vc null -ac null -dumpaudio -dumpfile ~/tmp-"$name"/audio-mp3.mp3lame --decode ~/tmp-"$name"/audio-mp3.mp3 -b 128 -o ~/tmp-"$name"/audio-wav.wavmencoder ~/tmp-"$name"/movie-flash.flv -o ~/tmp-"$name"/movie-avi.avi -ofps 22 -srate 44100 -ovc xvid -xvidencopts bitrate=1000 :max_bframes=0:quant_type=h263 : me_quality=4 -audiofile ~/tmp-"$name"/audio-wav.wav -oac lavc -lavcopts acodec=mp2:abitrate=128cp ~/tmp-"$name"/movie-avi.avi ~/Wideo/Pobrane/"$name".avirm ~/tmp-"$name"/movie-flash.flvrm ~/tmp-"$name"/movie-avi.avirm ~/tmp-"$name"/audio-mp3.mp3rm ~/tmp-"$name"/audio-wav.wavrm -r ~/tmp-"$name"/usr/bin/zenity --info --title="Konwersja filmu" --height=100 --width=300 --text="Konwersja zakończona powodzeniem"
Kod:
#!/bin/bashurl=$(/usr/bin/zenity --entry --title="Link do filmu" --height=100 --width=300 --text="Wklej tu link do filmu ")name=$(/usr/bin/zenity --entry --title="Nazwa filmu" --height=100 --width=300 --text="Podaj nazwę swojego filmu ")mkdir ~/tmp-"$name"youtube-dl "$url" -b -o ~/tmp-"$name"/movie-flash.flvmplayer ~/tmp-"$name"/movie-flash.flv -vc null -ac null -dumpaudio -dumpfile ~/tmp-"$name"/audio-mp3.mp3lame --decode ~/tmp-"$name"/audio-mp3.mp3 -b 128 -o ~/tmp-"$name"/audio-wav.wavmencoder ~/tmp-"$name"/movie-flash.flv -o ~/tmp-"$name"/movie-avi.avi -ofps 22 -srate 44100 -ovc xvid -xvidencopts bitrate=1000 :max_bframes=0:quant_type=h263 : me_quality=4 -audiofile ~/tmp-"$name"/audio-wav.wav -oac lavc -lavcopts acodec=mp2:abitrate=128cp ~/tmp-"$name"/movie-avi.avi ~/Wideo/Pobrane/"$name".avirm ~/tmp-"$name"/movie-flash.flvrm ~/tmp-"$name"/movie-avi.avirm ~/tmp-"$name"/audio-mp3.mp3rm ~/tmp-"$name"/audio-wav.wavrm -r ~/tmp-"$name"/usr/bin/zenity --info --title="Konwersja filmu" --height=100 --width=300 --text="Konwersja zakończona powodzeniem"
Kod:
url=$(/usr/bin/zenity --entry --title="Link do filmu" --height=100 --width=300 --text="Wklej tu link do filmu ")
Kod:
name=$(/usr/bin/zenity --entry --title="Nazwa filmu" --height=100 --width=300 --text="Podaj nazwę swojego filmu ")
Kod:
mkdir ~/tmp-"$name"
Kod:
youtube-dl "$url" -b -o ~/tmp-"$name"/movie-flash.flv
Kod:
mplayer ~/tmp-"$name"/movie-flash.flv -vc null -ac null -dumpaudio -dumpfile ~/tmp-"$name"/audio-mp3.mp3lame --decode ~/tmp-"$name"/audio-mp3.mp3 -b 128 -o ~/tmp-"$name"/audio-wav.wav
Kod:
mencoder ~/tmp-"$name"/movie-flash.flv -o ~/tmp-"$name"/movie-avi.avi -ofps 22 -srate 44100 -ovc xvid -xvidencopts bitrate=1000 :max_bframes=0:quant_type=h263 : me_quality=4 -audiofile ~/tmp-"$name"/audio-wav.wav -oac lavc -lavcopts acodec=mp2:abitrate=128
Kod:
cp ~/tmp-"$name"/movie-avi.avi ~/Wideo/Pobrane/"$name".avi
Kod:
rm ~/tmp-"$name"/movie-flash.flvrm ~/tmp-"$name"/movie-avi.avirm ~/tmp-"$name"/audio-mp3.mp3rm ~/tmp-"$name"/audio-wav.wavrm -r ~/tmp-"$name"
Kod:
/usr/bin/zenity --info --title="Konwersja filmu" --height=100 --width=300 --text="Konwersja zakończona powodzeniem"
Statystyki: autor: vlogical — 06 paź 2009, 14:58
Kod:
sudo apt-get --purge remove nvidia-glx-180 nvidia-common nvidia-96-modaliases nvidia-71-modaliases nvidia-180-modaliases nvidia-173-modaliases
Kod:
sudo apt-get update && sudo apt-get install gcc build-essential
Kod:
sudo apt-get install linux-headers-`uname -r`
Kod:
cd ~
Kod:
wget http://us.download.nvidia.com/XFree86/Linux-x86/185.18.14/NVIDIA-Linux-x86-185.18.14-pkg1.run
Kod:
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/185.18.14/NVIDIA-Linux-x86_64-185.18.14-pkg2.run
Kod:
cd ~
Kod:
sudo chmod +x NVIDIA-Linux-x86-185.18.14-pkg1.run
Kod:
sudo chmod +x NVIDIA-Linux-x86_64-185.18.14-pkg2.run
Kod:
sudo /etc/init.d/gdm stop
Kod:
sudo sh ~/NVIDIA-Linux-x86-185.18.14-pkg1.run
Kod:
sudo sh ~/NVIDIA-Linux-x86_64-185.18.14-pkg2.run
Kod:
sudo reboot
Statystyki: autor: sibul — 03 lip 2009, 22:03
Kod:
sudo apt-get install firefox firebug
Kod:
wget '[ctrl+shift+v]'
Statystyki: autor: grappas — 11 cze 2009, 14:51
Kod:
sudo apt-get install mplayer w32codecs
Kod:
sudo apt-get install mplayer w64codecs
Kod:
[playlist]NumberOfEntries=1File1=http://213.251.138.121:8000/
Kod:
#EXTM3U#EXTINF:-1,Antyradio Krakówhttp://213.251.138.121:8000/
Kod:
http://213.251.138.121:8000/listen.pls
Kod:
mplayer adres
Statystyki: autor: grappas — 11 cze 2009, 14:35
Kod:
# sudo apt-get install padevchooser
Kod:
pulse
Statystyki: autor: szyms — 04 cze 2009, 16:02
Kod:
sudo nano /etc/apt/sources.list
Kod:
#XBMCdeb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ jaunty maindeb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu/ jaunty main
Kod:
wget -q -O - 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x6D975C4791E7EE5E' | sudo apt-key add -
Kod:
wget -q -O - 'http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xA956EB81318C7509' | sudo apt-key add -
Kod:
sudo aptitude update
Kod:
sudo aptitude install usplash-theme-xbmc-pulsating-logo xbmc xinit x11-xserver-utils linux-headers-$(uname -r) build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms icewm xterm alsa-utils preload envyng-core
Kod:
sudo update-alternatives --config usplash-artwork.so
Kod:
sudo update-initramfs -u
Kod:
envyng -t
Kod:
sudo reboot
Kod:
sudo alsa reloadsudo alsactl init
Kod:
alsamixer
Kod:
sudo alsactl store
Kod:
startx
Kod:
xbmc &
Kod:
sudo aptitude install xbmc-live python-apt
Statystyki: autor: szamot83 — 04 cze 2009, 15:20
Kod:
sudo gedit /etc/apt/sources.list
Kod:
deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty maindeb-src http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
Kod:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 6B15AB91951DC1E2
Kod:
sudo apt-get update && sudo apt-get upgrade
Kod:
sudo modprobe uinput
Kod:
modprobe uinput
Kod:
pactl load-module module-bluetooth-discover
Kod:
sudo gedit /etc/pulse/default.pa
Kod:
#.ifexists module-bluetooth-discover.so#load-module module-bluetooth-discover#.endif
Kod:
.ifexists module-bluetooth-discover.soload-module module-bluetooth-discover.endif
Statystyki: autor: zylx — 30 maja 2009, 22:58
Kod:
sudo apt-get install libv4l-0
Kod:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama
Kod:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
Kod:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so firefox
Kod:
env LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
Statystyki: autor: Sławomir Kosznik — 30 maja 2009, 19:37
Kod:
cd ~/.mozilla/firefox/alskdjflkasdf.default/Cache
Kod:
file * | grep Video >lista
Kod:
ls --sort=time $(cat lista | cut -d ":" -f1) >lista
Kod:
cp -v $(cat lista) ~/Folder
Kod:
cd ~/Folder
Kod:
sudo aptitude install ffmpeg
Kod:
mv -v stary_plik nowy_plik.flv
Kod:
ffmpeg -i plik_wejsciowy.flv plik_wyjsciowy.avi
Statystyki: autor: Gość — 18 lut 2009, 22:36
Kod:
ls /opt
Kod:
sudo update-alternatives --install "/usr/bin/java" "java" "/opt/NAZWA_FOLDERU_Z_JAVA/bin/java" 1
Kod:
sudo update-alternatives --set java /opt/NAZWA_FOLDERU_Z_JAVA/bin/java
Kod:
ruri@astaroth:~/ > ls /optcxgames jre1.6.0_14ruri@astaroth:~/ > sudo update-alternatives --install "/usr/bin/java" "java" "/opt/jre1.6.0_14/bin/java" 1 ruri@astaroth:~/ > sudo update-alternatives --set java /opt/jre1.6.0_14/bin/java Używanie "/opt/jre1.6.0_14/bin/java" jako dostarczającego "java".ruri@astaroth:~/ > java -version java version "1.6.0_14"Java(TM) SE Runtime Environment (build 1.6.0_14-b08)Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)ruri@astaroth:~/ >
Statystyki: autor: Ruri — 26 sty 2009, 12:40
Kod:
sudo mv ~/Pulpit/jre-*.bin /opt/
Kod:
sudo chmod +x /opt/jre-*.bin
Kod:
cd /opt
Kod:
sudo ./jre-*.bin
Kod:
sudo ln -s /opt/jre*/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins
Kod:
sudo rm /opt/jre-*.bin
Statystyki: autor: Ruri — 14 sty 2009, 19:15
Kod:
sudo apt-get install libasound2-plugins
Kod:
gedit ~/.asoundrc
Kod:
pcm.pulse { type pulse}ctl.pulse { type pulse}
Kod:
sudo apt-get install gstreamer0.10-plugins-good gstreamer0.10-pulseaudio
Kod:
gconftool -t string --set /system/gstreamer/0.10/default/audiosink pulsesinkgconftool -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc
Kod:
sudo apt-get install libao-pulse
Kod:
sudo gedit /etc/libao.conf
Kod:
default_driver=pulse
Kod:
sudo apt-get install libsdl1.2debian
Kod:
gedit ~/.bashrc
Kod:
export SDL_AUDIODRIVER=pulse
Wcześniej należy ustawić bibliotekę sdl (powyżej)Tą bibliotekę wykorzystuje np gra openarena.
Kod:
gedit ~/.openalrc
Kod:
(define devices '(sdl))
Kod:
gedit ~/.xine/config
Kod:
audio.driver:pulse
Statystyki: autor: spitf1r3 — 11 sty 2009, 14:58
Kod:
sudo cp ~/Pulpit/equalizer /usr/lib/rhythmbox/plugins -r
Statystyki: autor: EF — 23 gru 2008, 13:54
Kod:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
Statystyki: autor: sylwester — 15 gru 2008, 12:24
Kod:
piotr@sendmail-123:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/wxcampiotr@sendmail-123:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skypepiotr@sendmail-123:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skypepiotr@sendmail-123:~$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/mplayer tv:// -tv driver=v4l:width=640:height=480:device=/dev/video1
Statystyki: autor: sendmailerek — 14 lis 2008, 21:49
Kod:
sudo apt-get install libid3tag0
Kod:
wget http://prdownloads.sourceforge.net/mt-daapd/mt-daapd_0.2.4-1_i386.deb?download
Kod:
sudo dpkg -i mt-daapd_0.2.4-1_i386.deb
Kod:
sudo nano /etc/mt-daapd.conf
Kod:
## mp3_dir (required) ## Location of the mp3 files to share.* Note that because the # files are stored in the database by inode, these must be # in the same physical filesystem. #mp3_dir /path/to/music## servername (required) ## This is both the name of the server as advertised # via rendezvous, and the name of the database # exported via DAAP.* Also know as "What shows up in iTunes". #servername My Jukebox
Kod:
sudo /etc/init.d/mt-daapd restart
Statystyki: autor: klawiszowy — 06 paź 2008, 18:57
Kod:
sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list
Kod:
sudo apt-get install medibuntu-keyring
Kod:
sudo apt-get update
Kod:
sudo apt-get install gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg libdvdread3 w32codecs
Kod:
sudo apt-get install avidemux
Statystyki: autor: Lemef — 04 sie 2008, 14:21
Kod:
#!/bin/bashfor (( i=2; $i <= 32; i++ )) ; do mencoder vcd://$i -ovc copy -oac copy -of mpeg -mpegopts format=xvcd -o ~/media/zrzut_VCD/$i.mpg | zenity --progress --pulsate --auto-close --auto-kill --title="Kopiowanie VCD" --text="Ścieżka nr $i"donezenity --info --title="Kopiowanie VCD" --text="Kopiowanie VCD zakończone."
Kod:
mencoder vcd://$i -ffourcc XVID -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq -oac mp3lame -o ~/media/zrzut_VCD/$i.avi
Statystyki: autor: dominik.alaszewski — 07 lip 2008, 09:49
Kod:
sudo sysctl -w vm.mmap_min_addr=0
Kod:
winecfg
Kod:
winecfg
Kod:
#!/bin/shsudo sysctl -w vm.mmap_min_addr=0 && cd /ścieżka/do/katalogu/z/plikiem/ && WINEDEBUG=-all wine "C&C95.EXE"
.~/.wine/drive_c/WESTWOOD/C&C95/
Kod:
chmod a+x ~/Desktop/CCGold.sh
Kod:
sh ~/Desktop/CCGold.sh
Statystyki: autor: Arpeggio — 29 maja 2008, 17:23
Kod:
deb http://www.debian-multimedia.org stable main
Kod:
sudo apt-get update
Kod:
sudo apt-get install debian-multimedia-keyring
Kod:
sudo apt-get install ffmpeg
Kod:
.ffmpeg -i film.avi -acodec amr_nb -ab32 -ac 1 -ar 8000 -vcodec h263 -s qcif -r 10 film.3gp
Statystyki: autor: frytek — 20 maja 2008, 17:36
Kod:
sudo gedit /etc/apt/sources.list
Kod:
deb http://www.gnapi.pl/repo/ i386/
Kod:
deb http://www.linuxfaq.pl/repo/ amd64/
Kod:
sudo apt-get update
Kod:
sudo apt-get install gnapi
Statystyki: autor: tatar111 — 12 maja 2008, 16:08
Kod:
Mplayer nieoczekiwanie zakończył pracę. Kod wyjścia: 1
Statystyki: autor: Biotrek — 29 kwie 2008, 14:15
Kod:
Section "Files"EndSectionSection "Module"Load"glx"Load"v4l"EndSectionSection "InputDevice"Identifier"Generic Keyboard"Driver"kbd"Option"CoreKeyboard"Option"XkbRules""xorg"Option"XkbModel""pc105"Option"XkbLayout""pl"EndSectionSection "InputDevice"Identifier"Configured Mouse"Driver"mouse"Option"CorePointer"Option"Device""/dev/input/mice"Option"Protocol""ImPS/2"Option"ZAxisMapping""4 5"Option"Emulate3Buttons""true"EndSectionSection "Device"Identifier"Device[0]"Boardname"vesa"Busid"PCI:6:0:0"Driver"nvidia"Screen0EndSectionSection "Device" Driver "nvidia" Identifier "Device[1]" Screen 1 Option "TVOutFormat" "S-VIDEO" Option "TVStandard" "PAL-G" Option "ConnectedMonitor" "Monitor[1]" BusID "PCI:6:0:0"EndSectionSection "Monitor"Identifier"Monitor[0]" #CRTVendorname"CTX"Modelname"CTX VL500 series, MS500 series"Horizsync30.0-70.0Vertrefresh50.0-120.0 modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsyncGamma1.0EndSectionSection "Monitor" Identifier "Monitor[1]" VendorName "Unknown" ModelName "TV-0" HorizSync 30.0 - 70.0 VertRefresh 50.0 - 120.0 Option "DPMS"EndSectionSection "Screen"Identifier "Screen[0]" Device "Device[0]" Monitor "Monitor[0]"Defaultdepth24EndSectionSection "Screen" Device "Device[1]" Identifier "Screen[1]" Monitor "Monitor[1]" DefaultDepth 24 EndSectionSection "ServerLayout"Identifier"Default Layout" Screen 0 "Screen[0]" Screen 1 "Screen[1]" RightOf "Screen[0]" Inputdevice"Generic Keyboard"Inputdevice"Configured Mouse"EndSectionSection "ServerFlags"EndSection
Kod:
sudo apt-get install mplayer
Kod:
sudo apt-get install mplayer-fonts
Kod:
sudo dpkg-reconfigure mplayer-fonts
Kod:
sudo apt-get install msttcorefonts
Kod:
sudo apt-get install smplayer
Statystyki: autor: wloczykij78 — 21 kwie 2008, 20:21
Kod:
mencoder vcd://2 -oac copy -ovc copy -o plik_wyjściowy.avi
Statystyki: autor: pusz — 17 lut 2008, 21:40
Kod:
sudo apt-get install motion
Kod:
sudo apt-get install ffmpeg
Kod:
motion -n
Kod:
http://localhost:9193
Kod:
http://localhost:9192
Kod:
#!/bin/bash# kasujemy pliki z kamery po N dniach od ich utworzenia/usr/bin/find /home/ruut/kamera -type f -name '*avi' -mtime +90 -exec rm {} \;
Statystyki: autor: frytek — 04 sty 2008, 15:49
Kod:
tar zxf sp-auth.tgz
Kod:
sudo cp sp-sc-auth /usr/bin
Kod:
sp-sc-auth *link_do_kanalu* 3908 8908 > /dev/null &
Kod:
vim sopcast.sh
Kod:
#!/bin/bashsp-sc-auth $1 3908 8908 > /dev/null &sopcastpid=$!sleep 10vlc http://localhost:8908/tv.asfkill -9 $sopcastpid
Kod:
chmod +x sopcast.sh
Kod:
about:config
Kod:
network.protocol-handler.external.sop
Kod:
network.protocol-handler.warn-external.sop
Kod:
network.protocol-handler.app.sop
Kod:
/home/user/skrypty/sopcast.sh
Kod:
sudo dpkg -i gtk-sopcast_0.2.8-1_i386.deb
Kod:
about:config
Kod:
network.protocol-handler.external.sop
Kod:
network.protocol-handler.warn-external.sop
Kod:
network.protocol-handler.app.sop
Kod:
gsopcast
Statystyki: autor: szopen — 11 gru 2007, 15:23
Statystyki: autor: Magnes — 02 gru 2007, 10:40
Kod:
((type=Unknown | Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer) | (type=Normal & override_redirect=1)) & !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer | state=fullscreen | name=^x11$ | name=^xv$ | name=^xine Video Window$)
Statystyki: autor: vytah — 14 lis 2007, 12:55
Kod:
sudo apt-get install lastfmsubmitd
Kod:
sudo gedit ~/.moc/config
Kod:
OnSongChange = "/usr/lib/lastfmsubmitd/lastfmsubmit --artist %a --title %t --length %d --album %b"
Statystyki: autor: milsonku — 22 paź 2007, 23:20
Kod:
wget http://janvitus.interfree.it/ubuntu/2C4C84CC.gpg -O- | sudo apt-key add -
Kod:
gpg --keyserver hkp://keyserver.ubuntu.com:11371/ --recv-keys 2C4C84CC && gpg --export --armor 2C4C84CC | sudo apt-key add -
Kod:
sudo gedit /etc/apt/sources.list
Kod:
## uPure64 Repositorydeb http://download.tuxfamily.org/upure64/ feisty-upure64 main-amd64deb-src http://download.tuxfamily.org/upure64/ feisty-upure64 main-amd64
Kod:
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2 nspluginwrapper gsfonts-x11
Kod:
cd Desktopcd install_flash_player_9_linuxsudo cp libflashplayer.so /usr/lib/mozilla/plugins/sudo cp flashplayer.xpt /usr/lib/mozilla/plugins/ nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
Kod:
cd Desktopsudo cp npwrapper.libflashplayer.so /usr/lib/mozilla-firefox/plugins/
Kod:
cd /usr/lib/mozilla/plugins/cp npwrapper.libflashplayer.so /usr/lib/mozilla-firefox/plugins/
Statystyki: autor: .:WiejkuciK:. — 12 cze 2007, 16:52
Kod:
$ sudo apt-get update
Kod:
$ sudo apt-get install wine
Kod:
$ sudo wine
Kod:
$ sudo apt-get install recode
Kod:
$ recode ucs-2..ascii macromedia.reg
Kod:
$ sudo wine regedit macromedia.reg
Kod:
$ wine dreamweaver.exe
Kod:
$ wine flash.exe
Statystyki: autor: Twain — 25 maja 2007, 14:48
6. Zapisz plik.pcm.ca0106 {
type hw
card 0
}
ctl.ca0106 {
type hw
card 0
}
pcm.duplicate {
type plug
slave.pcm "surround51"
slave.channels 6
route_policy duplicate
}
Statystyki: autor: Gość — 03 maja 2007, 10:50
Statystyki: autor: def — 08 kwie 2007, 13:09
Kod:
direct rendering: Yes
Kod:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
Kod:
sudo nano /etc/X11/xorg.conf
Kod:
kdesu kate /etc/X11/xorg.conf
Kod:
sudo gedit /etc/X11/xorg.conf
Kod:
Section "Device"Identifier"Device[0]"Driver"nvidia"BusID"PCI:1:0:0"Screen 0Option"NoLogo" "1"EndSection
Kod:
Section "Device" Driver "nvidia" Identifier "Device[1]" Screen 1 Option "TVOutFormat" "Composite" Option "TVStandard" "PAL-G" Option "ConnectedMonitor" "Monitor[1]" BusID "PCI:1:0:0" Option"NoLogo" "1"EndSection
Kod:
Section "Monitor"Identifier"Monitor[0]" #LCD/CRTOption"DPMS"HorizSync28-51VertRefresh43-60EndSection
Kod:
Section "Monitor" Identifier "Monitor[1]" #TV HorizSync 30-50 VertRefresh 60 Option"DPMS"EndSection
Kod:
Identifier"Screen[0]"Device"Device[0]"Monitor"Monitor[0]"
Kod:
Section "Screen" Device "Device[1]" Identifier "Screen[1]" Monitor "Monitor[1]" DefaultDepth 24 SubSection "Display" Depth 24 Modes "800x600" EndSubSectionEndSection
Kod:
Section "ServerLayout"Identifier"Default Layout"Screen 0 "Screen[0]" 0 0Screen 1 "Screen[1]" 1400 1200InputDevice"Generic Keyboard" "CoreKeyboard"InputDevice"Configured Mouse" "CorePointer"EndSection
Kod:
export DISPLAY=:0.1
Kod:
mplayer /sciezka/do/filmu
Kod:
mplayer -display :0.1 /sciezka/do/filmu
Kod:
nano ~/.bashrc
Kod:
alias mptv="/usr/bin/mplayer -fs -fixed-vo -display :0.1 -vf expand=0:-100:0:0 "
Kod:
source ~/.bashrc
Kod:
mptv /sciezka/do/filmu
Kod:
#General setupao="alsa" #audio outmixer-channel="Master"srate=48000really-quiet="1" #Very very little console outputvo="xv" #video outzoom="1" #Allow sofware scaling if I use x11 for voaid="1" #audio channelsid="0" #subtitle setmonitoraspect="4:3"stop-xscreensaver=yes#Displaydouble="yes" #double buffering(recommended for subtitles)framedrop="1" # For slow machineshardframedrop="0" #Make sure hard frame drop is off but can turn on easily now#This sets the postprocessing into overdrive using all possible spare cpu cycles to make the movie look betterautoq=100vf=pp=de,hqdn3d#always keep mplayer on topontop="1"# VobSubs# Align subs. (-1: as they want to align themselves)spualign=-1# Anti-alias subs. (4: best and slowest)spuaa=4# Set language.slang=pl,en,eng# Text-based subtitles# Find subtitle files. (1: load all subs containing movie name)sub-fuzziness=1# Set font.font=/usr/share/fonts/truetype/msttcorefonts/Verdana.ttf# Set font encoding.subfont-encoding=unicodesubcp=cp1250# Set subtitle file encoding.unicode=yesutf8=yes# Resample the font alphamap. (1: narrow black outline)ffactor=1# Set subtitle position. (100: as low as possible)subpos=100# Set subtitle alignment at its position. (2: bottom)subalign=2# Set font size. (2: proportional to movie width)subfont-autoscale=2# Set font blur radius. (default: 2)subfont-blur=2.0# Set font outline thickness. (default: 2)subfont-outline=2.0# Set autoscale coefficient. (default: 5)subfont-text-scale=4.4
Statystyki: autor: groadin — 28 mar 2007, 21:26
Kod:
sudo apt-get install alsa-oss
Kod:
sudo nano /home/nazwausera/.asoundrc
Kod:
pcm.!default {type plugslave.pcm "dmix"}
Kod:
sudo nano /etc/environment
Kod:
FIREFOX_DSP=aoss
Kod:
/etc/firefox/firefoxrc
Kod:
FIREFOX_DSP="none"
Kod:
FIREFOX_DSP="aoss"
Statystyki: autor: lays — 24 mar 2007, 20:37
Kod:
sudo apt-get install libesd-alsa0
Kod:
nano /etc/esound/esd.conf
Kod:
[esd]auto_spawn=1spawn_options=-terminate -nobeeps -as 2 -d defaultspawn_wait_ms=100# default options are used in spawned and non-spawned modedefault_options=
Kod:
# Set default sound card# Useful so that all settings can be changed to a different card here.pcm.snd_card { type hw card 0}# Allow mixing of multiple output streams to this devicepcm.dmixer { type dmix ipc_key 1024 slave.pcm "snd_card" slave { # This stuff provides some fixes for latency issues. # buffer_size should be set for your audio chipset. period_time 0 period_size 1024 buffer_size 4096 # rate 44100 } bindings { 0 0 1 1 }}# Allow reading from the default device.# Also known as record or capture.pcm.dsnooper { type dsnoop ipc_key 2048 slave.pcm "snd_card" bindings { 0 0 1 1 }}# This is what we want as our default device# a fully duplex (read/write) audio device.pcm.duplex { type asym playback.pcm "dmixer" capture.pcm "dsnooper"}#################### CONVERSION PLUG ##################### Setting the default pcm device allows the conversion# rate to be selected on the fly.# duplex mode allows any alsa enabled app to read/write# to the dmix plug (Fixes a problem with wine).pcm.!default { type asym playback.pcm "dmixer" capture.pcm "dsnooper"}######### AOSS ########## OSS dsp0 device (OSS needs only output support, duplex will break some stuff)pcm.dsp0 { type plug slave.pcm "dmixer"}# OSS control for dsp0 (needed?...this might not be useful)ctl.dsp0 { type plug slave.pcm "snd_card"}# OSS control for dsp0 (default old OSS is mixer0)ctl.mixer0 { type plug slave.pcm "snd_card"}
Kod:
default_driver=alsa
Kod:
spawn_options=-terminate -nobeeps -as 2 -d default
Kod:
spawn_options=-terminate -nobeeps -as 2 -d duplex
Statystyki: autor: lays — 15 mar 2007, 15:06
Kod:
sudo apt-get install ia32-libs lib32asound2 lib32ncurses5 ia32-libs-sdl ia32-libs-gtk lib32stdc++6 ia32-libs-openoffice.org
Kod:
sudo dpkg -i mplayer32_1.0pre7-1_amd64.deb
Kod:
sudo dpkg -i mplayer32_20070130-1_amd64.deb
Kod:
tar -jxvf all-20061022.tar.bz2
Kod:
sudo mkdir /usr/lib/win32
Kod:
sudo cp * /usr/lib/win32/
Kod:
sudo apt-get install mplayersudo rm /usr/bin/gmplayersudo ln -s /usr/bin/mplayer32 /usr/bin/gmplayer
Statystyki: autor: b00gie — 24 lut 2007, 19:03
Kod:
mplayer -slang pl dvd://1
Kod:
slang = pl
Kod:
mplayer -flip film.avi
Kod:
flip = "yes"
Kod:
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20061022-0.0_i386.debsudo dpkg -i w32codecs_20061022-0.0_i386.deb
Kod:
sudo aptitude install libdvdcss3sudo /usr/share/doc/libdvdread3/install-css.sh
Kod:
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2tar xjvf essential-20061022.tar.bz2cd essential-20061022sudo mkdir /usr/lib/codecssudo cp -r * /usr/lib/codecs
Kod:
glxinfo | grep direct
Kod:
direct rendering: No
Kod:
mplayer -vo xv film.avi
Kod:
mplayer -ao oss -framedrop film.avi
Kod:
mplayer -mc 0 film.avi
Kod:
mplayer -vf expand=0:-120 film.avi
Kod:
mplayer -cache 2048 ścieżka
Kod:
zoom = "yes"
Statystyki: autor: kwalo — 26 sty 2007, 15:13
Kod:
sudo dpkg -i nazwapliku.deb
Kod:
sudo apt-get -f install
Kod:
sudo apt-get install sun-java6-jre
Kod:
sudo update-alternatives --config java
Kod:
sudo apt-get install timidity
Statystyki: autor: Kozik — 07 sty 2007, 19:40