Blogs

Download Actions preference in Firefox

I was having a hard time getting m3u (MP3 audio -- streamed) files open up in my external xmms audio player instead of the the default mplayerplug-in and found out that firefox by default hides the plugins without any extensions, as the mp3 playlist was being created dynamically with php and the mime-type fed via the header.

The work-around was to disable the default firefox config settings and change the option for streamed mp3 audio to be opened with xmms instead.

The steps are outlined below:

  1. Type "about:config" on the address bar to get to firefox config settings.
  2. Do a filter search for "hide_plugins" and double click on "browser.download.hide_plugins_without_extensions" to change the settings value to "false".
  3. Open up "Edit > Preferences", go to the "Downloads" area and click on "View & Edit Actions".
  4. It should now list all the "File Type". Do a search for audio and change the "MP3 audio (streamed)" to open up in the external xmms player.

See other posts on Firefox.

Tab pages in vim

Window tabs are everywhere and you will find this in the curret version of vim too, which as of this writing is 7.0.042-0.fc5 on fedora-core-5.

Below are notes on how you can quickly navigate between open tabs:

  • Open several fies for editing in seperate tab pages:
    $ vi -p file1 file2 file3...
    
  • Goto next tab:
    gt
    

    or

    :tabn
    
  • Goto previous tab:
    gT
    

    or

    :tabp
    
  • Got to a numbered tab where "#" is a number:
    #gt
    

    or

    :#tabn
    
  • Rewind to the first tab:
    :tabr
    
  • Open new tab page. Optionally you can provide a filename:
    :tabnew [filename]
    
  • Edit an existing file:
    :tabe {filename} 
    
  • Split the tab page:
    :tab split
    
  • Close all other tab pages:
    :tabo[!]
    
  • Close current tab page:
    :tabc[!]
    
  • To get help using tabpages:
    :tab help tabpages
    

See other related posts on vi.

Install .rpm Files in Debian and Ubuntu

Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can’t find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file.

Read Full article here

Running Internet Explorer in Debian and ubuntu Linux

No clicks needed. No boring setup processes. No Wine complications. Just one easy script and you’ll get three IE versions to test your Sites. And it’s free and open source.This may be very helpful for software developers and web developers to test their applications.

Read Full article here

Kubuntu 6.06 LTS Installation Walkthrough with Screenshots

Kubuntu is a user friendly operating system based on KDE, the K Desktop Environment. With a predictable 6 month release cycle and part of the Ubuntu project, Kubuntu is the GNU/Linux distribution for everyone.

Read Full article here

Swap fails to mount at boot -- resolved!

At some point of my regular yum updates, I noticed there was no swapspace being mounted at boot time. I was however able to manually mount it after booting via, `swapon -a`.

The failure was caused due to SELinux policy and "/etc/fstab" file context settings. I was getting the below message in my logs:

Sep 17 12:12:36 localhost kernel: audit(1158509512.509:51): avc:  denied  
{ read } for  pid=1429 comm="swapon" name="fstab" dev=dm-0 ino=899639 
scontext=system_u:system_r:fsadm_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file

I found my solution in the SELinux FAQ

Debian Network Utilities and tools With Examples and man pages

This is the list of debian network utilities and tools for administrators and users to check the network related traffic, monitor network.This includes installation of each package with man pages.This full list devided in to two parts which is part1 network tools and part2 network tools

Debian etch beta 3 graphical mode installation with screenshots

Debian etch beta3 installation using graphical interface this is really nice installation walkthrough with each step
screenshots.This is new feature in debian upcoming release version called etch.This article contains nearly 50 images of this installation process.

Read Full article here

IEs4Linux -- Internet Explorer for Linux

Two reasons why you should get IEs4Linux:

  1. You are a web-designer using Linux and want to test your sites using Internet Explorer as your visitors are predominantly IE users.
  2. You need the latest and greatest flash player with your browser to view sites like ESPN, MetaCafe etc... The latest version of Flash is 9 which is only available to Windows and Macs whereas on the Linux side we have been left behind with 7.

Below is how I got it up and running on Fedora Core 5:

  • Install cabextract and wine if you don't have it already:
    # yum --enablerepo=extras install cabextract wine
    
  • Download and install IEs4Linux:
    $ wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.1.tar.gz
    $ tar -xvzf ies4linux-2.0.1.tar.gz
    $ cd ies4linux-2.0.1
    $ ./ies4linux
    
  • Internet Explorer can now be run via the shortcut icon created on the desktop.

Install common Windows fonts on Linux

I have built Microsofts' common true type core fonts for the web and can be downloaded from here.

Below are the steps I took to build the rpm package on FC5:

  1. Install cabextract.
    # yum --enablerepo=extras install cabextract
    
  2. Setup your rpm build environment if you have not done so already.
  3. Login as rpmbuild.
    # su - rpmbuild
    
  4. Dowload the spec file.
    $ cd rpm/SPECS
    $ wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
    
  5. Build the rpm.
    $ rpmbuild --bb msttcorefonts-2.0-1.spec
    
  6. Install the corefonts and restart xfs as root.
    # rpm -ihv /path/to/msttcorefonts-2.0-1.noarch.rpm
    # service xfs restart
    

If you are looking for more info visit, corefonts.sourceforge.net .

Syndicate content
Comment