WWW.GENTOO-SRBIJA.ORG
There are 11 types of people - those who can count in binary and those who cannot. Četvrtak, 08 Januar/2009  
 » SADRŽAJ
 › Uvod
 › Performanse
 › Mirori
 › Linkovi
 › Download
 › Mailing lista
 › Kontakt
 » PROFIL
» šifra
zapamti me
  Registracija
 » PRETRAGA
 » NOVI PAKETI
mail-filter/MailScanner-4.70.7.1: Free Anti-Virus and Anti-Spam Filter
dev-util/tmake-2.12: A Cross platform Makefile tool
dev-perl/Filesys-Df-0.92: Disk free based on Filesys::Statvfs
app-shells/bash-completion-20060301: Programmable Completion for bash
app-portage/gentoolkit-0.2.4.2-r1: Collection of administration scripts for Gentoo
app-crypt/pgpdump-0.26: A PGP packet visualizer
app-admin/bcfg2-0.9.6: Bcfg2 is a configuration management tool.
net-misc/dhcpcd-4.0.7: A fully featured, yet light weight RFC2131 compliant DHCP client
net-misc/dhcpcd-4.99.6: A fully featured, yet light weight RFC2131 compliant DHCP client
net-misc/dhcpcd-4.0.6: A fully featured, yet light weight RFC2131 compliant DHCP client
 » WEBMAIL
 » GENTOO-PORTAGE
And we're back
Forum index ›› Administracija › Midnight Commander Extension  
  AUTOR   PORUKA

Site Admin
Učlanjen: 27 Oct 04
Lokacija: privileged mode
Poruke: 913
profil¬ poruka¬
 Oglašeno: 05 Jan 05  22:57  

Da nije možda neko sredio ekstenzije za gore navedeni MC?


Site Admin
Učlanjen: 28 Oct 04
Lokacija: Beograd
Poruke: 723
profil¬ poruka¬ www¬
upRE: Midnight Commander Extension  Oglašeno: 05 Jan 05  23:48  

Evo drugar, neke stvari izmeni a neke dodaj ako hoces, ovako kod mene sad stoje stvari:

Code: mc.ext


shell/.php
Open=bluefish %f &

shell/.swf
Open=gflashplayer %f & #iskompajliras netscape-flash sa gtk flag-om



### Images ###

type/^GIF
Include=image

type/^JPEG
Include=image

type/^PC\ bitmap
Include=image

type/^PNG
Include=image

type/^TIFF
Include=image

type/^PBM
Include=image

type/^PGM
Include=image

type/^PPM
Include=image

type/^Netpbm
Include=image

shell/.xpm
Include=image

include/image
Open=if [ "$DISPLAY" = "" ]; then fbi -qv %f *.*; else (find *.* -maxdepth 0 | qiv -fptn %f *.* &); fi

# fbi je za konzolu a qiv je ultra brz, za animated gif bi trebalo koristiti iv


### Sound files ###

regex/\.(wav|WAV|Wav|snd|SND|Snd|voc|VOC|Voc|au|AU|Au)$
Open=playsound %f

regex/\.(mp3|MP3|Mp3)$
Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'


### Video tj. MPLAYER ###

regex/\.(avi|AVI|Avi)$
Include=video

regex/\.(asf|ASF|Asf)$
Include=video

regex/\.(divx|DIVX|DivX|Divx)$
Include=video

regex/\.(mov|MOV|Mov)$
Include=video

regex/\.(mp4|MP4|Mp4|mpeg|MPEG|Mpeg|mpg|mpa|Mpa|MPA|Mpg|MPG|mpe|Mpe|MP E)$
Include=video

regex/\.(vob|VOB|Vob)$
Include=video

regex/\.(wmv|WMV|Wmv)$
Include=video

regex/\.(rm|RM|Rm|ram|RAM|Ram)$
Include=video

include/video
Open=if [ "$DISPLAY" = "" ]; then mplayer -vo mga %f; else (mplayer -vo xmga %f >/dev/null 2>&1 &); fi

# ja koristim -vo mga i -vo xmga, ti koristi directfb i xv ili sta vec.


### Documents ###

# PDF
type/^PDF
Open=(acroread %f &) # da, mnogo je brzi od svih ostalih
View=%view{ascii} pdftotext %f -

# html
regex/\.([Hh]tml?|HTML?)$
Open=links -g %f & # links je odlican za brz pregled html-a
View=%view{ascii} lynx -dump -force_html %f

# Microsoft Word Document
regex/\.([Dd]o[ct]|DO[CT]|[Ww]ri|WRI)$
Open=(oowriter %f >/dev/null 2>&1 &)

type/^Microsoft\ Word
Open=(oowriter %f >/dev/null 2>&1 &)

# RTF document
regex/\.(rtf|RTF|Rtf)$
Open=(oowriter %f >/dev/null 2>&1 &)

type/^Microsoft\ Excel
Open=(oocalc %f >/dev/null 2>&1 &)

# Use OpenOffice.org to open any MS Office documents
type/^Microsoft\ Office\ Document

# naravno treba staviti taj openoffice



Site Admin
Učlanjen: 27 Oct 04
Lokacija: privileged mode
Poruke: 913
profil¬ poruka¬
upRE: Midnight Commander Extension  Oglašeno: 05 Jan 05  23:55   Izmenio: Moderator

eee, to mi je trebalo.
thanks budy!

---