Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 05-31-09   #1 (permalink)
Case Modder
 
Steve096's Avatar
 
intel nvidia

Join Date: Mar 2008
Location: NEPA
Posts: 337

Rep: 26 Steve096 is acknowledged by some
Unique Rep: 23
Trader Rating: 0
Default How-To: Adding metadata columns in Nautilus (Ubuntu)

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.
Attached Files
File Type: rar metadata_column_script.rar (1.9 KB, 18 views)
__________________
"You don't know you're wearing a leash if you sit by the peg all day."
-Michael Parenti
How-To: Adding metadata columns in Nautilus (Ubuntu)

System: Beast
CPU
Core i7 920 C0 (Lapped)
Motherboard
DFI LANParty UT X58 T3eH8
Memory
Corsair DOMINATOR DDR3 1600 (6 GB)
Graphics Card
BFG GTX280 X2 SLI
Hard Drive
WD Raptor 150GB & Samsung 320GB 7200
Sound Card
Bernstein Audio Module
Power Supply
Corsair 1000HX
Case
Lian-Li PC-A70B
CPU cooling
TRUE 120 Extreme Black (Lap) 2x ULTRA KAZE 2000rpm
GPU cooling
Stock
OS
Windows 7 RC x64 Build 7127
Monitor
NEC 24" LCD

Last edited by Steve096 : 05-31-09 at 05:34 PM
Steve096 is offline   Reply With Quote
Old 06-06-09   #2 (permalink)
Case Modder
 
Steve096's Avatar
 
intel nvidia

Join Date: Mar 2008
Location: NEPA
Posts: 337

Rep: 26 Steve096 is acknowledged by some
Unique Rep: 23
Trader Rating: 0
Default

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.
__________________
"You don't know you're wearing a leash if you sit by the peg all day."
-Michael Parenti
How-To: Adding metadata columns in Nautilus (Ubuntu)

System: Beast
CPU
Core i7 920 C0 (Lapped)
Motherboard
DFI LANParty UT X58 T3eH8
Memory
Corsair DOMINATOR DDR3 1600 (6 GB)
Graphics Card
BFG GTX280 X2 SLI
Hard Drive
WD Raptor 150GB & Samsung 320GB 7200
Sound Card
Bernstein Audio Module
Power Supply
Corsair 1000HX
Case
Lian-Li PC-A70B
CPU cooling
TRUE 120 Extreme Black (Lap) 2x ULTRA KAZE 2000rpm
GPU cooling
Stock
OS
Windows 7 RC x64 Build 7127
Monitor
NEC 24" LCD
Steve096 is offline   Reply With Quote
Old 06-06-09   #3 (permalink)
Audiophile
 
spartacus's Avatar
 
intel nvidia

Join Date: Jun 2008
Location: Ohio, USA
Posts: 733

Rep: 74 spartacus is acknowledged by some
Unique Rep: 71
Folding Team Rank: 499
Trader Rating: 10
Default

Oh that's pretty sweet.
I love finding cool Ubuntu tweaks....now I just have to get back to using it. Darn games!

bookmarked

System: blackbox
CPU
E8400 E0 @ 4.4Ghz, 1.344v
Motherboard
EP45-UD3R
Memory
2x 2GB GSkill Pi Black
Graphics Card
XFX GTX260
Hard Drive
1x 250GB, 4x 750GB
Power Supply
hec ACE580W
Case
CM590
CPU cooling
Xigmatek S1283
OS
Windows 7 Professional x64
Monitor
19" Hanns-g
spartacus is offline I fold for Overclock.net   Reply With Quote
Old 06-06-09   #4 (permalink)
catmmm approved wierdo
 
wierdo124's Avatar
 
intel nvidia

Join Date: Jan 2008
Location: Minnesota
Posts: 7,217
Blog Entries: 1

Rep: 402 wierdo124 is a proven memberwierdo124 is a proven memberwierdo124 is a proven memberwierdo124 is a proven memberwierdo124 is a proven member
Unique Rep: 292
Folding Team Rank: 112
Hardware Reviews: 3
Trader Rating: 9
Default

I has no use for it, but rep nonetheless.

System: Winrar
CPU
Core 2 Duo E8400 @ 4GHz
Motherboard
Gigabyte P35 DS3L
Memory
4GB OCZ Fata1ity
Graphics Card
XFX GTX260 Core Edition (216sp) 1588 shader)
Hard Drive
WD 5000AAKS, WD 2500KS
Sound Card
Onboard
Power Supply
Corsair 520HX
Case
Cooler Master RC-690 (modded)
CPU cooling
TRUE 120 with Skythe S-Flex
GPU cooling
Stock XFX Core Edition rev2
OS
Windows 7 Professional 64 bit
Monitor
Samsung 2233SW 1920x1080 HDMI
Overclock.net - 2009 Chimp Challenge Champions 1 Million+ Folding at Home points
wierdo124 is offline I fold for Overclock.net Overclocked Account wierdo124's Gallery   Reply With Quote
Old 06-06-09   #5 (permalink)
Case Modder
 
Steve096's Avatar
 
intel nvidia

Join Date: Mar 2008
Location: NEPA
Posts: 337

Rep: 26 Steve096 is acknowledged by some
Unique Rep: 23
Trader Rating: 0
Default

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?
__________________
"You don't know you're wearing a leash if you sit by the peg all day."
-Michael Parenti
How-To: Adding metadata columns in Nautilus (Ubuntu)

System: Beast
CPU
Core i7 920 C0 (Lapped)
Motherboard
DFI LANParty UT X58 T3eH8
Memory
Corsair DOMINATOR DDR3 1600 (6 GB)
Graphics Card
BFG GTX280 X2 SLI
Hard Drive
WD Raptor 150GB & Samsung 320GB 7200
Sound Card
Bernstein Audio Module
Power Supply
Corsair 1000HX
Case
Lian-Li PC-A70B
CPU cooling
TRUE 120 Extreme Black (Lap) 2x ULTRA KAZE 2000rpm
GPU cooling
Stock
OS
Windows 7 RC x64 Build 7127
Monitor
NEC 24" LCD
Steve096 is offline   Reply With Quote
Old 08-08-09   #6 (permalink)
New to Overclock.net
 
Join Date: Aug 2009
Posts: 1

Rep: 0 alexjtb Unknown
Unique Rep: 0
Trader Rating: 0
Default

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
alexjtb is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 01:04 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.12481 seconds with 9 queries