Topic: leafpad not starting

Hello,

I have a weird issue with leafpad, in cruncheee 8.10. It won't start anymore. after executing "leafpad &" in the terminal, usual warning messages appear, telling that my current theme is not compatible with leafpad, but then nothing happens, no error message but leafpad window does not appear. System monitor doesn't show a process for leafpad either. The issue is still here after restarting the system.

In the past, the warning messages were appearing, but leafpad was starting with default theme and functioning well.

One action which may be related to the error : I have tried to open an apparently corrupt file with leafpad (it is a movie subtitles, VLC and abiword send me an error message telling that the file is not readable whenever i try to open it, but they do not crash).

What action should I take ? re-install leafpad ?

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile

Re: leafpad not starting

Yeah, uninstall then reinstall leafpad:

sudo apt-get purge leafpad
sudo apt-get autoclean
sudo apt-get install leafpad
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: leafpad not starting

Thanks a lot anonymous, I'll give it a try.

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile

Re: leafpad not starting

Hi,

I tried the reinstall yesterday evening and it didn't work.

I think the issue is related to another problem I have : during the boot of crunchBang, mounting the folder /var/log/apt fails, telling that the directory does not exist. If I create it, it disapears after rebooting the machine. There are also errors during #! boot  with other log folders.

I remember that I have done some operation in the past about the log folders, like mounting them in a tmpfs (I have added some lines in fstab file). It was working fine, I don't know when and why these errors have started.

has anyone got any idea about what the problem and/or solution would be ?

thanks again,

alef.

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile

Re: leafpad not starting

hi everybody,

I still have a bug in my system, which is quite annoying. Leafpad is not starting, locate does not work either, the error message when running

locate something

is the following:

locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory

During boot, there are also several error messages about some files not found in /var or /log folders. Is this boot log stored anywhere, so that I can post the exact messages ?

I am trying to check autostart.sh's content, but it is unaccessible from the crunchbang menu (since trying to open it with launchpad, and I don't know its correct location and can't locate it. Can anybody tell me the location where it is stored ?

Thanks for your help, it would be appreciable for me to have tips on how to solve my problems so that my mac-user flatmate has nothing negative to say against linux ;-)

cheers,

alef

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile

Re: leafpad not starting

alef wrote:

I am trying to check autostart.sh's content, but it is unaccessible from the crunchbang menu (since trying to open it with launchpad, and I don't know its correct location and can't locate it. Can anybody tell me the location where it is stored ?

~/.config/openbox/autostart.sh

Have you tried not mounting the folders in tmpfs?

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: leafpad not starting

for locate have you tried running:
sudo updatedb

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: leafpad not starting

Hi,
thanks a lot guys for your advices.

iggykoopa wrote:

for locate have you tried running:
sudo updatedb

It solved the issue, thanks.

anonymous wrote:

Have you tried not mounting the folders in tmpfs?

I have just done it, no more error message at boot time now :-)

leafpad still does not execute. Whenever I open a folder as root in pcmanfm, it actually runs correctly.

Here is what terminal show me whenever I run leafpad &. the segmentation fault appears after I type enter:

[1] 6006
c-user@c-user-laptop:~$ /home/c-user/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:58: Clearlooks configuration option "sunkenmenu" is not supported and will be ignored.
/home/c-user/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:59: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/home/c-user/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:60: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/home/c-user/.themes/Clearlooks-DarkOrange/gtk-2.0/gtkrc:61: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.

[1]+  Segmentation fault      leafpad

I am pretty sure that leafpad was working with the current theme few weeks ago, I'll give it a try with another theme to double-check.
EDIT: leafpad still does not start after using another theme.

Anyone has an idea about a potential cause of the leafpad problem ?

Last edited by alef (2009-06-25 17:35:50)

Eee-PC 1000H    |  Statler r20110207 Openbox
Vaio VGN-FE21H  |  Statler r20110207 Openbox

no more proprietary OS at home, and still no printer smile