Github messages for voidlinux
 help / color / mirror / Atom feed
From: superiums <superiums@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Lite-xl not show
Date: Tue, 27 Dec 2022 04:31:44 +0100	[thread overview]
Message-ID: <20221227033144.rHS3Q1E4HZ1nLFi67sof-hx9H-v0D0rDxoGKMMil5-I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41180@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]

New comment by superiums on void-packages repository

https://github.com/void-linux/void-packages/issues/41180#issuecomment-1365580088

Comment:
Thanks for your attention, dear Sqvid and oliver-cfc.

i've tried it more and found this was related to my dbus session enviroment at last.

### this is my session start script:

1. way 1
```
#!/bin/sh

# dbus
export $(dbus-launch)

# IME
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export GLFW_IM_MODULE=ibus

# openCV
export OPENCV_LOG_LEVEL=ERROR

#voidLiinux doc
export QT_QPA_PLATFORM=wayland-egl
export ELM_DISPLAY=wl
export SDL_VIDEORIVER=wayland

# firefox
export MOZ_ENABLE_WAYLAND=1

# Session
export DESKTOP_SESSION=wayland
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=Wayfire
export XDG_CURRENT_DESKTOP=Wayfire

# Wayland stuff
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1

# exec dbus-launch --exit-with-session wayfire $@
exec wayfire $@
```
2. way 2
```
#!/bin/sh

# dbus
export $(dbus-launch)

# IME
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export GLFW_IM_MODULE=ibus

# openCV
export OPENCV_LOG_LEVEL=ERROR

#voidLiinux doc
export QT_QPA_PLATFORM=wayland-egl
export ELM_DISPLAY=wl
export SDL_VIDEORIVER=wayland

# firefox
export MOZ_ENABLE_WAYLAND=1

# Session
export DESKTOP_SESSION=wayland
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway

# Wayland stuff
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1

# exec dbus-launch --exit-with-session sway $@
exec sway $@
```
4. way 3:  directly type  `wayfire`
5. way 4:  directly type `sway`

### the result is :

- way 1 not work. 
     (but the reason i use this way is only after export $(dbus-launch) could let gvfs work, and let fcitx work in  chromium , as discussed in [https://github.com/WayfireWM/wayfire/issues/1611](https://github.com/WayfireWM/wayfire/issues/1611) ) 

- way 2,3,4 works.

  parent reply	other threads:[~2022-12-27  3:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19  4:02 [ISSUE] " superiums
2022-12-19  4:13 ` classabbyamp
2022-12-19  4:14 ` classabbyamp
2022-12-20  4:24 ` superiums
2022-12-20  4:36 ` superiums
2022-12-20  4:36 ` superiums
2022-12-23 14:59 ` oliver-cfc
2022-12-23 16:38 ` Sqvid
2022-12-23 23:55 ` oliver-cfc
2022-12-27  3:18 ` superiums
2022-12-27  3:31 ` superiums [this message]
2022-12-29  9:52 ` devlocalhost
2022-12-30  9:16 ` superiums

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221227033144.rHS3Q1E4HZ1nLFi67sof-hx9H-v0D0rDxoGKMMil5-I@z \
    --to=superiums@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).