Welcome, Guest. Please login or register.
April 21, 2014, 04:50:50 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  text editor?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: text editor?  (Read 1470 times)
frito
Pardus fellow craft
**
Posts: 43


View Profile
« on: August 12, 2009, 02:51:30 AM »

what is the text editor in pardus (kwrite?) and how do i access it through terminal?
typing kwrite file.txt does nothing.
Logged
bubbel
Guest
« Reply #1 on: August 12, 2009, 05:10:09 AM »

what is the text editor in pardus (kwrite?) and how do i access it through terminal?
typing kwrite file.txt does nothing.

Hello frito,

kwrite is the text-editor. In Terminal you only type "kwrite" and it will open kwrite.

Or use Alt+F2 and type kwrite

Greetings
bubbel
Logged
frito
Pardus fellow craft
**
Posts: 43


View Profile
« Reply #2 on: August 12, 2009, 06:17:18 AM »

if im in root mode, i cant access it. and if i type
sudo kwrite
i get this
Code:
cannot connect to X server :0
Logged
trixon
Guest
« Reply #3 on: August 12, 2009, 06:22:36 AM »

Try this
Code:
xdg-su -u root -c kwrite
Logged
bubbel
Guest
« Reply #4 on: August 12, 2009, 06:29:06 AM »

if im in root mode, i cant access it.


I work with Pardus 2008.2 and have no problems to open kwrite in root-modus.

You work with Pardus 2009 I think. Perhaps it can be a Bug in Pardus 2009  Huh?

Greetings
bubbel
Logged
caitlyn
Pardus fellow craft
**
Gender: Female
Posts: 67



View Profile
« Reply #5 on: August 12, 2009, 06:59:24 AM »

Opening kwrite from a terminal session works fine on my two Pardus 2009 systems.  No problem at all.  It would be helpful to know if anyone having the problem is seeing any error messages. 

FWIW, there are other choices for text editors, particularly if you have the contrib repository enabled.  I have mousepad and gvim both installed on my system.  I've used vi for about forever so gvim is comfortable to me.  Mousepad, from Xfce4, is very lightweight but has less features than kwrite.  Pardus isn't lacking choices  Grin
Logged
bubbel
Guest
« Reply #6 on: August 12, 2009, 08:44:20 AM »


FWIW, there are other choices for text editors, particularly if you have the contrib repository enabled. 


Enter the following search word in the package-manager > show new packages:

editor

I think you will find there other.  Wink

Greetings
bubbel
Logged
PhiX
Pardus Guru
****
Posts: 642



View Profile WWW
« Reply #7 on: August 12, 2009, 18:14:38 PM »

kwrite is in kdebase package, so you should have it on your system. Kwrite is a graphical editor, so you can't use it in a terminal window.
The default editor to use in a terminal on Pardus is nano.
Logged

Team Pardus-fr - French Pardus tools translator
caitlyn
Pardus fellow craft
**
Gender: Female
Posts: 67



View Profile
« Reply #8 on: September 09, 2009, 23:00:36 PM »

medit is now also in the contrib repository.  If you do any development work it can handle syntax highlighting for a number of languages, including HTML and xml for the web developers out there.  Anyway, it's one of my favorite graphical editors.

Logged
caitlyn
Pardus fellow craft
**
Gender: Female
Posts: 67



View Profile
« Reply #9 on: September 09, 2009, 23:05:44 PM »

if im in root mode, i cant access it.


I work with Pardus 2008.2 and have no problems to open kwrite in root-modus.

You work with Pardus 2009 I think. Perhaps it can be a Bug in Pardus 2009  Huh?

Greetings
bubbel

Hi, bubbel,

It's not a bug.  It's part of the security built into X.  You can enable local root access to the default display with the command:

xhost +local:root

I put that in my .bash_profile so that it runs every time I login.  That way I never have a problem accessing any X application as root using sudo or su.

HTH,
Cait
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #10 on: September 09, 2009, 23:13:30 PM »

For root mode, I've been using the Alt + F2 method with krunner:
Alt + F2
kdesu kwrite file path
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!