0 Пользователей и 1 Гость просматривают эту тему.
[Desktop Entry]Categories=GTK;Network;WebBrowser;X-MandrivaLinux-Internet-WebBrowsers;X-MandrivaLinux-CrossDesktop;Comment[ru]=Веб-навигацияComment=Browse the WebExec=/opt/firefox/firefox -no-remote -PGenericName[ru]=Веб-браузерGenericName=Web BrowserIcon=/opt/firefox/browser/icons/mozicon128.pngMimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;Name[ru]=Firefox NightlyName=Firefox NightlyStartupWMClass=FirefoxTerminal=falseType=ApplicationVersion=1.0
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE qutimsounds><qutimsounds><sounds><sound event="IncomingMessage" > <file>sndIncMsg.wav</file> </sound> //Входящее сообщение<sound event="OutgoingMessage" > <file>sndMsgSent.wav</file> </sound> //Исходящее сообщение<sound event="AppStartup" > <file>sndStartup.wav</file> </sound> //qutIM запущен<sound event="BlockedMessage" > <file>sndAuthDeny.wav</file> </sound> //Блокированное сообщение<sound event="ChatUserJoined" > <file>sndOnline.wav</file> </sound> //Контакт присоединился к конференции<sound event="ChatUserLeft" > <file>2.wav</file> </sound> //Контакт покинул конференцию<sound event="ChatIncomingMessage" > <file>sndIncMsg.wav</file> </sound> //Входящее сообщение из конференции<sound event="ChatOutgoingMessage" > <file>sndMsgSent.wav</file> </sound> //Исходящее сообщение в конференцию<sound event="" > <file>sndFileRcvd.wav</file> </sound> //Передача файла завершена<sound event="UserOnline" > <file>sndOnline.wav</file> </sound> //Контакт в сети<sound event="UserOffline" > <file>2.wav</file> </sound> //Контакт отключен<sound event="UserChangedStatus" > <file>sndStatus.wav</file> </sound> //Контакт изменил статус<sound event="UserHasBirthday" > <file>2.wav</file> </sound> //День рождения<sound event="UserTyping" > <file>sndServerMsg.wav</file> </sound> //Контакт печатает<sound event="System" > <file>sndTray.wav</file> </sound> //Система<sound event="Attention" > <file>2.wav</file> </sound> //Будильник</sounds></qutimsounds>
urpmi a52dec gstreamer0.10-a52dec gstreamer0.10-decoders gstreamer0.10-decoders-audio gstreamer0.10-dts gstreamer0.10-dv gstreamer0.10-faad gstreamer0.10-ffmpeg gstreamer0.10-flac gstreamer0.10-gsm gstreamer0.10-jp2k gstreamer0.10-lame gstreamer0.10-libass gstreamer0.10-mms gstreamer0.10-mpeg gstreamer0.10-mpeg2enc gstreamer0.10-musepack gstreamer0.10-neon gstreamer0.10-plugins-bad gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-pulse gstreamer0.10-resindvd gstreamer0.10-rsvg gstreamer0.10-rtmp gstreamer0.10-speex gstreamer0.10-twolame gstreamer0.10-voip gstreamer0.10-vp8 gstreamer0.10-wavpack gstreamer0.10-x264 gstreamer0.10-xvid libgstreamer0.10_0 gstreamer1.0-a52dec gstreamer1.0-dv gstreamer1.0-faad gstreamer1.0-flac gstreamer1.0-gsm gstreamer1.0-lame gstreamer1.0-libass gstreamer1.0-libav gstreamer1.0-mms gstreamer1.0-mpeg gstreamer1.0-mpeg2enc gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-pulse gstreamer1.0-rtmp gstreamer1.0-soup gstreamer1.0-speex gstreamer1.0-tools gstreamer1.0-twolame gstreamer1.0-vp8 gstreamer1.0-wavpack gstreamer1.0-x264 openal faad2 lib64quicktime0 libquicktime-faad lib64xine1 xine-plugins xine-faad libquicktime-x264 x264 mplayer gecko-mediaplayer lame libquicktime-lame lib64twolame0 twolame lib64mpg123_0 ffmpeg mpeg2dec libquicktime-dv lib64avfilter3 lib64avutil52 lib64dvdcss2 lib64dvdnav4 lib64dvdread4 lib64mp4v2_2 lib64phonon4 phonon-gstreamer phonon-vlc phonon-xine xine-pulse vlc-plugin-common vlc-plugin-pulse gpac lib64gpac2 lib64gstvdp0.10_0 libquicktime-dv lib64xine2 transcode xine-flac xine-wavpack xine1.2-common flac wavpack
polkit.addRule(function(action) { if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") { return polkit.Result.YES; }});
polkit.addRule(function(action, subject) { if (action.id == 'org.freedesktop.udisks2.filesystem-mount-system' && subject.user == '%username%') { return polkit.Result.YES; } });
[Desktop Entry]Categories=FileManager;Utility;Core;GTK;Comment[ru]=Просмотр файловой системы и управление файламиComment=Просмотр файловой системы и управление файламиExec=dolphin /GenericName[ru]=Файловая система с правами rootGenericName=Файловая система с правами rootIcon=folder-blackMimeType=inode/directory;Name[ru]=Файловая системаName=File ManagerPath=StartupNotify=trueTerminal=falseTerminalOptions=Type=ApplicationX-DBUS-ServiceName=X-DBUS-StartupType=noneX-KDE-SubstituteUID=trueX-KDE-Username=root
urpmi.addmedia "Pipelight 32-bit" http://repos.fds-team.de/stable/mageia/5/i586/
urpmi.addmedia "Pipelight 64-bit" http://repos.fds-team.de/stable/mageia/5/x86_64/
wget http://repos.fds-team.de/Release.key
rpm --import Release.key
urpmi.update -a
urpmi pipelight
pipelight-plugin --update
pipelight-plugin --enable flashYpipelight-plugin --enable silverlightYpipelight-plugin --enable unity3dYkillall firefox
Если нету CD\DVD дисков и иже с ними. -Используем твердотельный\шустрый накопитель USBфлэш подойдёт.В консоли под ROOTом рисуем:# dd if=/путь_к.iso of=/dev/sd* bs=1M , где * имя флэшки(команда dmesg поможет определить флэшку)(dd - утилита, if=что, of=куда, bs=1M-объём буфера 1024k) ЗЫ: -КРАЙНЕ НЕ РЕКОМЕНДУЮ ОШИБАТЬСЯ!!! -Побайтное копирование!!!-Данные восстановить будет ОЧЕНЬ трудно!
[ 202.846036] usb 7-3: new high-speed USB device number 3 using ehci-pci[ 202.961402] usb 7-3: New USB device found, idVendor=2020, idProduct=0002[ 202.961408] usb 7-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4[ 202.961411] usb 7-3: Product: MT6225 [ 202.961414] usb 7-3: Manufacturer: Network Connect[ 202.961417] usb 7-3: SerialNumber: 15цифер[ 203.055200] usb-storage 7-3:1.0: USB Mass Storage device detected[ 203.055271] scsi6 : usb-storage 7-3:1.0[ 203.055341] usbcore: registered new interface driver usb-storage[ 203.688094] usb 7-3: USB disconnect, device number 3[ 204.461029] usb 7-3: new high-speed USB device number 4 using ehci-pci[ 204.575898] usb 7-3: New USB device found, idVendor=2020, idProduct=4000[ 204.575905] usb 7-3: New USB device strings: Mfr=9, Product=10, SerialNumber=0[ 204.575908] usb 7-3: Product: MT6225 [ 204.575911] usb 7-3: Manufacturer: Network Connect[ 204.578179] usb-storage 7-3:1.6: USB Mass Storage device detected[ 204.578281] scsi7 : usb-storage 7-3:1.6[ 204.656616] usbcore: registered new interface driver cdc_ncm[ 204.676919] usbcore: registered new interface driver cdc_wdm[ 204.679267] cdc_mbim 7-3:1.0: cdc-wdm0: USB WDM device[ 204.679498] cdc_mbim 7-3:1.0 wwan0: register 'cdc_mbim' at usb-0000:00:1a.7-3, CDC MBIM, 82:79:37:52:01:f2[ 204.679536] usbcore: registered new interface driver cdc_mbim[ 204.687145] systemd-udevd[3489]: renamed network interface wwan0 to wwp0s26f7u3[ 205.579689] scsi 7:0:0:0: Direct-Access UsbModem Storage Disk 6225 PQ: 0 ANSI: 0 CCS[ 205.581678] sd 7:0:0:0: [sdd] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)[ 205.583054] sd 7:0:0:0: [sdd] Write Protect is off[ 205.583060] sd 7:0:0:0: [sdd] Mode Sense: 03 00 00 00[ 205.583674] sd 7:0:0:0: [sdd] No Caching mode page found[ 205.583678] sd 7:0:0:0: [sdd] Assuming drive cache: write through[ 205.586545] sd 7:0:0:0: [sdd] No Caching mode page found[ 205.586550] sd 7:0:0:0: [sdd] Assuming drive cache: write through[ 205.587934] sdd: sdd1[ 205.592921] sd 7:0:0:0: [sdd] No Caching mode page found[ 205.592926] sd 7:0:0:0: [sdd] Assuming drive cache: write through[ 205.592930] sd 7:0:0:0: [sdd] Attached SCSI removable disk[user@localhost ~]$
# modprobe -r usbserial && modprobe usbserial vendor=0x2020 product=0x4000
modprobe -r usbserial && modprobe usbserial vendor=0x2020 product=0x4000
KERNEL=="sr*",ACTION=="add",ATTRS{idVendor}=="2020",ATTRS{idProduct}=="0002",RUN+="/usr/bin/eject.sh -s /dev/%k"ACTION=="add",ATTRS{idVendor}=="2020",ATTRS{idProduct}=="4000",RUN+="/usr/bin/usbserial-driver-bind.sh %s{idVendor} %s{idProduct}"KERNEL=="ttyACM0|ttyUSB0",ACTION=="add",ATTRS{idVendor}=="2020",ATTRS{idProduct}=="4000",RUN+="/usr/bin/3g_connect.sh %k"
#!/bin/sh#by zhuhaiyan 20120712# check deviceif [ "$1" = "" ]; then echo "device is null. exit 1." exit 1fidev_str=`echo $1 | grep "tty"`if [ "$dev_str" == "" ]; then echo "$1 is a invalid device! exit 1." exit 1fidev_str=`ls /dev/tty* | grep "$1"`if [ "$dev_str" == "" ]; then echo "$1 is not exist! exit 1." exit 1fi# check ppp0ppp0_str=`ifconfig | grep "ppp0"`if [ "$ppp0_str" != "" ]; then echo "ppp0 is exist! exit 0" exit 0fi# init comm port./usr/bin/atinit /dev/ttyUSB0/usr/bin/atinit /dev/ttyUSB1#check pin sim status.`cat /dev/$1 > /tmp/devicelock & sleep 1` 1>/dev/null 2>&1killall cat`cat /dev/$1 > /tmp/cfun & chat -V "" "AT+CFUN=1" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1sleep 1killall cat`cat /dev/$1 > /tmp/devicelock & chat -V "" "AT+CPIN?" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1 sleep 1killall catat_return=`grep "READY" /tmp/devicelock`if [ "$at_return" == "" ]; then echo "Invalid SIM card, please check sim pin status." exit 1fiecho "SIM is ready!!"#for auto find apn and connect to internet.#kill modem-manager of ubuntu.#killall modem-manager#get apn profiletries=0string_plmn=""while [ $tries -le 3 -a "$string_plmn" = "" ]; do#============================do======================echo get plmn by +bmhplmn tries=$tries#get all data from modem.`cat /dev/$1 > /tmp/bmhplmn & sleep 1` 1>/dev/null 2>&1killall cat#get PLMN`cat /dev/$1 > /tmp/bmhplmn & chat -V "" "AT+BMHPLMN" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1sleep 1killall cat# echo AT RETURN:# cat /tmp/bmhplmnat_return=`grep "+BMHPLMN:" /tmp/bmhplmn`if [ "$at_return" != "" ]; then string_plmn=`echo $at_return | awk '{print $2}'` if [ "$string_plmn" = "" ]; then tries=$((tries + 1)) continue fi string_plmn=`expr substr $string_plmn 1 5` breakfitries=$((tries + 1))#==================================done==========donetries=0while [ $tries -le 3 -a "$string_plmn" = "" ]; do#=============================do=======================if [ "$string_plmn" = "" ]; then echo get imsi by +cimi tries=$tries #get all data from modem. `cat /dev/$1 > /tmp/cimi & sleep 1` 1>/dev/null 2>&1 killall cat #get cimi `cat /dev/$1 > /tmp/cimi & chat -V "" "AT+CIMI" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1 sleep 1 killall cat echo AT RETURN: cat /tmp/cimi at_return=`grep "[0-9]" /tmp/cimi` if [ "$at_return" = "" ]; then echo invalid imsi. tries=$((tries + 1)) continue fi string_cimi=`echo $at_return | awk '{print $1}'` if [ "$string_cimi" = "" ]; then echo fail to get cimi. tries=$((tries + 1)) continue fi #get 5 num for plmn form imsi. string_plmn=`expr substr $string_cimi 1 5` fi#=========================done===================doneif [ "$string_plmn" = "" ]; then echo fail to get PLMN. exit 1fiecho success to get PLMN=$string_plmntries=0string_OK=""while [ $tries -le 3 -a "$string_OK" = "" ]; do#===================================do=================#get all data from modem.`cat /dev/$1 > /tmp/cfun & sleep 1` 1>/dev/null 2>&1killall cat`cat /dev/$1 > /tmp/cfun & chat -V "" "AT+CFUN=1" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1sleep 1killall catstring_OK=`grep "OK" /tmp/cfun`tries=$((tries + 1))#=================================done=================doneif [ "$string_OK" = "" ]; then echo fail to execute at+cfun=1 exit 1fiecho successfull to execute at+cfun=1echo "start to wait for register network..."tries=0string_RegHome=""string_RegRoaming=""string_Reg="0"while [ $tries -le 45 -a "$string_Reg" = "0" ]; do#===================================do=================echo "wait for network registered...,tries=$tries"#get all data from modem.`cat /dev/$1 > /tmp/cgatt & sleep 1` 1>/dev/null 2>&1killall cat`cat /dev/$1 > /tmp/cgatt & chat -V "" "AT+CREG?" < /dev/$1 > /dev/$1` 1>/dev/null 2>&1sleep 1killall catstring_RegHome=`grep ",1" /tmp/cgatt`string_RegRoaming=`grep ",5" /tmp/cgatt`if [ "$string_RegHome" != "" -o "$string_RegRoaming" != "" ]; then string_Reg="1"fitries=$((tries + 1))#=================================done=================doneif [ "$string_Reg" = "0" ]; then echo "fail to register network, please check." exit 1fiecho "successfull to register network."#get apn profileapn_profile=`grep $string_plmn /etc/3g_modem_connection/apn.dat`echo get apn profile = $apn_profileapn_dial=`echo $apn_profile | awk -F, '{ print $3 }'`apn_user=`echo $apn_profile | awk -F, '{ print $4 }'`apn_pass=`echo $apn_profile | awk -F, '{ print $5 }'`apn_apn=`echo $apn_profile | awk -F, '{ print $6 }'`apn_auth=`echo $apn_profile | awk -F, '{ print $7 }'`echo apn_dial=$apn_dialecho apn_user=$apn_userecho apn_pass=$apn_passecho apn_apn=$apn_apnecho apn_auth=$apn_auth#make a chat scriptcp /etc/3g_modem_connection/3g.template /etc/3g_modem_connection/3gsed -i "s/__DIAL__/$apn_dial/g" /etc/3g_modem_connection/3gif [ "$apn_apn" != "" ]; then sed -i "s/__APN__/$apn_apn/g" /etc/3g_modem_connection/3g sed -i "s/__NO_APN__/OK/g" /etc/3g_modem_connection/3gelse sed -i "s/__NO_APN__/#/g" /etc/3g_modem_connection/3gfi#make a pppd connection script.cp /etc/ppp/peers/3g.template /etc/ppp/peers/3gsed -i "s/__DEVICE__/$1/g" /etc/ppp/peers/3gsed -i "s/__USER__/$apn_user/g" /etc/ppp/peers/3gsed -i "s/__DIAL__/$apn_dial/g" /etc/ppp/peers/3gsed -i "s/__APN__/$apn_apn/g" /etc/ppp/peers/3g#make pap-secretscp /etc/ppp/pap-secrets.template /etc/ppp/pap-secretssed -i "s/__USER__/$apn_user/g" /etc/ppp/pap-secretssed -i "s/__PASSWORD__/$apn_pass/g" /etc/ppp/pap-secrets#make chap-secretscp /etc/ppp/chap-secrets.template /etc/ppp/chap-secretssed -i "s/__USER__/$apn_user/g" /etc/ppp/chap-secretssed -i "s/__PASSWORD__/$apn_pass/g" /etc/ppp/chap-secretstries_pppd_call_3g=0ppp0_str=""while [ $tries_pppd_call_3g -le 3 -a "$ppp0_str" = "" ]; do #==========================================================exit 0#connect to internetpppd call 3gtries=0echo "pppd connecting...(timeout=120 seconds)"ppp0_str=`ifconfig | grep "ppp0"`while [ "$ppp0_str" = "" -a $tries -le 120 ]; do sleep 1 echo "pppd connecting...,tries=$tries" ppp0_str=`ifconfig | grep "ppp0"` tries=$((tries + 1))doneif [ "$ppp0_str" != "" ]; then echo "pppd is connected."else killall pppd sleep 1 /usr/bin/modemtoatmode sleep 2fi#===========================done============================tries_pppd_call_3g=$((tries_pppd_call_3g + 1))doneif [ "$ppp0_str" = "" ]; then echo "pppd connection timeout! exit 1." killall -9 pppd exit 1fi#end
#!/bin/sh#by zhuhaiyan 20130406#bind usb2serial driver./usr/bin/usbserial-driver-bind.sh 2020 4000#eject the cdrom./usr/bin/eject -s $1
#!/bin/sh#by zhuhaiyan 20120716 for usb serial deiver bindif [ "$1" != "" -a "$2" != "" ]; then modprobe -r usbserial modprobe usbserial "vendor=0x$1" "product=0x$2" fi
urpmi.removemedia -a
urpmi.addmedia --all-media --distrib ftp://mirror.yandex.ru/mageia/distrib/cauldron/x86_64
urpmi.addmedia --all-media --distrib http://aglae.biomedicale.univ-paris5.fr/distrib/cauldron/x86_64/
urpmi.addmedia --all-media --distrib ftp://mirror.yandex.ru/mageia/distrib/cauldron/i586
urpmi --replacefiles --auto-update --auto
drakrpm-edit-media --expert