You are not logged in.

#1 2008-05-19 14:50:36

halcor
Member
Registered: 2008-05-15
Posts: 71

I can't use mousepad

I don't know why, but i can't open with mousepad, yes I know that i can use gedit, nano, vim or others. But first I want to know the reason, and secodn I like mousepad.

When I try to open a document from /home/user using thunar, the document don't open.
So I open a Terminal and:

ricardo ~  $  mousepad xorg.conf 
Violación de segmento

I don't know how to translate to English "violación de segmento" but it would be "ban".

However:

ricardo ~  $  sudo mousepad xorg.conf 
Contraseña:

It's open!!
And also opens with nano and I can save the document with it.

Thanks to everybody.

Offline

#2 2008-05-19 14:58:24

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: I can't use mousepad

I think "Violación de segmento" would mean "Segmentation fault". You can get english error message by setting LANG before you run the program "LANG=C mousepad xorg.conf". Since you can run it as root, there could be some problem with permissions. Check ownership and permissions of the mousepad config files:

ls -la ~/.config | grep mousepad
ls -la ~/.config/mousepad

If the are owned by root, it's not good, make them owned by yourself (the command is chown, read the manpage 'man chown').

EDIT: Somehow LANG doesn't do the job for me, but "LC_ALL=C <command>" should work.

Last edited by bender02 (2008-05-19 15:01:21)

Offline

#3 2008-05-19 20:28:30

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: I can't use mousepad

If I'm not in error I think that I'm the owner and not root.

ricardo ~  $  ls -la ~/.config | grep mousepad
drwxrwxrwx  2 ricardo users 1024 may 11 02:48 mousepad
ricardo ~  $  ls -la ~/.config/mousepad
total 2
drwxrwxrwx  2 ricardo users 1024 may 11 02:48 .
drwxrwxrwx 16 ricardo users 1024 may 19 01:16 ..
-rwxrwxrwx  1 ricardo users    0 may 19 01:01 mousepadrc
ricardo ~  $

Also I try to give us a English error, but I can't.

ricardo ~  $  LANG=C mousepad xorg.conf 
Violación de segmento
ricardo ~  $  LANG=EN mousepad xorg.conf 

(mousepad:11839): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Violación de segmento
ricardo ~  $  LC_ALL=C mousepad xorg.conf 
Violación de segmento
ricardo ~  $  LC_ALL=EN mousepad xorg.conf 

(mousepad:11851): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Violación de segmento

Also I read the chown manual and i Think that the command is:

 chown -hR ricardo /(where mousepad is)

But I'm new in Linux, and I don't know where the programs is sad
What is the "Program files" of Linux?

Offline

#4 2008-05-19 21:07:15

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: I can't use mousepad

Well, I guess I can't help you here, I don't know what the problem could be. If you are adventurous, google 'strace' - that's a program that can help you analyze what exactly goes wrong when you run mousepad.

There's no "Program Files" in linux. Packages are mostly installed in /usr: their binaries in /usr/bin, various support files is /usr/share, ... If you want to know what files belong to a particular package, use 'pacman -Ql <packagename>'. If you want to read more about "standard directories" in linux, you can try http://en.wikipedia.org/wiki/Filesystem … y_Standard (but almost no linux distribution follows this specification exactly).

Offline

#5 2008-05-19 22:08:18

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: I can't use mousepad

Try and wipe out the mousepad config, and then start mousepad


Website - Blog - arch-home
Arch User since March 2005

Offline

#6 2008-05-20 12:52:22

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: I can't use mousepad

Ok, but normally, i do that

sudo pacman -R "program"

Go to: /home/ricardo
And delete ."program" folder
The configuration files go away, but with mousepad, I don't find .mousepad or .xfce, So i don't know how to delete with configuration files.
IN Synaptics, you can remove something with configuration files, I'm searching in pacman manual and i think that;

sudo pacman -Rcns mousepad

Could be the solution, but I'm not sure.

It is true that I say?

Thanks!

Offline

#7 2008-05-20 13:23:41

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: I can't use mousepad

That will remove the package (R), everything depending on it (c), it's dependencies which are not required anywhere else (s) and the configuration files that came with the package (n).  Pacman -Rn would probably be enough, but this will make sure.  It still will not remove user-specific configuration files, which are stored in ~, these should be removed manually using rm -r ~/.config/mousepad .

Offline

#8 2008-05-20 15:33:56

halcor
Member
Registered: 2008-05-15
Posts: 71

Re: I can't use mousepad

Thanks, mousepad is ok.

I love that mousepad will be so faster and graphic, and nano likes me because nano colors the text.
There is a text editor fast and pretty like mousepad and that colors the text as nano?

Thanks!

Offline

Board footer

Powered by FluxBB