Comments (9)
I think that this is the cleanest solution that follow the rule "do one thing and do it well". In my opinion you resolved my issue.
from emptty.
Hello,
you are right, these scripts are not started. Until it's developed, you can use workaround:
- set
DBUS_LAUNCH=false
in /etc/emptty/conf - create
.emptty
in your home dir - run
chmod +x .emptty
- put this inside
.emptty
file
#!/bin/sh
xrdb -merge ~/.Xresources
xmodmap ~/.Xmodmap
exec dbus-launch bspwm
I know, that this is not cleanest solution, but it is faster than to wait until it's fixed.
edit: fixed script for loading files
from emptty.
I've done some research and I've found out, that there is large number of possibilities, how to handle this specific issue.
Proposed .emptty
solution wouldn't be as bad as it is, if there was option to run selected WM/DE. Some Display Managers prefers starting .xinitrc
/.xsession
files, some uses .xprofile
and others.
I like quite a variant using .xprofile
(~/.xprofile, /etc/xprofile), since it's "just" script, that runs before WM/DE is started and does not start WM/DE itself.
And here's the question, what is your standard way to invoke .Xresources and .Xmodmap? Is that by .xinitrc
, by .xsession
, .xprofile
or some other way?
from emptty.
Hi, thanks for the reply. I used only two ways to start wm. The first one (in the past) through login in tty and manually launch of Xorg. Then i switched to lightdm and it does all the things for me. If I'm not wrong lightdm call all script individually without .xinitrc, .xsession, ecc.
from emptty.
Hello,
I've tried many way how to handle loading configs and run scripts. I've learned, that many of these scripts are DM-specific. Plus the worst thing I've seen, different distros with different display managers use some of these scripts quite differently. I don't think, that is good idea to take responsibility out of users, so I've added option XINITRC_LAUNCH
, which could be set to true or false (default false).
If it is defined to true and user have .xinitrc
file within own home folder, the magic could be done. But not by emptty, just by user's intention. I am aware, that it looks like I'm trying to cover myself with alibi, but even they're just scripts, they could be quite complicated.
Please take a look on Samples page.
from emptty.
Hi everyone, I am an ArchLinux user too. But here comes a problem: why my "/etc/profile" is not sourced?
It seems that LightDM always sources "/etc/profile" before launch the DE, but emptty does not, is it by design too?
https://github.com/canonical/lightdm/blob/lightdm-1-30/debian/lightdm-session#L38
from emptty.
Hello, as it was said in #8, it is up to user to configure own login script.
from emptty.
Some DMs have adopted the "wrapper-script" to initialize envs before the DE launch, such as
ly https://github.com/nullgemm/ly/blob/master/res/wsetup.sh
sddm https://github.com/sddm/sddm/blob/v0.18.1/data/scripts/Xsession
LightDM https://github.com/canonical/lightdm/blob/lightdm-1-30/debian/lightdm-session#L38
Maybe we should do it for dumb end users?
For experts, provide an option to disable the "wrapper-script", and let them play around the ~/.config/emptty
script.
from emptty.
I am aware of this kind of scripts and I was thinking about them in some of initial commits. I understand the motivation, but there could be so many shells with custom profile/rc scripts. And of course there are scripts just for Xorg environment. I don't think I could be able to keep it correctly configured for Xorg and Wayland.
But don't get easily scared, I appreciate each input.
from emptty.
Related Issues (20)
- Selection mode: don't ask to choose session if there's only a single option HOT 2
- Provide pre-built binaries HOT 6
- Message about locked account does not get through HOT 1
- Help needed with configuring a wayland session for river
- Terminal emulators have default path set to '/' HOT 3
- custom logo, i want to ascii , and i only i3wm , and my i3wm is appimage, but i config emptty, it cannot auto i3wm HOT 1
- Not issue but question HOT 7
- Update github.com/msteinert/pam to v2 HOT 6
- PAM for Alpine Linux to repo
- Arguments from desktop entry are broken up HOT 4
- Use XDG Base Directory hierarchies HOT 6
- dbus-launch is probably not needed in systemd environment HOT 1
- About PATH again HOT 7
- Wrong data for XDG_SESSION_DESKTOP
- Feature request: Last user as default HOT 1
- Shutdown and reboot keyboard shortcuts HOT 8
- Automatic selection when only one choice HOT 2
- Show asterisks in password field HOT 1
- Black screen after login Ubuntu 24.04 HOT 13
- Screen locker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emptty.