Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

2
votes
1answer
1k views

How To Run Program As A Different User [closed]

I'm trying to launch programs as a different user than what I'm logged in as. For testing I've been using gedit. When I type sudo -u app_restricted gedit, I get an error, app_restricted being the ...
27
votes
6answers
11k views

I can't use the terminal while gedit command is running [duplicate]

I recently installed 12.04. When I try to edit a file with gedit, I can't use the terminal until I close the editing file or I have to open a new terminal. But I think I didn't have this problem with ...
8
votes
4answers
7k views

Is there an easier or more 'correct' way to open gedit as root?

I have ubuntu 12.04 running in a virtual machine on virtual box. Its existence is mainly as a 'toy' to play about with Ubuntu, so for this reason I wanted the GUI (is that what 'Dash' is in ubuntu ...
4
votes
3answers
3k views

How do I remove hidden backup files?

I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality?
2
votes
2answers
1k views

How can I run sudo gedit as gksu gedit

I'm looking into ways of automatically loading Gedit as gksu gedit when I enter sudo gedit by mistake? I have found that I have made a number of files unreachable by using gedit and I have only just ...
1
vote
2answers
4k views

could not save the file /usr/… permission denied (13.04)

I am running Ubuntu 13.04 and am trying to create an .sh file for conky in /usr/bin using gedit. When trying to save I get the error dialogue: Could not save the file /usr/bin/conky-start.sh You do ...
1
vote
1answer
1k views

running gedit as sudo

I'm really new and from the dark side (Windows)... I must be doing something wrong. The only way I can get gedit to run with a tool bar (Save As etc.) is to launch it with sudo from a terminal. I ...
1
vote
1answer
143 views

Open foo.r executable files in gedit

I'm editing a bunch of foo.r files (source R files for an R packages) in Ubuntu Unity 12.10. Every time I click on one of these files to open it in gedit, a dialogue box comes up: "Do you want to ...
2
votes
2answers
844 views

Gedit 3.6.1, how to increase the number of recent files from its default of 5?

Ubuntu 12.10, gedit 3.6.1 This won't work: gconftool-2 --type int --set /apps/gedit- /preferences/ui/recents/max_recents 30 Modifying this file as root won't work either: cat ...
1
vote
2answers
3k views

Problem on running shell script (how to NOT make it run from gedit) - Ubuntu 12.04

I want to run shell script or at least run it from terminal. I tried going to home folder/edit/preferences/behaviour and set executable text files to 'ask each time' but it doesn't even give the ...
1
vote
3answers
524 views

How to clean gedit's and other editor's find&replace history?

I have started working on a new project using gedit on ubuntu 12.04. The problem i am facing now is that, all previously searched terms are still there when i click on the drop down arrow in search ...
1
vote
0answers
150 views

Gedit terminal background image

Is there a way to make the gedit embedded terminal have a custom background image instead of just a color? I've gone through all the options I can think of and haven't found anything. I have ...
2
votes
0answers
100 views

How can I save an open text file in a GUI console from a text console? [closed]

I'm running the latest desktop Ubuntu, and my system seems to have frozen -- the pointer moves when I move the mouse, but nothing else is happening; even the clock is stopped. tty1-6 work just fine, ...
0
votes
1answer
1k views

GEdit not working for some users

I am using GEdit 3.8.2 on Ubuntu 13.04 Raring Ringtail with GNOME 3.8. I have two user accounts on my computer. When I launch GEdit in my account, I get a window that is blank, and am not able to ...
3
votes
1answer
2k views

How to add a new language definition for syntax highlighting in Gedit?

I've attempted to create a new .lang file for getting Gedit to recognize the Julia programming language. I have read the tutorial, the reference document and the wiki page Gedit/NewLanguage, and I ...
0
votes
1answer
235 views

Weird bug in gedit - line numbers cut off on the left [closed]

gedit seems to have a bug - if the file has more than 9 lines, but less than 99, the line numbers get cut off on the left side. Does anyone have an an idea how to fix this? I am running Ubuntu ...
1
vote
1answer
128 views

gedit opens different window though it should not

It's a follow-up of Why does gedit keep randomly opening new instances when opening files from nautilus? On Ubuntu 12.04 with Unity: I double click on a text file on the desktop or through Nautilus. ...
1
vote
2answers
13k views

Changing computer name [duplicate]

Can someone tell me how to change the computer name on a pc, I've tried to edit the /etc/hostname file but it won't allow me access to save the amended file, thought the user the system created was ...
0
votes
3answers
458 views

Cannot Login Ubuntu 12.04

I have been using Ubuntu for 2 months and it work fine. Yesterday I tried to make my Texlive Manager (tlmgr) running by inserting a PATH in /etc/profile.d. Today when I wanted to login as usual, I ...
8
votes
1answer
5k views

“libpeas-WARNING **: Could not find loader 'python3' for plugin” when loading a pluging in gedit

I recently upgraded to Ubuntu 13.04 and I use gedit for a lot of things. I was trying to install some plugins that I use quite frequently and I came into some issues. First I installed the plugins ...
0
votes
1answer
154 views

Gmate Install Fail

I'm looking to install gmate to allow use of gedit for Ruby development. Currently I'm running Ubuntu 13.04 x64. I can add the required repository but when I "apt-get update" the following error is ...
4
votes
2answers
4k views

Start a new process without blocking the terminal

Is it possible to do this? For example if I run "gedit tifatul.txt" via the command line, my terminal becomes blocked and I can't enter other command in this terminal before I quit gedit. Can I start ...
0
votes
2answers
862 views

Gmate installation issue

I was following the link GMate and Using Gedit as a Ruby IDE to make my Gedit as IDE. But when all the command was running good,the below one throwing me an error. kirti@kirti-Aspire-5733Z:~$ sudo ...
1
vote
1answer
483 views

How to install latest version of rgedit in 13.04

I've got a bug in the version of RGedit in ubuntu's repository and I want to install the latest version to see if this plays better with 13.04 somehow. What do I do once I download the archive? ...
6
votes
6answers
18k views

Why does gedit window open when I double-click a program file, “start-tor-browser”? [duplicate]

When I double-click the file, "start-tor-browser," the only thing that happens is a gedit window opens and displays a ton of programming code. The program does not execute. How to I make ...
12
votes
2answers
9k views

Some Ubuntu 13.04 applications cannot access files on MTP-mounted systems. Why?

Ubuntu 13.04 comes with MTP support to access files on newer Android devices. My Nexus 10 works OK: after plugging in, I can access the N10 files with Nautilus, and I can copy from and to the device. ...
10
votes
2answers
4k views

Opening a non-utf8 encoded text file

I sometimes need to open text files that are encoded in EUC-KR. man gedit gives: --encoding Set the character encoding to be used for opening the files listed on the ...
0
votes
1answer
993 views

~/.profile OR ~/.bashrc OR ~/.pam_environment

Please which one of these should I edit to give me required result of the path to my programs both in normal user and as root. I have added in normal user and as root but there is error as quoted ...
10
votes
0answers
123 views

Configuring the gedit embeded terminal [duplicate]

I have two problems with my gedit embeded terminal: First my terminal line is white and black, and I really want it to be like the Ubuntu terminal line that is purple: Embeded terminal: Regular ...
3
votes
0answers
141 views

Gedit, Evince has print disabled

Print menu command is disabled in evince and gedit. Print functionality works fine in other applications like Chrome, GIMP, Firefox. Ubuntu printer setup correctly recognizes my printer and scanner ...
4
votes
1answer
199 views

gedit shortcuts

Is there a way to make my own shortcuts for terminal in gedit? I mean, for example if I want to compile a C++ source, when I press F9 I want it to make g++ source_file.cpp (this is only an example) ...
8
votes
1answer
818 views

How to enable Gedit autosave files with name of current system Date and Time

I want Gedit to autosave files, by the default name with the current system Date and time. Is this possible? If not, is any hack to achieve the same? The use of this feature is, the file names are ...
8
votes
2answers
2k views

How can I print the line numbers of gedit?

I want to print the line numbers along with c source-code in the text editor "Gedit". I am tired to look all day at the display. Thank you for any time or effort.
0
votes
2answers
453 views

Sluggish refresh when scroll on texteditor

it's about two days that I realized that I've got a strange problem on texteditor (gedit, but also Geany and others). When I scroll the text (with mouse but also with page down/up) it didn't refresh ...
5
votes
1answer
73 views

How can I change the default name that kate and gedit give to new documents?

When you create a new file in kate or gedit they name them like "Untitled1" or "Unsaved Document 1". How can you change this to some other string$n pattern of your choice?
5
votes
0answers
4k views

How do I run executable scripts in Nautilus rather than open them in Gedit text editor? [duplicate]

When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so. Using Nautilus, how do I run executable text files and/or scripts?
0
votes
1answer
1k views

How to install Emmet with gedit text editor in Ubuntu 12.04?

I am using Ubuntu 12.04. I came to know about emmet plugin. Which is really awesome for writing markups. As I am a developer I am using gedit with zencoding plugin to write markup easily. Now as I ...
2
votes
1answer
581 views

Why does pylint Gedit plugin give me an error when I try to enable it?

I downloaded and installed the pylint gedit plugin. I then copied the pylint.gedit_plugin file and the pylint directory to /usr/lib/gedit/plugins I couldn't see it in the gedit plugins menu so I ...
4
votes
4answers
718 views

Text editor that can wrap text in predefined HTML tags like Notepad++

I'm new to Ubuntu and am trying to figure out some things. In Notepad++ it is possible to use WebEdit plugin and define keyboard shortcuts for different HTML tags. E. g. "Ctrl + p" can wrap the text ...
1
vote
2answers
2k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
1
vote
1answer
2k views

How do I change the colors of a Gedit theme?

I don't know what I'm doing wrong. I'm using a custom theme called Twilight for Gedit and I'm trying to change some of the colors of the theme. I went to: /home/user/.local/share/gedit/twilight.xml ...
5
votes
2answers
254 views

howto prevent gedit always opening a new unnamed file when launched

Is there a way to prevent gedit from always opening a new "untitled" file when launched (at least when an other file name is passed either with Alt+F2 and gksudo)? It is borring to always have to ...
7
votes
2answers
4k views

Geany / Gedit: hex editor plugin

Are there any plugins for Geany / Gedit to support reading binary/hex files?
2
votes
1answer
248 views

Gedit not found on launchbar when I minimize, Ubuntu 12.10.

I updated from 12.04 to 12.10, and when I minimize gedit, it doesn't show up in the launch bar. The only way I'm able to get it back is to open one of the files that has already been opened in gedit. ...
0
votes
2answers
66 views

Search plugin for wrapping words with text in Gedit v3

I've been searching out for a plugin that could possibly wraps words with specified text. For example I double click this word to highlight it : word and using a particular shortcut, it becomes ...
0
votes
1answer
503 views

Ubuntu 12.10 Eclipse IDE opens py file with gedit(default) cant run file from gedit? cant switch default to eclipse?

I am trying to run a simple 'hello world" py file in Eclipse and the file opens with gedit or gvim and i cant seem to get it to run. So I installed Eclipse and I cant seem to get the py file I select ...
4
votes
4answers
825 views

Lost a saved gedit file

I saved a text file in gedit last night before shutting off my computer, and I remember what I named the file. When I turned on my computer this morning to load the file, I could not find it. I've ...
2
votes
2answers
149 views

Search in a big file for specific string

I have a 6 GB text file. It has an access record for a whole month to my website. That file is my only hope to know how a someone got access to my website and hacked it. But, as the file is too big, ...
3
votes
1answer
1k views

Can I change the color of tabs in gedit?

under Xfce 4 (Xubuntu 4.8) the tabs of gedit appear black with dark grey writing (at least on my PC it does). Obviously this makes it pretty hard reading the file names that are open. Changing the ...
1
vote
4answers
7k views

How to open the default GUI text editor in Ubuntu or Lubuntu via a script?

I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor? I want to make the script usable ...