Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How-To: Adding metadata columns in Nautilus (Ubuntu)
New Posts  All Forums:Forum Nav:

How-To: Adding metadata columns in Nautilus (Ubuntu)

post #1 of 6
Thread Starter 
I found this wonderful thread on the Ubuntu forums and thought I should share it with the OCN Linux Community. When I started using Ubuntu one of the first things I started to miss was having metadata columns for mp3's in the file browser. Years later after getting used to not having them, I found this guide on the Ubuntu forums. This guide was designed using Ubuntu, though it would probably work with any debian based distribution using Nautilus. The original thread is a little messy with multiple versions throughout and kinda vague for newbies so I thought I would tidy it up a little.

Original thread:
http://ubuntuforums.org/showthread.php?t=878683
  1. Make sure you have the python-nautilus, python-mutagen, and python-pyexiv2 packages installed. They can be found and installed in Synaptic or via the following command in a terminal:
    Code:
    sudo apt-get install python-nautilus python-mutagen python-pyexiv2
    
  2. Download the attachment I have included. It is a python script packaged in a .RAR archive. Unpackage the script to your home folder. You can put it wherever you want actually, but you will have to change the directions accordingly. (I did not create this script, it was created by the OP in the Ubuntu forums)
  3. In a terminal, run:
    Code:
    mkdir ~/.nautilus/python-extensions
    
    This makes the directory we will be moving the script into.
  4. In a terminal, navigate to your home folder (or whatever folder you unpackaged the script in) In the case of your home folder, the command would be:
    Code:
    cd /home/username
    
    Where "username" is replaced with whatever the username is for the account your installing this in.
  5. Next we're going to move the script to the directory we created. In the terminal that you navigated to the folder you unpackaged the script in, run:
    Code:
    cp bsc-v2.py ~/.nautilus/python-extensions
    
  6. The script has to be modified to be given permission to be executed. In a terminal, run:
    Code:
    chmod a+x ~/.nautilus/python-extensions/bsc-v2.py
    
  7. Nautilus needs to be restarted for the changes to be made. This can be accomplished by performing a hard restart, killing the process via the system monitor, or the following terminal command:
    Code:
    sudo killall nautilus
    

If all is well, you should be able to open up Nautilus and go to View>Visible Columns... and set the folder your in to show whatever columns you like.

If you want every folder to show these columns, this can be done too. Go to System>Preferences>File Management (might need to add this option via System>Preferences>Main Menu)>List Columns and configure whatever columns you want to be shown as the default in Nautilus.

I hope this guide helps you use Ubuntu a little bit more easily.
Edited by Steve096 - 5/31/09 at 2:34pm
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
post #2 of 6
Thread Starter 
Nobody found this as useful as me?

Also, how can I get this added to the FAQs section? I figured it made more sense to post it in the Linux section.
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
post #3 of 6
Oh that's pretty sweet.
I love finding cool Ubuntu tweaks....now I just have to get back to using it. Darn games!

bookmarked
The Byte Mogul
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8400 E0 @ 4.0Ghz, 1.216v EP45-UD3P v1.1 XFX GTX260 2x 2GB GSkill Pi Black 
Hard DriveOSMonitorKeyboard
1x 250GB, PERC 6/i RAID5 4x F4 2TB Windows 7 Professional x64 Dell u2311h $3 Microcenter Cheap-O 
PowerCaseMouse
Antec TPN-750 CM590 Razer Deathadder 
  hide details  
Reply
The Byte Mogul
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8400 E0 @ 4.0Ghz, 1.216v EP45-UD3P v1.1 XFX GTX260 2x 2GB GSkill Pi Black 
Hard DriveOSMonitorKeyboard
1x 250GB, PERC 6/i RAID5 4x F4 2TB Windows 7 Professional x64 Dell u2311h $3 Microcenter Cheap-O 
PowerCaseMouse
Antec TPN-750 CM590 Razer Deathadder 
  hide details  
Reply
post #4 of 6
I has no use for it, but rep nonetheless.
F-Type
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 960 @ 4GHz Gigabyte X58 G1 Sniper Zotac GTX 460 1GB 8GB G. Skill Ripjaws 
Hard DriveHard DriveHard DriveOptical Drive
WD 5000AAKS WD 2500KR Samsung 840 EVO 120GB Samsung DVD-RW w/Lightscribe 
CoolingOSMonitorMonitor
CM 212+ Windows 8.1 Professional 64 bit Samsung 2233SW 1920x1080 HDMI Asus 23" 
PowerCaseMouseAudio
Corsair 520HX Cooler Master RC-690 (modded) Logitech G9x Creative X-Fi onboard 
CPUMotherboardGraphicsRAM
Core i3 2.53GHz Dell - Inspiron 15R Intel IGP 6GB DDR3 
Hard DriveOptical DriveOSMonitor
WD 750GB DVD/RW Windows 8 Pro 64 bit 15.6" 
PowerCaseMouse
Teh battery. Inspiron 15R Logitech G9x/touchpad 
CPUMotherboardGraphicsRAM
AMD A6 5400K Gigabyte F2A88XM-D3H Integrated (APU) 8GB Kingston HyperX 
Hard DriveOSMonitorKeyboard
WD Blue 1TB Windows 8.1 Pro 64bit Compaq 1701 Old dell PS/2 
PowerCaseMouse
Corsair CX430 Rosewill mATX Logitech optical 
  hide details  
Reply
F-Type
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 960 @ 4GHz Gigabyte X58 G1 Sniper Zotac GTX 460 1GB 8GB G. Skill Ripjaws 
Hard DriveHard DriveHard DriveOptical Drive
WD 5000AAKS WD 2500KR Samsung 840 EVO 120GB Samsung DVD-RW w/Lightscribe 
CoolingOSMonitorMonitor
CM 212+ Windows 8.1 Professional 64 bit Samsung 2233SW 1920x1080 HDMI Asus 23" 
PowerCaseMouseAudio
Corsair 520HX Cooler Master RC-690 (modded) Logitech G9x Creative X-Fi onboard 
CPUMotherboardGraphicsRAM
Core i3 2.53GHz Dell - Inspiron 15R Intel IGP 6GB DDR3 
Hard DriveOptical DriveOSMonitor
WD 750GB DVD/RW Windows 8 Pro 64 bit 15.6" 
PowerCaseMouse
Teh battery. Inspiron 15R Logitech G9x/touchpad 
CPUMotherboardGraphicsRAM
AMD A6 5400K Gigabyte F2A88XM-D3H Integrated (APU) 8GB Kingston HyperX 
Hard DriveOSMonitorKeyboard
WD Blue 1TB Windows 8.1 Pro 64bit Compaq 1701 Old dell PS/2 
PowerCaseMouse
Corsair CX430 Rosewill mATX Logitech optical 
  hide details  
Reply
post #5 of 6
Thread Starter 
Quote:
Originally Posted by spartacus View Post
Oh that's pretty sweet.
I love finding cool Ubuntu tweaks....now I just have to get back to using it. Darn games!

bookmarked
Thanks I had the same problem when I was dual-booting I eventually just ended up using my laptop and desktop at the same time, desktop with windows for gaming and laptop with Ubuntu for everything else. I wound up building a new computer and using parts from my old performance machine underclocked just for Ubuntu

Quote:
Originally Posted by wierdo124 View Post
I has no use for it, but rep nonetheless.
Thank you kindly Not much of a Ubuntu fan?
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 (Lapped) DFI LANParty UT X58 T3eH8 BFG GTX280 X2 SLI Corsair DOMINATOR DDR3 1600 (6 GB) 
Hard DriveOptical DriveOSMonitor
WD Raptor 150GB & Samsung 320GB 7200 SATA LG 22X DVD±R DVD Burner Windows 7 RC x64 Build 7127 NEC 24" LCD 
KeyboardPowerCaseMouse
Logitech Media PS/2 Standard Keyboard Corsair 1000HX Lian-Li PC-A70B Logitech MX-518 
  hide details  
Reply
post #6 of 6
Steve 096

Many thanks! An extremely useful string of instructions, and a solution at last! My nautilus now displays everything I need!

Best wishes from the Caucasus (yes, even we have linux)!

alex
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How-To: Adding metadata columns in Nautilus (Ubuntu)