Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gvim not working out of the box
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
WavyLinesAreNotReal
n00b
n00b


Joined: 19 Dec 2016
Posts: 9

PostPosted: Wed Jan 18, 2017 5:59 am    Post subject: gvim not working out of the box Reply with quote

Hello,

I recently installed gVim and am getting this error message:
Code:

username@localhost ~ $ gvim

Warning: Missing charsets in String to FontSet conversion
E665: Cannot start GUI, no valid font found
Press ENTER or type command to continue

E852: The child process failed to start the GUIXIO:  fatal IO error 0 (Success) on X server ":0"
      after 9 requests (9 known processed) with 0 events remaining.

As a result, gVim is not able to run. However, normal Vim works inside the terminal without this problem. Does anyone know what is causing this, and how to fix it?

Sincerely,
WavyLinesAreNotReal
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Jan 18, 2017 6:08 am    Post subject: Reply with quote

check emerge -pv gvim and see if you can spot the problem ;)
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Wed Jan 18, 2017 12:25 pm    Post subject: Reply with quote

which version of gvim/vim? is it v8? v8 migrated to GTK3 for the ui. GUIXIO would point towards the GIO side of things.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
WavyLinesAreNotReal
n00b
n00b


Joined: 19 Dec 2016
Posts: 9

PostPosted: Thu Jan 19, 2017 1:10 am    Post subject: Reply with quote

The Doctor wrote:
check emerge -pv gvim and see if you can spot the problem ;)

Here's the code output:
Code:

username@localhost ~ $ emerge -pv gvim

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-editors/gvim-8.0.0106::gentoo  USE="acl nls session (-aqua) -cscope -debug -gnome -gtk -gtk3 -lua -luajit -motif -neXt -netbeans -perl -python -racket -ruby (-selinux) -tcl" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Naib wrote:
which version of gvim/vim? is it v8? v8 migrated to GTK3 for the ui. GUIXIO would point towards the GIO side of things.

I'm using gVim/Vim version 8.

UPDATE:
Apparently the clock settings had some influence. I set the system clock to UTC time, and now gVim starts; but there are still problems. The GUI objects don't look the way they should (absurdly plain looking), the menu tabs require the left mouse button to be held to navigate and released to select; and I am still getting this warning message:
Code:

Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion

Honestly, I'm not sure if these are bug specific things with gVim version 8, or some other misconfigured settings.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jan 20, 2017 7:50 pm    Post subject: Reply with quote

WavyLinesAreNotReal wrote:
Honestly, I'm not sure if these are bug specific things with gVim version 8, or some other misconfigured settings.

That's not a bug, that's what Xaw is supposed to look like. You specifically asked for no GTK2, Gtk3 or Motif GUI so you get the lowest common denominator.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sat Jan 21, 2017 2:02 am    Post subject: Reply with quote

What is this "menu" you speak of? GVim's one true toolkit is Athena. As Ant P. noted, you get Athena by disabling all the other options.
Back to top
View user's profile Send private message
WavyLinesAreNotReal
n00b
n00b


Joined: 19 Dec 2016
Posts: 9

PostPosted: Mon Jan 23, 2017 4:03 am    Post subject: Reply with quote

Ant P. wrote:
WavyLinesAreNotReal wrote:
Honestly, I'm not sure if these are bug specific things with gVim version 8, or some other misconfigured settings.

That's not a bug, that's what Xaw is supposed to look like. You specifically asked for no GTK2, Gtk3 or Motif GUI so you get the lowest common denominator.


Your right! I didn't realize until now that I was missing a widget toolkit.

Hu wrote:
What is this "menu" you speak of? GVim's one true toolkit is Athena. As Ant P. noted, you get Athena by disabling all the other options.

Yeah, and it's terrible. It even disables the "Select Font" option in gVim.

So one last question, for a KDE/plasma environment, what's the best widget toolkit for gVim?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Mon Jan 23, 2017 4:54 am    Post subject: Reply with quote

Best is subjective. In my opinion, Athena is the best GVim toolkit because it is very minimal. It lets you run Vim as a GUI program, but have all the space efficiency of a console Vim. No space is wasted on menus, toolbars, icons, etc.

You are correct that the font chooser is absent in the Athena GUI. This is unfortunate, but I never miss it.

According to the Vim documentation, a Qt port was attempted, but abandoned before it was finished.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Jan 23, 2017 4:59 am    Post subject: Reply with quote

You are probably looking for the gtk/gtk3 gui, but you can always give moltf a try. It isn't like gvim has a long build time. :)
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Jan 23, 2017 8:22 pm    Post subject: Reply with quote

WavyLinesAreNotReal wrote:
So one last question, for a KDE/plasma environment, what's the best widget toolkit for gVim?

GTK2. It's well integrated with KDE4/5 and will continue working for probably the next 20 years.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum