Llama
November 13, 2022, 7:09am
1
Hi,
ᐅ whereis i3
i3: /usr/bin/i3 /etc/i3 /usr/include/i3 /usr/share/man/man1/i3.1.gz
Installed packages:
i3-gaps
i3status
dmenu
Autostart script:
~/.config/plasma-workspace/env ᐅ cat set_window_manager.sh
#!/usr/bin/env bash
export KDEWM=/usr/bin/i3
~/.config/plasma-workspace/env ᐅ ls -l
total 4
-rwxr-xr-x 1 alexey alexey 46 Nov 13 08:31 set_window_manager.sh
set_window_manager.sh
appears under Startup and Shutdown > Autostart > Pre-startup Scripts . Unfortunately, on startup nothing happens.
This approach used to work on other installations, a while ago. What else can I do?
Hi @Llama ,
I see the difference between yours and min is basically just the hashbang (#!
). So try changing yours from:
#!/usr/bin/env bash
To
#!/bin/env bash
I don’t know if it will, I kind of doubt it, but I do hope it helps!
Llama
November 13, 2022, 7:28am
3
No such luck. It used to work without any shebang, too
Is the script executable? What happens if you run it manually?
Llama
November 13, 2022, 7:39am
5
It’s executable, as you can see at the starting post. Nothing happens when I run it manually. But nothing should happen, I suppose, as KWin is already running.
Llama
November 13, 2022, 7:48am
7
I’ve seen this. For one thing, its outdated. My Autostart dialog looks and behaves differently. The approach is essentially the same, though.
See here:
https://wiki.archlinux.org/title/I3
Link obtained from:
Hi!
I have started reading this i3 - ArchWiki . I installed the package and I do not know what to do next. I do not want to break my current KDE installation. Any help is appreciated!
Thanks!
I guess you checked the simple solutions already? Are you using Wayland?
Llama
November 13, 2022, 7:58am
10
This is not my case at all. It’s all about another desktop environment alongside KDE. I want to replace KWin with i3, which is a legitimate option.
I know, I read the linked page a bit. The first section is about that it’s not running in Wayland.
Is i3 running natively?
Then complete the installation alongside, and afterwards remove Kwin.
Llama
November 13, 2022, 8:07am
13
It’s complete. As I already told, I’m following a well trodden path. There’s just an unknown variable in the equation rearing its ugly head.
Llama
November 13, 2022, 8:18am
14
Yes, i3 runs fine natively. Plasma runs on X11. It looks like my Autostart scripts won’t run.
TriMoon
November 13, 2022, 11:10am
15
1 Like
Llama
November 13, 2022, 12:45pm
17
Thanks! All the steps, as I figured them out.
Create the necessary service:
~ ᐅ cat .config/systemd/user/plasma-custom-wm.service
~/.config/systemd/user/plasma-custom-wm.service
[Install]
WantedBy=plasma-workspace.target
[Unit]
Description=Plasma Custom Window Manager
Before=plasma-workspace.target
[Service]
ExecStart=/usr/bin/i3
Slice=session.slice
Restart=on-failure
Check the running KWin:
ᐅ systemctl status --user plasma-kwin_x11
...
Mask:
ᐅ systemctl mask --user plasma-kwin_x11
Enable i3:
ᐅ systemctl enable --user plasma-custom-wm.service
Reboot.
system
Closed
November 16, 2022, 2:46am
18
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.