Re: [blfs-dev] terminals

2016-03-13 Thread Ken Moffat
On Sun, Mar 13, 2016 at 08:30:00PM -0500, Bruce Dubbs wrote:
> I would like to cut down the number of packages in BLFS.  The maintenance
> burden is tremendous and we have lots of duplication of capabilities. When
> it comes to terminals, we have:
> 
> xterm
> gnome-terminal
> xfce4-terminal
> lxterminal
> qterminal
> konsole4
> konsole5
> 
> I propose that we remove konsole4 and gnome-terminal.
> 
I've read your other post on gnome-terminal - glad it now works, and
I have no objection to removing either of these.

But you missed one - rxvt-unicode aka urxvt :
actually, I would be happy if we removed xterm (and luit) because
rxvt-unicode is so much better (when pointed to a sensible set of
fonts)

/me decides to run ;-)
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] gnome-terminal

2016-03-13 Thread Bruce Dubbs

Ken Moffat wrote:

On Sun, Mar 13, 2016 at 02:16:54PM -0500, Bruce Dubbs wrote:

Fernando de Oliveira wrote:

Em 12-03-2016 22:50, Bruce Dubbs escreveu:

I'm trying to update the book to gnome-terminal-3.18.3.

Using the current instructions it builds with no issues.

However it won't run.  I get:

Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0:
Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Terminal exited with status 8


I don't know if this is related to new grep, but there are many

about new 50 references to 'terminal-regex' plus 'terminal_regex' in the
new code.


I do not know what I am doing differently.  Ken is the one that tagged
gnome-terminal for lfs79.  I reverted grep to 2.22 and went back and
reverted gnome-terminal to 3.18.2.  I get the same problem.



I've now got back to the machine where I did that.  I'm running
xfce, and from Applications -> System -> Terminal it opens.

Help -> About  shows it is:

GNOME Terminal
3.18.2
A terminal emulator for the GNOME desktop
 Using VYE version 0.42.4 +GNUTLS

I'll paste the output from running printenv in that terminal (I've
got sddm running, hence the QML items, and plexi is the machine name).

Maybe something in the XDG variables ?

XDG_VTNR=7
MANPATH=/usr/share/man:/opt/texlive/2015/texmf-dist/doc/man
SSH_AGENT_PID=1483
GLADE_PIXMAP_PATH=:
TERM=xterm-256color
SHELL=/bin/bash
XDG_MENU_PREFIX=xfce-
VTE_VERSION=4204
QML2_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SESSION_COOKIE=plexi-1457917390.222309-1486849046
WINDOWID=50331654
LC_ALL=en_GB.UTF-8
XDG_SESSION_CLASS=user
USER=ken
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
GLADE_MODULE_PATH=:
QML_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/ssh-qEUWTM0VyYuk/agent.1482
SESSION_MANAGER=local/plexi:@/tmp/.ICE-unix/1474,unix/plexi:/tmp/.ICE-unix/1474
XDG_CONFIG_DIRS=/etc/xdg
PATH=/bin:/usr/bin:/usr/local/bin:/opt/kf5/bin:/opt/qt5/bin:/opt/texlive/2015/bin/x86_64-linux:/home/ken/bin
DESKTOP_SESSION=/usr/share/xsessions/xfce
INPUTRC=/etc/inputrc
XDG_SESSION_TYPE=x11
PWD=/home/ken
LANG=en_GB.UTF-8
PS1=\u@\h \w \$
XDG_SEAT=seat0
HOME=/home/ken
SHLVL=2
XDG_SESSION_DESKTOP=XFCE
LOGNAME=ken
WINDOWID=50331654
LC_ALL=en_GB.UTF-8
XDG_SESSION_CLASS=user
USER=ken
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
GLADE_MODULE_PATH=:
QML_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/ssh-qEUWTM0VyYuk/agent.1482
SESSION_MANAGER=local/plexi:@/tmp/.ICE-unix/1474,unix/plexi:/tmp/.ICE-unix/1474
XDG_CONFIG_DIRS=/etc/xdg
PATH=/bin:/usr/bin:/usr/local/bin:/opt/kf5/bin:/opt/qt5/bin:/opt/texlive/2015/bin/x86_64-linux:/home/ken/bin
DESKTOP_SESSION=/usr/share/xsessions/xfce
INPUTRC=/etc/inputrc
XDG_SESSION_TYPE=x11
PWD=/home/ken
LANG=en_GB.UTF-8
PS1=\u@\h \w \$
XDG_SEAT=seat0
HOME=/home/ken
SHLVL=2
XDG_SESSION_DESKTOP=XFCE
LOGNAME=ken
XDG_DATA_DIRS=/usr/local/share:/usr/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-TTTl8Ve0nV,guid=3be6249363b0c73c9f8b073656e60dce
INFOPATH=/usr/share/info:/opt/texlive/2015/texmf-dist/doc/info
DISPLAY=:0
GLADE_CATALOG_PATH=:
QT_PLUGIN_PATH=/opt/qt5/plugins:/usr/lib/plugins:/usr/plugins
XDG_CURRENT_DESKTOP=XFCE
GTK_IM_MODULE=xim
XAUTHORITY=/home/ken/.Xauthority
_=/usr/bin/printenv


I am running lxde and using lxterminal to try gnome-terminal from the
command line.  The locale is set to en_US.utf8 which matches what locale -a
says it has.

dbus is running.  From ps:

980   /usr/bin/dbus-daemon --system
15214 ck-launch-session dbus-launch --exit-with-session startlxde
15226 dbus-launch --exit-with-session startlxde

15227 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
   --session

15303 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf
   --nofork --print-address 3

It seems obvious that my setup is wrong, but what?  I have all the book's
dependencies.

Note, there are a couple of typos on the page.  The Optional dependencies
are before the Recommended dependencies and the Note about LANG has a
spurious > character.

   -- Bruce


I started to see if I could see anything different in google.  Your
error message above is on multiple lines with > > before them, so I
got as far as pasting the 'Error constructing proxy for' part into
google and its first suggest added ' gnome terminal' so whatever is
causing it, it does seem to be common and/or recurring.

from Arch : setting a UTF-8 locale and rebooting - I guess you were
already in en_US.UTF-8 before you installed this ?

Also from Arch - does not work logged in as  root.

And another report that it spontaneously stopped working, and then
became ok again.  Based on on my own experience yesterday - adequate
space in /home and /tmp ?

And from

Re: [blfs-dev] gnome-terminal

2016-03-13 Thread Ken Moffat
On Sun, Mar 13, 2016 at 02:16:54PM -0500, Bruce Dubbs wrote:
> Fernando de Oliveira wrote:
> >Em 12-03-2016 22:50, Bruce Dubbs escreveu:
> >>I'm trying to update the book to gnome-terminal-3.18.3.
> >>
> >>Using the current instructions it builds with no issues.
> >>
> >>However it won't run.  I get:
> >>
> >>Error constructing proxy for
> >>org.gnome.Terminal:/org/gnome/Terminal/Factory0:
> >>Error calling StartServiceByName for org.gnome.Terminal:
> >>GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> >>org.gnome.Terminal exited with status 8
> >
> >I don't know if this is related to new grep, but there are many
> >
> >about new 50 references to 'terminal-regex' plus 'terminal_regex' in the
> >new code.
> 
> I do not know what I am doing differently.  Ken is the one that tagged
> gnome-terminal for lfs79.  I reverted grep to 2.22 and went back and
> reverted gnome-terminal to 3.18.2.  I get the same problem.
> 

I've now got back to the machine where I did that.  I'm running
xfce, and from Applications -> System -> Terminal it opens.

Help -> About  shows it is:

   GNOME Terminal
   3.18.2
A terminal emulator for the GNOME desktop
Using VYE version 0.42.4 +GNUTLS

I'll paste the output from running printenv in that terminal (I've
got sddm running, hence the QML items, and plexi is the machine name).

Maybe something in the XDG variables ?

XDG_VTNR=7
MANPATH=/usr/share/man:/opt/texlive/2015/texmf-dist/doc/man
SSH_AGENT_PID=1483
GLADE_PIXMAP_PATH=:
TERM=xterm-256color
SHELL=/bin/bash
XDG_MENU_PREFIX=xfce-
VTE_VERSION=4204
QML2_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SESSION_COOKIE=plexi-1457917390.222309-1486849046
WINDOWID=50331654
LC_ALL=en_GB.UTF-8
XDG_SESSION_CLASS=user
USER=ken
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
GLADE_MODULE_PATH=:
QML_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/ssh-qEUWTM0VyYuk/agent.1482
SESSION_MANAGER=local/plexi:@/tmp/.ICE-unix/1474,unix/plexi:/tmp/.ICE-unix/1474
XDG_CONFIG_DIRS=/etc/xdg
PATH=/bin:/usr/bin:/usr/local/bin:/opt/kf5/bin:/opt/qt5/bin:/opt/texlive/2015/bin/x86_64-linux:/home/ken/bin
DESKTOP_SESSION=/usr/share/xsessions/xfce
INPUTRC=/etc/inputrc
XDG_SESSION_TYPE=x11
PWD=/home/ken
LANG=en_GB.UTF-8
PS1=\u@\h \w \$
XDG_SEAT=seat0
HOME=/home/ken
SHLVL=2
XDG_SESSION_DESKTOP=XFCE
LOGNAME=ken
WINDOWID=50331654
LC_ALL=en_GB.UTF-8
XDG_SESSION_CLASS=user
USER=ken
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
GLADE_MODULE_PATH=:
QML_IMPORT_PATH=/opt/qt5/qml:/usr/lib/qml
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/ssh-qEUWTM0VyYuk/agent.1482
SESSION_MANAGER=local/plexi:@/tmp/.ICE-unix/1474,unix/plexi:/tmp/.ICE-unix/1474
XDG_CONFIG_DIRS=/etc/xdg
PATH=/bin:/usr/bin:/usr/local/bin:/opt/kf5/bin:/opt/qt5/bin:/opt/texlive/2015/bin/x86_64-linux:/home/ken/bin
DESKTOP_SESSION=/usr/share/xsessions/xfce
INPUTRC=/etc/inputrc
XDG_SESSION_TYPE=x11
PWD=/home/ken
LANG=en_GB.UTF-8
PS1=\u@\h \w \$
XDG_SEAT=seat0
HOME=/home/ken
SHLVL=2
XDG_SESSION_DESKTOP=XFCE
LOGNAME=ken
XDG_DATA_DIRS=/usr/local/share:/usr/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-TTTl8Ve0nV,guid=3be6249363b0c73c9f8b073656e60dce
INFOPATH=/usr/share/info:/opt/texlive/2015/texmf-dist/doc/info
DISPLAY=:0
GLADE_CATALOG_PATH=:
QT_PLUGIN_PATH=/opt/qt5/plugins:/usr/lib/plugins:/usr/plugins
XDG_CURRENT_DESKTOP=XFCE
GTK_IM_MODULE=xim
XAUTHORITY=/home/ken/.Xauthority
_=/usr/bin/printenv

> I am running lxde and using lxterminal to try gnome-terminal from the
> command line.  The locale is set to en_US.utf8 which matches what locale -a
> says it has.
> 
> dbus is running.  From ps:
> 
> 980   /usr/bin/dbus-daemon --system
> 15214 ck-launch-session dbus-launch --exit-with-session startlxde
> 15226 dbus-launch --exit-with-session startlxde
> 
> 15227 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
>   --session
> 
> 15303 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf
>   --nofork --print-address 3
> 
> It seems obvious that my setup is wrong, but what?  I have all the book's
> dependencies.
> 
> Note, there are a couple of typos on the page.  The Optional dependencies
> are before the Recommended dependencies and the Note about LANG has a
> spurious > character.
> 
>   -- Bruce
> 
I started to see if I could see anything different in google.  Your
error message above is on multiple lines with > > before them, so I
got as far as pasting the 'Error constructing proxy for' part into
google and its first suggest added ' gnome terminal' so whatever is
causing it, it does seem to be common and/or recurring.

from Arch : setting a UTF-8 locale and rebooting - I guess you were
already in en_US.UTF-8 before you installed this ?

Also from Arch - does not work logged in as  root.

And another report that it spontaneously stopped working, and then
became ok again.  Based on on my own experience yesterday - adequate
space in 

[blfs-dev] terminals

2016-03-13 Thread Bruce Dubbs
I would like to cut down the number of packages in BLFS.  The maintenance 
burden is tremendous and we have lots of duplication of capabilities. 
When it comes to terminals, we have:


xterm
gnome-terminal
xfce4-terminal
lxterminal
qterminal
konsole4
konsole5

I propose that we remove konsole4 and gnome-terminal.

We already want to remove as much of KDE4 as we can in favor of kf5 and 
plasma.  There are a few packages that use KDE4, notably k3b and amarok, 
but konsole5 has the look and feel of konsole4 and the build of the KF5 
libraries is essentially the same as building kdelibs although the 
technique is very different.


We removed the gnome desktop some time ago because of its dependency on 
systemd.  I have had problems running gnome-terminal and have isolated the 
problem to an issue with dbus.  For me, I have to launch
gnome-terminal using 'dbus-launch gnome-terminal' either from the command 
line or changing the .desktop file.  Why a terminal app needs dbus is 
beyond my understanding.  None of the other terminals need it.  I suppose 
it is something to do with the gnome desktop.  In addition, gnome-terminal 
refuses to start without a utf-8 LANG setting. Again, none of the other 
terminals have this restriction.



Unless there are objections, I will archive these packages later this week.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] gnome-terminal

2016-03-13 Thread Bruce Dubbs

Fernando de Oliveira wrote:

Em 12-03-2016 22:50, Bruce Dubbs escreveu:

I'm trying to update the book to gnome-terminal-3.18.3.

Using the current instructions it builds with no issues.

However it won't run.  I get:

Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0:
Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.gnome.Terminal exited with status 8


I don't know if this is related to new grep, but there are many

about new 50 references to 'terminal-regex' plus 'terminal_regex' in the
new code.


I do not know what I am doing differently.  Ken is the one that tagged 
gnome-terminal for lfs79.  I reverted grep to 2.22 and went back and 
reverted gnome-terminal to 3.18.2.  I get the same problem.


I am running lxde and using lxterminal to try gnome-terminal from the 
command line.  The locale is set to en_US.utf8 which matches what locale 
-a says it has.


dbus is running.  From ps:

980   /usr/bin/dbus-daemon --system
15214 ck-launch-session dbus-launch --exit-with-session startlxde
15226 dbus-launch --exit-with-session startlxde

15227 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7
  --session

15303 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf
  --nofork --print-address 3

It seems obvious that my setup is wrong, but what?  I have all the book's 
dependencies.


Note, there are a couple of typos on the page.  The Optional dependencies 
are before the Recommended dependencies and the Note about LANG has a 
spurious > character.


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] gnome-terminal

2016-03-13 Thread Fernando de Oliveira
Em 12-03-2016 22:50, Bruce Dubbs escreveu:
> I'm trying to update the book to gnome-terminal-3.18.3.
> 
> Using the current instructions it builds with no issues.
> 
> However it won't run.  I get:
> 
> Error constructing proxy for
> org.gnome.Terminal:/org/gnome/Terminal/Factory0:
> Error calling StartServiceByName for org.gnome.Terminal:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.Terminal exited with status 8

I don't know if this is related to new grep, but there are many

about new 50 references to 'terminal-regex' plus 'terminal_regex' in the
new code.

Bug:



Reported:   2015-10-04 11:50 UTC by Egmont Koblinger
Modified:   2016-02-21 15:10 UTC (History)

Changelog:

{{{
diff -Naur gnome-terminal-3.18.2/ChangeLog gnome-terminal-3.18.3/ChangeLog

...

+commit 3bd692f5d63f0bdfb526d570c92da3270601c155
+Author: Christian Persch 
+Date:   Sun Feb 21 15:46:05 2016 +0100
+
+screen: Rewrite URL regexes
+
+Rewrite the URL match regex to be more correct.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=756038
+(cherry picked from commit 1a94499aca8f9a06479f5149e70e246bf9249ac0)
+
+ src/Makefile.am   |  27 +
+ src/terminal-regex.c  | 313
++
+ src/terminal-regex.h  | 145 +++
+ src/terminal-screen.c |  27 ++---
+ 4 files changed, 493 insertions(+), 19 deletions(-)
+
+commit f508d6b2c145cbccef1d2b5b1d1a469df31ca55e
+Author: Christian Persch 
+Date:   Mon Nov 9 20:59:06 2015 +0100
+
+Post release version bump
+
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 commit b7c8f7ba4149a8b6f156d85529ef2aadf2b79378
 Author: YunQiang Su 
 Date:   Mon Nov 9 18:44:46 2015 +0800
}}}

However, this has generated controversy, just before 3.18.2 was realeased:



it was reverted:



Then, it finally landed:







-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] gnome-terminal

2016-03-13 Thread Fernando de Oliveira
Em 12-03-2016 22:50, Bruce Dubbs escreveu:
> I'm trying to update the book to gnome-terminal-3.18.3.
>
> Using the current instructions it builds with no issues.
>
> However it won't run.  I get:
>
> Error constructing proxy for
> org.gnome.Terminal:/org/gnome/Terminal/Factory0:
> Error calling StartServiceByName for org.gnome.Terminal:
> GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.gnome.Terminal exited with status 8
>
> I checked google, but the messages all have to do with systemd
> (localectl), but setting the locale to en_US.UTF-8 does not help.
>
> $ locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
>
>
> I normally only use gnome-terminal for testing.
>
> What am I missing?


Installed in LFS7.8, without updating the other packages from gnome and
works without any message, starting from lxterminal.

It starts as normal user or as root (some reports complain about
starting as root, one of them from xterm).

One report gives the (temporary) workaround

dbus-launch gnome-terminal

Is it possible that you are running in a session without dbus? Actually,
from waht DE are you running it?

One report complaints it does not start in Red Hat Enterprise Linux 7

I will try to build an LFS7.9 to check.


OT:

Typo:

Command Explanations
--disable-migration is displayed as , not 

s/option/parameter/

-- 
[]s,
Fernando de Oliveira
-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page