[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #40 from Samy Mahmoudi  ---
(In reply to Guido Falsi from comment #38)

> I don't have a full grasp of all the freedesktop.org standards and tools, 
> like consolekit and the like.
I was struggling with ConsoleKit before landing to this PR...

> Exactly how do you start xfce from console?
I use a mere startx, together with my .xinitrc:

#!/bin/sh
# SLiM now starts Consolekit
# Xfce now starts DBus

# Temporary workaround
# setxkbmap -model pc105 -layout fr,ru -option
grp:alt_space_toggle,terminate:ctrl_alt_bksp

DB="dbus-launch --exit-with-session"
CK="ck-launch-session"

case $1 in
   slim-autologin)
   # Separates SLiM autologin from vt launch.
   # Requires patching SLiM, or SLiM autologin default to *) below !
  exec startxfce4
  ;;
   default)
   # SLiM default session (To set a system-wide default session, override
"default" in slim.conf).
  exec startxfce4
  ;;
   startxfce4)
  exec startxfce4
  ;;
   mate-session)
  exec ${DB} mate-session
  ;;
   lxde)
  exec ${DB} startlxde
  ;;
   kodi-standalone)
  exec kodi-standalone
  ;;
   *)
  # exec ${CK} ${DB} openbox-session 
  exec startxfce4 --with-ck-launch
  ;;
esac

> In such case I think the correct command is: startxfce4 --with-ck-launch
You are absolutely right, that is the way to start Xfce from the virtual
consoles (and that is basically what is done when I run startx).

> Also, being xfwm4 a compositing window manager
I have heard about xfwm4 using Xpresent and being an OpenGL compositor in a
mate pull request, inspiring mate guys ;-)

> I'm not sure if using also compiz at the same time is supported or they could 
> conflict in certain situations.
I have replaced xfwm4 with compiz for years (by overriding xfce4-session.xml).
So far so good!

> What is the exact setxkbmap command you are running?
setxkbmap -model pc105 -layout fr,ru -option
grp:alt_space_toggle,terminate:ctrl_alt_bksp

> Also, what locale have you setup in your environment? That could be affecting 
> things.
I have written a French login class in login.conf to have LANG=fr_FR.UTF-8 in
my environment. I will investigate further on this particular aspect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #39 from Guido Falsi  ---
Created attachment 215420
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215420&action=edit
Newer patch

Attaching patch to the ports tree applying code proposed upstream to the port.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

Guido Falsi  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|Closed  |In Progress

--- Comment #38 from Guido Falsi  ---
Reopening this bug.


(In reply to Samy Mahmoudi from comment #36)

First of all I'm not an expert about modern desktop practices and while I try
to do my best to maintain XFCE ports I don't have a full grasp of all the
freedesktop.org standards and tools, like consolekit and the like. I may be
wrong but I can state the following:

SLiM has been unmaintained for years and does not adhere to all the latest
practices, so problems when using it and not applying workarounds can be
expected. 

Also launching a modern desktop environment from console (or old display
managers) can require special care.

in detail:

>FACT 1: Starting xfce4 from vt, the up arrow key is not correctly mapped 
>(pressing the key makes the xfce4-terminal cursor blinks but does not show 
>previous shell commands...) and my compiz desktop switcher 
>(CTRL+ALT+AN_ARROW_KEY) does not trigger.

Exactly how do you start xfce from console? In such case I think the correct
command is:

startxfce4 --with-ck-launch

This wraps Xorg in consolekit which provides some needed services. Have you
tried this?

Also, being xfwm4 a compositing window manager I'm not sure if using also
compiz at the same time is supported or they could conflict in certain
situations.

Regarding the other facts II admit I have no idea what is happening. I've never
used autologin.

What is the exact setxkbmap command you are running?

Also, what locale have you setup in your environment? That could be affecting
things.

I'll followup with the patch to the ports that you can try, but it's a minor
change that, most probably, is not going to affect what you are seeing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #37 from Samy Mahmoudi  ---
(In reply to Samy Mahmoudi from comment #36)
blinks ---> blink

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

--- Comment #36 from Samy Mahmoudi  ---
By trial and error I have noticed some things that might be interesting.

Context:
libxfce4menu-4.14.1_1
12.1-RELEASE-p5 amd64

FACT 1: Starting xfce4 from vt, the up arrow key is not correctly mapped
(pressing the key makes the xfce4-terminal cursor blinks but does not show
previous shell commands...) and my compiz desktop switcher
(CTRL+ALT+AN_ARROW_KEY) does not trigger.

FACT 2: When using SLiM autologin or lightdm autologin: same faulty behavior.

FACT 3:
- When manually setting my SLiM session to "Xfce Session" (by pressing F1 at
the SLiM login screen): not problem at all after the start.

- When using SLiM "default" session (which I have mapped to startxfce4 in my
.xinitrc) by NOT pressing F1 at the SLiM login screen: no problem at all after
the start.

- When using the lightdm login screen: no problem at all after the start.

FACT 4: Adding a setxkbmap command at the beginning of my .xinitrc works around
the SLiM autologin but not the lightdm autologin.

My understanding is that the underlying problem is not resolved, despite
revision 531554, so I am quite comforted by comment 35. That's why I wrote
comment 34, in the hope of testing your first reworked patch.

FACTS 3 and 4 may just reveal variants of the same workaround. Moreover, these
workarounds may not be sustainable during the whole session lifetime. Now I
will rather test the rereworked patch ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

Guido Falsi  changed:

   What|Removed |Added

   See Also|https://bugzilla.xfce.org/s |
   |how_bug.cgi?id=16763|

--- Comment #35 from Guido Falsi  ---
(In reply to Samy Mahmoudi from comment #34)

> Cleaned/reworked patch committed upstream two days ago. Good job all!

Actually that path has bugs, and, with suggestions from cem, I posted a new
patch upstream:

https://gitlab.xfce.org/xfce/libxfce4ui/-/merge_requests/2

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"


[Bug 244290] x11-wm/xfce4 does not see up arrow after reinstall

2020-06-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244290

Samy Mahmoudi  changed:

   What|Removed |Added

 CC||samy.mahmo...@gmail.com

--- Comment #34 from Samy Mahmoudi  ---
Cleaned/reworked patch committed upstream two days ago. Good job all!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"