Views:
1,906β
Votes: 6β
β
Solution
Tags:
gedit
scrolling
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1103573
Title:
How can I prevent line wrapping and instead allow horizontal scrolling in Gedit?
ID:
/2018/12/21/How-can-I-prevent-line-wrapping-and-instead-allow-horizontal-scrolling-in-Gedit_
Created:
December 21, 2018
Edited: December 21, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
On the window bottom of gedit
click on the Line number / Column number section:
Uncheck the Text wrapping
option and a horizontal scroll box will then appear. Lines will no longer be wrapped.
If you want the setting to be permanent change your preferences. Use: Edit
=> Preverences
=> View
=> Enable text wrapping
:
You canβt access preferences if you are using sudo -H gedit
though. You need to do this with regular user using gedit
only. Then you can have sudo
inherit your user preferences with a script such as this: How can I sync my root gedit with my user gedit's preferences?