Questions tagged [gedit]
gedit is a text editor for the GNOME desktop environment, not to be confused with GNOME Text Editor (gnome-text-editor) released with GNOME 42
927
questions
2
votes
2
answers
1k
views
How to REALLY make Sublime Text Build 3143 the default text editor in Ubuntu 16.04.3
You're problably going to say this is a duplicate, and it would be if I had not looked here
Sublime text as default editor for all text files
and here
How do I make Sublime Text 3 the default text ...
3
votes
0
answers
2k
views
Which best practice for using gedit as root? [duplicate]
gksudo seeming to be somehow depreciated since 2017 as I see on the french forum documentation, is there an environment and version agnostic best practice allowing to use gedit as root?
(excluding ...
2
votes
1
answer
3k
views
How to Change language of gedit in WSL [closed]
I have installed WSL on windows 10. After that using VcXsrv, I can launch gedit editor from the installed WSL. Moreover, I have tried to install Arabic and Persian language using this link, and it was ...
0
votes
0
answers
69
views
GTK warning on using gedit command [duplicate]
I use Ubuntu 17.04. Every time I use gedit command in terminal I get a warning.
$ gedit sample.cpp
(gedit:6496): Gtk-WARNING **: Allocating size to GtkPaned 0x55bb7be10780 without calling ...
2
votes
1
answer
68
views
can I get rid of the open/new/save toolbar in gedit 3.18.3?
In gedit 3.18.3, there is a bar at the top with the options "Open", "Create new document" (as a hat-type symbol with a plus inside), and then to the far right after a long stretch of blank/unused ...
4
votes
1
answer
349
views
Use no tabs in Gedit
How to force Gedit always, any time, in any place open new doc in a new window?
And never, nowhere open it in a new tab?
1
vote
1
answer
180
views
Pluma/Gedit REMOVE languages
I like to remove most of the languages from the pluma/gedit menues, where they show up.
It's great that the editors support so many languages. But most of them I never use. So they are only in the ...
2
votes
1
answer
535
views
Ubuntu MATE 17.10 Pluma: 'Failed to load module 'pythonloader'
Pluma 1.18.2 on MATE 17.10 updated Jan 13 2018
Attenpting to enable Python Console through Plugin menu.
(pluma:26739): libpeas-WARNING **: Failed to load module 'pythonloader':
/usr/lib/x86_64-...
0
votes
1
answer
1k
views
Create a desktop icon to invoke text editor for a specified file
I'm still a complete noob as regards Unix/Linux/Ubuntu. Per that earlier question, I tried installing Ubuntu 4 years ago, but gave up when I couldn't even manage to configure my screen resolution.
I ...
2
votes
2
answers
1k
views
How to go to a specific line number in gedit, using guake?
I use guake which let me directly open a file if I ctrl+click on it.
I have the need to open a file AND directly go to the specific line shown on screen.
How can I set guake to make it work?
I tried ...
3
votes
1
answer
2k
views
Is it possible to Enable Focus Stealing under Wayland? (Gnome Shell 3.26, Ubuntu 17.10)
I've just switched over to Wayland from XOrg under Ubuntu 17.10.
Say I'm in Nautilus and I click on a text-file. It used to be for me that I was automatically switched over to gedit (every time I ...
0
votes
0
answers
2k
views
"cat *" (read all output) Crashes Terminal and Gedit
This command:
cat * > cat_all.txt
successfully results in the file cat_all.txt, as expected. However, the text file will not open in Gedit. The behavior is mostly freezing, screen-darkening, ...
0
votes
0
answers
38
views
Gedit frozen with invaluable information unsaved [duplicate]
My gedit got frozen for nothing while I wasn't using my computer and it seems to have problems with auto-save + stuff open from google drive via nautilus, so it saved nothing. But I simply can't lose ...
1
vote
1
answer
2k
views
Ubuntu freezes while watching mp4 file [duplicate]
I have a low-end laptop (Lenovo Ideapad 100s). Sometimes, when I watch a recording of my university lectures, the whole system freezes. I can't move my mouse or use my keyboard. The freeze lasts 20 ...
0
votes
0
answers
320
views
gcc doesn't compile C How To Program 'create a random access file' tutorial
The tutorial on File Processing in C How To Program 6th Edition (Chapter 11
Fig. 11.11) creates a random access file sequentially. fwrite and fread are used in the code to create 100 blank records ...
3
votes
2
answers
1k
views
How to remove line breaks from large numbers? [duplicate]
I would like to be able to generate a large number of digits (for example, the first one million decimal digits of the Napier constant) and then save the number in a text file without any line breaks. ...
1
vote
1
answer
559
views
Is there any way to add outline support to gedit to make it more usable for coding?
Geany for example has a sidebar with a "symbols" section showing functions and variables.
2
votes
0
answers
47
views
Gnome shell cannot detect opened window for some system application
Assume I search firefox in gnome-shell and hit enter to open. But when I search firefox again and hit enter it will brought the firefox window to front because it's already opened.
But this behavior ...
2
votes
1
answer
399
views
Why do special characters change the width of trailing/leading space character in Gedit or medit?
When I paste a special character, from the Character Map, into Gedit or medit in Ubuntu 16.04, then the space characters directly after the special character display with a "compressed" character ...
-2
votes
3
answers
20k
views
How do I start gedit in terminal? [closed]
I did a search for how to start gedit from the terminal. Answers were frustrating to say the least. Finally I happened on the idea of opening gedit with the system monitor on and look for new apps. ...
2
votes
0
answers
772
views
gedit doesn't open in terminal nor by searching in applications
Since a time ago I'm not able to open files on gedit and it keeps crashing when I try to open it by clicking the program in the launcher or trying to open it in the terminal.
When I try to open it in ...
1
vote
0
answers
413
views
Tyring to open a file with gksu gedit
I'm trying to open the /etc/group file as root (to edit) but as soon as I type
gksu gedit /etc/group
It gives me
Failed to connect to Mir: Failed to connect to server socket: No such file or ...
3
votes
1
answer
2k
views
Windows Subsystem for Linux gedit error
I'm using Windows Subsystem for Linux (WSL) with VcXsrv windows manager (GUI) for Linux under Windows with Xfce4 from Xubuntu-Desktop and am getting this error message every time I start gedit:
** (...
3
votes
2
answers
2k
views
How do I find the default gedit color scheme xml files?
I know how to find new color schemes and alter them slightly to fit my liking. And I can make them slightly similar to the defaults.
What I want to do, however, is change one of the defaults slightly....
1
vote
1
answer
532
views
Intrusive frame around Gedit windows in VirtualBox seamless mode
I run Xubuntu 16.04 in VirtualBox on Windows and I mostly view it in seamless mode. It works well for most apps but when there is a Gedit window overlapping the desktop or windows running in Windows, ...
0
votes
1
answer
389
views
I just upgraded to 17.10 from 17.04: library not found for gedit
After upgrading to 17.10 from 17.04 a couple of hours ago, I cannot use gedit, apparently because a library could not be found:
tscale@tscale-mbp-ubuntu:~$ gedit
gedit: /snap/meshlab-mardy/current/...
2
votes
1
answer
1k
views
How to change the path to the folder of the XML syntax files? (gedit)
Any clue about the variable to be changed in order for gedit to read XML files in another folder?
Currently syntax files are in:
/usr/share/gtksourceview-2.0/language-specs
I'd like gedit to read ...
2
votes
1
answer
613
views
Can't open gnome-terminal, nautilus or gedit
I've had some problems after recent nvidia driver update to Ubuntu 17.10 (ubuntu on xorg) (Login loop after nvidia driver update) But I was able to fix the login loop by reinstalling nvidia drivers ...
0
votes
2
answers
3k
views
Ubuntu 17.10 Suspend on Laptop Lid Close?
I'm running Ubuntu 17.10 on an HP Revolve 810, and I'm having some trouble with getting the machine to go into Suspend when the lid is closed. I've tried doing some digging, found a command that ...
0
votes
1
answer
147
views
gedit 3.18.3 accels in Xubuntu 16.04
I like to have the time/date entered with F5 and I'd like to try to make this work in gedit.
I found some dox that say to edit a file .config/gedit/accels
I've done this but the shortcuts don't work. ...
0
votes
0
answers
126
views
How do I copy a text code from a PDF and paste into centos Virtual Machine Gedit
Im trying to copy this code from a pdf and paste it into VM Gedit:
Why a simple Control C and Control V wont work!?
Thanks for the help!
records = LOAD '2013_subset.csv' USING PigStorage(',') AS
(...
0
votes
1
answer
368
views
When I type "gedit .bash_aliases" I get an empty page
I am new to Ubuntu and to Linux.
When I type
gedit .bash_aliases
or
gedit .bash_history
it shows only a blank page. It doesn't write anything there. I wanted to add some aliases there and to see ...
0
votes
1
answer
502
views
Executable Text File set to execute
So I downloaded AutoMouseClick because I need the software.
I downloaded the zip file, extracted it and made sure that under my Preferences settings in File are set to "Ask Each Time" whenever I ...
1
vote
1
answer
4k
views
How can I edit apache settings file on 17.10? [duplicate]
I've installed 17.10 , php7 and apache2 via apt. I'm not able to edit the apache files to use an specific directory to use the files. I've tried
sudo gedit /etc/apache2/apache2.conf
but it returned:
...
1
vote
0
answers
702
views
Using gedit using X forwarding on remote location
I have been using the following command to log in to a server :
ssh user@servername -X
To edit I usually use the gedit on server by typing :
gedit filename
This seemed to be working fine until ...
2
votes
2
answers
2k
views
Strange appearance of text/background in gedit
When I open my text editor and try to write there this is happening.
What should I do?
0
votes
0
answers
3k
views
Gedit error : Failed to connect to Mir
When I try to open gedit on my localhost using sudo, I am getting the following error. But I am able to open with out root(sudo).
Failed to connect to Mir: Failed to connect to server socket: No ...
6
votes
3
answers
4k
views
Configure Gedit to always open documents in new tab
Prior to updating to Ubuntu 17.04, opening new text documents always opened them in a new tab. But since updating, new text documents are always opening in a new window (even when a gedit window is ...
1
vote
1
answer
161
views
gedit backround error, I can see through the window where it is supposed to be white
There is suddenly an annoying visual error when I use Gedit for Ubuntu 17.04.
Normally when I open Gedit, it shows me the text of a file, or nothing, and when I write on my keyboard there are some ...
8
votes
7
answers
8k
views
Deleting history from ~/.bash_history
I have a couple questions about the terminal or command line history that is stored in ~/.bash_history.
I can see the file in the terminal with the history command but if I try to open it with gedit ...
0
votes
0
answers
200
views
Gedit is not working properly (image in question). Why?
When I open a text file this happens:
If I scroll up or down this happens:
Why?
What should I do?
1
vote
2
answers
2k
views
Unable to search in gedit
I am using Ubuntu 16.04 on Lenovo X1 carbon 5th gen laptop. My system is fully up to date and the version of gedit is 3.18.3. From last week onwards I am unable to perform a search on gedit. When ctrl ...
2
votes
1
answer
983
views
What is the keyboard shortcut for accessing the main (hamburger) menu in Gedit?
What is the keyboard shortcut or accelerator keys for opening gedit's primary menu (the menu that appears when the three-line button ☰ at the top left)?
In older versions of the program, the key ...
7
votes
4
answers
5k
views
How do I check my gedit version? [duplicate]
I want to install some plugins for gedit, and I need to know my gedit version to install the correct plugins.
How do I check it?
Note: I'm running Ubuntu 16.04
4
votes
1
answer
1k
views
How can I know the encoding Gedit assumes for a given file?
It appears that there are at least two questions here on Ask Ubuntu that are similar to this, but neither has been answered.
How can I find out the encoding method that gedit uses to open a text file?...
1
vote
1
answer
248
views
How can an open file be reverted in the new Gedit?
What is the new equivalent of the revert command in the old Gedit File menu? The changes were done in another program. I want to quickly revert the changes done to the file from the disk to load the ...
19
votes
2
answers
2k
views
Where does gedit store the last cursor position?
When you open an existing text file in gedit, the cursor starts at the position it was at when you last closed the file. So gedit presumably needs to store a list of inodes and offsets.
I'm curious ...
0
votes
1
answer
104
views
Ubuntu 16.04 Ubuntu Software runs but does not install software nor show installed software following dconf reset -f /org/compiz/ and setsid unity
I was attempting to resolve a problem with Gedit, found suggestions on Menu bar missing in gedit".
I executed the commands: dconf reset -f /org/compiz/ AND setsid unity
Some time following this I ...
5
votes
3
answers
13k
views
Warning popping up in terminal window when Gedit is opened
(gedit:15131): WARNING: Could not load theme icon text-x-generic: Icon 'text-x-generic' not present in theme Adwaita
This aforementioned warning sign pops up when I open the "gedit" text editor via ...
0
votes
1
answer
2k
views
Xubuntu/xfce Some .txt files won't open text editor
I have strange behaviour on my Xubuntu installation when opening text files from the File manager by double click.
Many text files with the extension .txt from a SMB share do not react on a double ...