4
votes
1answer
82 views

Use custom command to open files

gedit application is set as default application for text files. Supposing I have a script with execution rights in /usr/bin, how can I set that script to be run when I open a text file using Nautilus ...
0
votes
0answers
9 views

How to remove fontconfig warnings when running gedit from terminal? [duplicate]

When I was working on a C program with Gedit in Ubuntu 12.04, font configuration warnings were shown in the terminal. What should I do to remove these warnings? shayna@shayna-Vostro-3446:~$ gedit ...
-1
votes
0answers
29 views

Gedit embedded terminal not working

I get this error when I run gedit: $ gedit Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/gedit/plugins/terminal.py", line 309, in do_activate self._panel = ...
-2
votes
1answer
57 views

Running python module in gedit embedded terminal [closed]

I'm new to python and i'm trying to run my first module but i can't do that through gedit embedded terminal the code i wrote is def num(b): print("Give A Number") b = b +5 print(b) I ...
0
votes
1answer
64 views

Alias to open multiple text files in different directories from terminal

After hours of searching and trying different gedit plugins I did not manage to add a session saver to gedit to open some files in Ubuntu 14.04 (see here). So, I am trying to create a permanent ...
0
votes
1answer
87 views

Could not write bytes: broken pipe - looking for log of removed packages

I have a dual boot system with 12.04 and windows 7. Ubuntu worked fine yesterday but this morning upon boot I get subject. Searched the forums and unsuccessful with recovery. I tried : sudo gedit ...
0
votes
2answers
54 views

Man Page Complete External Documentation pdf or text build

Ubuntu 14.04 man Version 2.6.7.1 gedit Version 3.10.4 I'm in the process of putting together a Complete Man Page Documentation, currently as a txt file, hopefully as a pdf eventually once I find a ...
0
votes
2answers
57 views

How can I go back to command line? [duplicate]

When I run ipython notebook or gedit in Terminal, the command line does not appear and it stops somewhere. How can I go back to command line mode?
0
votes
1answer
115 views

Closing - not killing - gedit instances via the terminal (to save changes)?

How can I close multiple instances of Gedit windows through the command line? Some of the windows may contain changes to documents. So, I would like to be prompted to save them or not. If I use ...
2
votes
3answers
2k views

Using grep to search texts with single quote?

I am using gedit text editor with embedded terminal in ubuntu 12.04. I'm trying to search for some text using grep. I want to search for this line of code 'type' => 'select' I tried: grep -r ...
2
votes
3answers
333 views

Disabling gedit backup files (filename~ tilde)

How can I get the following command to change for the root user as well? gsettings set org.gnome.gedit.preferences.editor create-backup-copy false This command should disable gedit backup files. ...
2
votes
2answers
163 views

What does it mean to run gedit in standalone mode?

I was reading man gedit, when I stumbled upon this: -s, --standalone Run gedit in standalone mode. The official gedit documentation on this subject did not make me much wiser. So... ...
0
votes
0answers
74 views

Gedit: execute line in embedded plugin

is there a way to execute a line from within gedit to the embedded terminal in the bottom panel? I am aware of the external tools plugin, but I could not find a working code to send the command from ...
0
votes
0answers
105 views

gedit terminal palette issues, again

I'm on ubuntu 12.04/precise with GNOME 3.4.2, running an XFCE 4.8 desktop. I have gedit 3.4.1 with terminal plugin 3.3.4. I'm trying to set my colour scheme to 'solarized dark'. In the screenshot ...
1
vote
1answer
692 views

Why gedit is not opening a file from terminal?

I've a Ubuntu 12.04 VPS with no graphical environment installed. In that VPS, I'm trying to open a file from terminal using gedit with this command gedit config/database.yml But unfortunately it ...
6
votes
3answers
9k views

Warnings while launching gedit from the Ubuntu terminal

I am facing these warnings while launching gedit from my terminal. Eventually gedit starts, but with these lines of warning every time when I launch gedit: (gedit:3830): Gtk-WARNING **: Theme parsing ...
1
vote
0answers
239 views

show C output in gedit's embedded terminal

I use gedit to write simple C code (learning basic C now). There is a plugin to embed terminal into gedit, like: I want to have a shortcut key, say F5 to compile the current .c file (gcc -o ...) ...
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 ...
0
votes
2answers
460 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 ...
3
votes
4answers
9k 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 ...
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
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
1answer
122 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. ...
3
votes
2answers
3k 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
1answer
809 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 ...
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 ...
2
votes
2answers
131 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, ...
4
votes
4answers
3k views

How To run Gedit and Subl commands in the background?

If I use Gedit or Subl (sublime text) commands in the terminal to open a file, I can't do anything else in the terminal until I close the text editor. How can I fix this?
4
votes
4answers
3k views

Why does sudo gedit NOT open files starting with Exclamation mark

When trying to open a file with sudo gedit /path/to/file with a file name starting with a ! in front eg !config.ini i can not open the file. However if i do sudo nautilus then open the file with gedit ...
2
votes
2answers
3k views

Gedit embeded terminal showing both background and foreground in white color

I am using Ubuntu 12.04.I am using Gedit with one of the plugin called Embeded Terminal which is used to place the terminal attached at the bottom part of the Gedit.Now my problem is in that embeded ...
4
votes
1answer
1k views

Executing “unicode” Python script from Gedit vs Terminal

As can be seen from screenshot, same script run from Terminal and Gedit behaves differently - in terminal script executes succesfully and in Gedit it raises error: But if I change python in Gedit ...
4
votes
3answers
291 views

Hide debug information when running apps from the command line

Most of the time running a gtk application from the command line it starts dumping debug information to the stdout even though I put them in background. Example: ~$ gedit test.html # and ctrl+z to ...
3
votes
2answers
2k views

Gtk-Warnings In Terminal [duplicate]

Possible Duplicate: Gtk warning when opening Gedit in terminal I have Ubuntu 11.10 installed on two different machines, both using x64 installs. Only one machine returns these Gtk warnings ...
4
votes
1answer
8k views

Gedit from terminal - inconsistent behaviour

I tend to frequently open a text file from the terminal with a command like so: gedit filename.txt However, the behaviour is inconsistent; sometimes, the focus will leave the terminal and will not ...
4
votes
4answers
946 views

How can I send current line in gedit to terminal?

When editing shell file in gedit, is there a way I could send current line (or selected block?) to terminal? When learning Python I use Spyder IDE. It has an option to execute code selection or block ...
26
votes
4answers
23k views

Make gedit embedded terminal colours the same as the default terminal

I've just updated to 11.10 and now my embedded terminal in gedit does not match my default terminal. I hate looking at a white and black terminal. Does anyone know how to make the embedded terminal ...
2
votes
1answer
1k views

Errors shown in terminal when editing files with gedit

When editing any file f.e. like this: r@ngf:~$ sudo gedit /etc/default/grub [sudo] password for r: (gedit:1638): Gtk-WARNING **: Attempting to store changes into ...
5
votes
0answers
8k views

How to change background color of gedit embedded terminal [duplicate]

How can I change the background color of gedit embedded terminal? I have tried changing my normal terminal (ctrl+alt+t) background and restarting gedit - but no luck. Thanks
8
votes
4answers
1k views

Two gedit plugins clash. How to change shortcut keys, or enable/disable a plugin

Gedit has two plugins from Gnome's Gedit Plugins page which I both particularly want... Multi-edit Control Your Tabs However they both vie for the same shortcut keys: Ctrl+PageUp and ...
2
votes
1answer
10k views

How can I edit my httpd.conf file?

I have XAMPP installed, and need to edit my httpd.conf file to add a virtual host block. If I right-click on the file in Nautilus and open with gedit, I can see all the content, but it's read-only. ...