PDA

View Full Version : gedit knoppix 7.6 issue



rspiteri
12-01-2015, 11:04 AM
gedit does not load and when I run it from the terminal, I get the following:

(gedit:27415): Gtk-WARNING **: GTK+ module libgail.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.

** (gedit:27415): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found

(gedit:27415): GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' does not contain a key named 'enable-delete'
Trace/breakpoint trap

Kindly advise... thanks

utu
12-01-2015, 01:59 PM
gedit does not load and when I run it from the terminal
I can confirm this; also doesn't respond from Accessories>gedit menu.
For a work-around, consider leafpad and/or geany.

rspiteri
12-02-2015, 10:39 AM
Thanks for your reply.

Yes I am aware of the other applications however I always used gedit, that's why I asked...

Will post a fix if I find one...

utu
12-02-2015, 03:30 PM
There is a libgail upgrade available, but that doesn't solve the problem.

philo
12-02-2015, 10:20 PM
In knoppix 7.4.2, which comes with gedit 3.12-1+b1, upgrading to 3.14.0-3 with Synaptic works well. What gives in knoppix 7.6.0?

utu
12-02-2015, 10:25 PM
For what it's worth:

I googled gedit and got the impression that it has a history of compilation
difficulties often related to getting gnome heading information correct or complete.

gedit takes up about 4.4 Mb, geany takes up about 11 Mb; neither number
is a significant determiner in a 10 Gb system.

geany has its admirers; among these are:


https://linuxtidbits.wordpress.com/2012/02/21/gedit-to-geany/; and
http://www.mega-nerd.com/erikd/Blog/CodeHacking/Geany/.
(http://www.mega-nerd.com/erikd/Blog/CodeHacking/Geany/)
Personally, I use leafpad for notes to myself, or composing off-line forum posts,
and geany when I am trying to read some 'serious' code.
(http://www.mega-nerd.com/erikd/Blog/CodeHacking/Geany/)

philo
12-03-2015, 12:18 PM
Referring to the warnings received by the original poster:

1
I do not have the first warning.

2
Solved the second warning by installingv gir1.2-gtksource3-3.0 with Synaptic

3
Solbved the third warning (an error) by removing nautilus and nautilus-data with Synaptic.

Now gedit opens in knoppix 7.6.0.

philo
12-03-2015, 03:14 PM
gedit 3.18 and nautilus 3.18 may agree. I did not test that.

superman
12-03-2015, 03:20 PM
@philo Thanks for sharing the fix! Cannot wait to try out the new release of KNOPPIX....

utu
12-03-2015, 05:06 PM
Solved the third warning (an error) by removing nautilus and nautilus-data with Synaptic.
Now gedit opens in knoppix 7.6.0.

Hello, Philo.

Two comments or observations:

1. Removing Nautilus may create more problems than it solves,
since it may be used by programs other than gedit.

2. Nautilus has two warnings of its own, one is the same as
for gedit; the other warning is different. Nautilus does not
fail on error itself, as does gedit.

philo
12-04-2015, 12:34 PM
Hello utu,

To please you and bring back nautilus and still have gedit 3.14 working, I now did this:

1. With Synaptic:
Removed libnautilusextension1a 3.18 (testing)
Installed libnautilusextension1a 3.14 (stable)

2. With Synaptic:
Installed nautilus-data 3.14

3.
Downloaded the Debian package:
nautilus_3.14.1-2_i386.deb

4. With gdebi:
Installed the above-mentioned .deb package.

philo
12-04-2015, 12:54 PM
PS-

The warning(s) that may now be given by gedit, when opening it, can safely be ignored, I think.

Otherwise, just do not re-install nautilus. Many (most?) people do not need it anyway.

rspiteri
12-04-2015, 02:22 PM
I do not think I will risk removing nautilus...

Am using leafpad for the time being...

utu
12-04-2015, 04:47 PM
@philo

Your suggestions to force Nautilus to 3.14 to agree with data and libs
sounds very reasonable, but I can't seem to force this with Synaptic.

Synaptic complains about broken packages, yet doesn't help fix them.
Synaptic allows forcing libs and data, not claiming about broken pkgs,
but balks at removing & re-installing nautilus.

I tried apt-get install , but it can't find nautilus_3.14.1-2_i386.deb

philo
12-04-2015, 05:30 PM
The link is here:

https://packages.debian.org/jessie/nautilus

philo
12-04-2015, 05:41 PM
or more precisely here:

https://packages.debian.org/jessie/i386/nautilus/download

gdebi will install without complaining.
(https://packages.debian.org/jessie/i386/nautilus/download)

utu
12-04-2015, 09:26 PM
@philo

With your suggestions, I have achieved about a 99% satisfactory solution
which includes the following:

1. gedit loads and functions apparently without obvious difficulty using
MainMenu>Accessories>gedit;

2. nautilus doesn't appear as a main menu selection, but if accessed via
a command-line, it loads and functions reasonably. However there are non-
fatal warnings that appear before the gui kicks in;

3. If one accesses gedit via a command-line, it is apparent that it too
produces similar but different non-fatal warnings before a gui appears;
and finally,

4. Synaptic seems to display consistent gedit 3.14 and nautilus 3.14 pkgs
with no mention of broken packages or 3.18 material for either of these.

I am placated by this solution, but Klaus K may not be satisfied with the
minor imperfections that would require some additional cosmetic repairs.

philo
12-05-2015, 11:26 AM
@philo



2. nautilus doesn't appear as a main menu selection, but if accessed via
a command-line, it loads and functions reasonably. However there are non-
fatal warnings that appear before the gui kicks in;


.

KK nicknamed it Fies, probably to show how much he likes it.

It is there in Menu > Accessories.

utu
12-05-2015, 03:18 PM
KK nicknamed it Fies, probably to show how much he likes it.
It is there in Menu > Accessories.
Fies is a Portuguese word. My 7.6 menu has a selection Files, just above that for gedit.
Selecting Files from the menu brings up Nautilus just as you suggest.
Using the gui, the non-fatal warnings are obscured by the gui rapidly appearing.

In which case, my satisfaction with your fix is 99 and 44/100 %. Same as Ivory soap IIRC.

utu
12-05-2015, 03:46 PM
Knoppix menu for Files calls up Nautilus; the About entry for the gui which appears refers to the gui as Files.
Some history which applies: https://en.opensuse.org/GNOME_Files#History

Werner P. Schulz
12-05-2015, 05:03 PM
Fies is a Portuguese word. My 7.6 menu has a selection Files, just above that for gedit.I cannot find neither Fies nor Files within a untouched V7.6.0.

utu
12-05-2015, 05:41 PM
I cannot find neither Fies nor Files within a untouched V7.6.0.
At MainMenu>Accessories>Files on my LiveUSB or my original LiveDVD.
Just above gedit.

Werner P. Schulz
12-05-2015, 06:28 PM
Now starting with cheatcode "lang=en" I can see it.

philo
12-05-2015, 07:30 PM
Going back to what was hinted at in post #8.

I took a fresh, unmodified liveUSB of Knoppix 7.6.0, i.e. having gedit 3.14 and nautilus 3.18.

I did a reload of Synaptic . Synaptic said an upgrade of gedit to 3.18 was available. Did the upgrading.

Everything is smooth for gedit, either from the Menu shortcut or from a Terminal.

utu
12-05-2015, 10:40 PM
I did a reload of Synaptic . Synaptic said an upgrade of gedit to 3.18 was available.
This not working here, yet anyway.
alioth repo not responsive.
Klaus K possibly doing a number of upgrades behind the scenes.

superman
12-06-2015, 01:08 AM
@philo

Thanks for the update regarding the upgrade of gedit to v3.18. For me as a casual computer user, the post #7 is already a fix as I don't do either GNOME, gedit or nautilus. In effect, the ls command and vim are my all-round file browser and text editor, respectively; gedit is merely the fallback of leafpad and is used to check if I screw up the GTK-related stuff. However, I definitely will put the upgrade of gedit on my to-do list just for the sake of compatibility. Thumbs-up!

philo
12-06-2015, 11:39 AM
You can also download the relevant i386 packages from one of the mirrors listed in debian.org. Then open them with gdebi to install.


For the unmodified liveUSB, Synaptic itself did offer upgrades for gedit and gedit-common . Surprisng, but it did. I had "consider recoomended as dependencies" unchecked in Synaptic Preferences, maybe that helped.


For the liveUSB which I had used previously for the downgrading and "fixing" operations, I removed gedit packages 3.14, nautilus packages 3.14 and gir1.2-xxx 3.14 with Synaptic. Then went to debian.org to fetch gedit 3.18, nautilus 3.18 and gir1.2-xxx 3.18 for retropedaling. The end results are the same.


For gedit, note that gir1.2-gtksource-3.0 must be upgraded to 3.18 before installing gedit 3.18. Synaptic did that itself for the unmodified lieUSB.

utu
12-06-2015, 04:22 PM
Download Page for nautilus_3.14.1-2_i386.deb on Intel x86 machines

If you are running Debian, it is strongly suggested to use a package manager like aptitude or
synaptic to download and install packages, instead of doing so manually via this website.

I'm pretty sure this note applies to me.

philo
12-06-2015, 05:06 PM
I'm pretty sure this note applies to me.

It is only a "strong suggestion". I tend to ignore it.

PS and OT - There is no longer a spell checker here?

philo
12-06-2015, 05:25 PM
I'm pretty sure this note applies to me.

I feel quite comfortable with gdebi after reading this:

https://screenshots.debian.net/package/gdebi


https://en.wikipedia.org/wiki/Debian#GDEBI

rspiteri
12-07-2015, 11:42 AM
No luck so far guys with gedit... so I am using vim, my swiss army text editor ;)

thanks for all your replies

utu
12-07-2015, 02:40 PM
There is no longer a spell checker here?
With gedit, use the pull-down menu and select Tools to spell-check highlighted text.

philo
12-07-2015, 02:53 PM
With gedit, use the pull-down menu and select Tools to spell-check highlighted text.

Thanks. But i was referring to the box "Quick Reply" in this forum.

Thought there was a spell checker built-in here. As an alternative, I now acttivate the spell checker of the browser. Remember the "fies" incident recently and the ire of the moderator...

utu
12-07-2015, 04:41 PM
Remember the "fies" incident recently and the ire of the moderator...
Werner may use a DE Knoppix, and it may have different names for things than the EN version.
I see quick reply is underlining most but not all words as I type..