Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

6
votes
3answers
2k views

Cannot use gedit on multiple remote machines using ssh

After setting up the last of my 5 remote machines, I decided to test that the network was working well by connecting to each and opening gedit. To my dismay, when I tried to open gedit on the second ...
0
votes
0answers
34 views

sources.list, edit root [duplicate]

Today I keep receiving this message with Synaptic: E: Malformed line 220 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. Go to the repository dialog to ...
1
vote
0answers
171 views

Gedit - Background mouse wheel

I'm encountering a problem on all my Ubuntu & Mint installs: When I have a file opened with Gedit and scroll the mouse wheel into another application, gedit gets scrolled too. How to reproduce: ...
0
votes
1answer
60 views

Speller in gedit won't change words

I'm using gedit and the speller actually highlight the misspelled words. But when I right-click the word and choose the correct word it won't change. Also I can't choose to add a new word.
0
votes
2answers
297 views

How to send current of line of code to terminal input in gedit 2013?

I just switched to ubuntu. I want to use R and I am using gedit to write R script. When I was using Mac, I was able to use run a R script line by line. However, I have no idea how to do this now in ...
1
vote
1answer
100 views

How to highlight Non-consecutive text in Gedit?

Is there any short-cut/keyboard command to highlight, i.e., select, non-consecutive text in gedit? For instance, say I want to highlight the words there and text in the previous sentence at the same ...
1
vote
1answer
69 views

Can I shrink gedit's side panel?

My laptop screen is fairly small and gedit's side panel won't go smaller than about 400 px. It is a little exasperating because I can't have any other windows visible if I want to use anything in the ...
3
votes
1answer
222 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
3
votes
4answers
6k views

Why do I get IBUS-Warning on running the sudo gedit command?

Whenever I try to run a sudo gedit command as instructed in Step 4 of this answer, my terminal puts out: (gedit:7549): IBUS-WARNING **: The owner of /home/jared/.config/ibus/bus is not root! How ...
1
vote
1answer
562 views

What languages does Pluma / Gedit text editor cover for syntax highlighting?

I've tried a Google search and even tried Wikipedia. https://projects.gnome.org/gedit/ says: Features: ... Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, ...
3
votes
1answer
210 views

Help wanted with customising the markdown panel in gedit

I have gedit 3.6.2 (Lubuntu 13.04) and I've installed a plugin from gedit-markdown: support for Markdown language in gedit that allows me to preview markdown text in a bottom or side panel within ...
3
votes
1answer
245 views

Gedit: Saving has been disable by system administrator

I have a problem with gedit. If I start writing a new file or edit an existing file the Save button and short cut to save is disabled. If I exit a modified document a dialog opens with the following ...
2
votes
1answer
738 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 ...
0
votes
0answers
267 views

How can Gedit 3.6 display all UTF-8 characters

My UTF-8 text files have a number of non-printing characters without font entries such as U+1D179 Musical Symbol Begin Phrase characters. Older versions of Gedit, such as the version shipped with ...
26
votes
6answers
5k 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 ...
7
votes
4answers
2k 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 ...
3
votes
3answers
1k 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
843 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
2k 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 ...
0
votes
1answer
761 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
118 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 ...
1
vote
1answer
404 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 ...
0
votes
0answers
81 views

How do I safely copy code from websites?

I have broken my ubuntu install on my chromebook enough times to be fed up because each time requires a reinstall. I've done more than 15 reinstalls between yesterday and today. My problem lies in ...
0
votes
2answers
2k 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
2answers
269 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 ...
0
votes
0answers
87 views

Setting file browser root in gEdit

I use gedit with the SnapOpen extension, which allows to locate files quickly inside the "browser root" directory. This is the directory which you select in the file browser in the side panel. When ...
0
votes
0answers
167 views

libgdk-3.so.0 and libstdc++.so.6.0. errors

I am using Ubuntu 12.04 (updated recently). I am having some very unusual errors. Initially I had errors for libstdc++.so.6.0 and I tried to resolve it by adding the /usr/lib/i386-linux-gnu in the ...
1
vote
0answers
108 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
84 views

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

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
0answers
20 views

How can I prevent gedit from making files with ~ [duplicate]

Every time I open an existing file with gedit, it copies said file and appends a tilde (~) to the name. As this is quite annoying, how can I prevent gedit from making those extra files?
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 ...
2
votes
1answer
1k 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
188 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
110 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
10k 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
427 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
4k 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
137 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 ...
1
vote
2answers
2k 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
673 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
339 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? ...
3
votes
6answers
11k 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
8k 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
2k 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 ...
-1
votes
1answer
562 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
122 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
109 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
116 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
513 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 ...
7
votes
2answers
1k 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.