Solved

Ubuntu 12.04 Unity - Easy way to open a file in GUI text editor

Posted on 2012-12-27
3
565 Views
Last Modified: 2012-12-28
I'm a new Ubuntu 12.04 Unity user coming from a Windows background.  One thing I do a lot in Windows is rename the extension of a file so that Windows uses a different application. For example, I change the extension to .txt so that clicking opens the file in notepad or wordpad, later renaming the extension back to resume using my "normal" application associated with that extension.  If only doing this "one time", instead of renaming I would right click and specify the application from the context menu.

With my short experience under Ubuntu, it seems that the file extension trick is not applicable. Also, on some files (like svg) the context menu does have an "Open with" option but other files don't.  I find myself going into terminal and using vi which takes longer for me.  Is there an easy way to open a file in the GUI with a different application (assuming the context menu lacks and "Open With" option)?  I'm hoping for a technique that makes it quick and easy to modify the application that is used to open a specific file, even if just for one time.
0
Comment
Question by:MajorBigDeal
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 425 total points
ID: 38725173
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 75 total points
ID: 38725351
If it's one-off, open a terminal (looks like a small monitor in the favorites menu on the left) and run
$ sudo gedit /path/to/filename.ext
0
 
LVL 11

Author Closing Comment

by:MajorBigDeal
ID: 38728815
Thanks!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Linux permissions in the context of web sites 9 140
Open Camera IP 8 92
linux crontab output 3 39
Mysql Crashing Intermittently 16 47
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now