Search Debian Channel Logs

Wednesday, March 8, 2017

#debian channel featuring greycat, johnkeates, stoned, rb__, jelly, jhutchins_wk,

rb__ 2017-03-08 06:49:45
hi
rb__ 2017-03-08 06:51:08
i wanna try i3. How to deactivate openbox? I started a tty and wrote i3. It comes a error -> cannot start display. Can u help me?
rb__ 2017-03-08 06:51:25
an error
greycat 2017-03-08 06:53:08
rb__: if you mean system-wide default, update-alternatives --config x-window-manager
rb__ 2017-03-08 06:54:03
greycat, i type that in a terminal and logout, right?
n4dir 2017-03-08 06:55:20
another option is to create ~/.xinitrc, add "exec i3", then run startx
greycat 2017-03-08 06:55:20
As root, so su or sudo as needed.
rb__ 2017-03-08 06:55:20
ok
greycat 2017-03-08 06:55:20
n4dir: use ~/.xsession not ~/.xinitrc
jelly 2017-03-08 06:55:20
type that in terminal, then start X in whatever way you usually start X
n4dir 2017-03-08 06:55:20
assuming "i3" is the command to start i3, to be found in /usr/bin/*i3*
n4dir 2017-03-08 06:55:20
greycat: okay.
stoned 2017-03-08 06:55:20
what's the diff in .xsessionrc and .xinitrc?
jelly 2017-03-08 06:55:20
~/.xsession does not seem to have "rc"
greycat 2017-03-08 06:55:20
.xinitrc ONLY works with startx, not with the Debian X session (e.g. xdm lightdm)
n4dir 2017-03-08 06:55:25
ah.
n4dir 2017-03-08 06:55:52
well: at least i said: "another option" (as i knew there are several)
rb__ 2017-03-08 06:55:59
ok, thank you very much for help, i go to try it.
greycat 2017-03-08 06:56:06
.xsessionrc is completely different. Its purpose is to allow you to set environment variables without having to write a whole .xsession, or when you are using gdm which doesn't necessarily read .xsession
stoned 2017-03-08 06:56:36
im slightly confusex
greycat 2017-03-08 06:56:59
Thanks, GNOME!
stoned 2017-03-08 06:57:01
https://paste.debian.net/ <- I run everything using this file
stoned 2017-03-08 06:57:13
I also use KDM + Xmonad session
stoned 2017-03-08 06:57:21
so .xsessionrc I guess
stoned 2017-03-08 06:57:42
I didn't know .xinitrc and the just .xsession
jhutchins_wk 2017-03-08 06:58:03
You should also be able to choose i3 from the greeter/login screen.
greycat 2017-03-08 06:58:28
If you specify a window manager command in your start-up, with or without exec, then you want to use ~/.xsession NOT ~/.xsessionrc
teraflops 2017-03-08 06:58:53
gdm sources .xprofile, also gdm is not a login shell
jhutchins_wk 2017-03-08 06:58:54
stoned: You realize you posted a link to the blank site?
jhutchins_wk 2017-03-08 06:59:23
stoned: No paste.
jelly 2017-03-08 06:59:29
jhutchins_wk: he scrapes ALL the pastes there and runs them.
stoned 2017-03-08 07:00:09
Oh
jelly 2017-03-08 07:01:04
that reminds me of 1996 and fvwm
stoned 2017-03-08 07:01:35
http://sprunge.us/LPhV full file didn't get on debien.net
stoned 2017-03-08 07:02:03
just background, system tray, xmonad and urxvt. life is good
greycat 2017-03-08 07:02:39
what's wrong with fvwm?
rb___ 2017-03-08 07:03:05
It dont works. I activared i3 and reboot the system. But it comes openbox. When I type i3 in terminal, it says that another manager is running (x error 10)
stoned 2017-03-08 07:03:19
set alternative dude
greycat 2017-03-08 07:03:31
rb___: ls -l /etc/alternatives/x-*-manager
stoned 2017-03-08 07:03:33
sudo update-alternatives --config x-window-manager
rb___ 2017-03-08 07:04:08
lrwxrwxrwx 1 root root 24 Mär 5 15:54 /etc/alternatives/x-session-manager -> /usr/bin/openbox-session
rb___ 2017-03-08 07:04:08
lrwxrwxrwx 1 root root 11 Mär 8 18:58 /etc/alternatives/x-window-manager -> /usr/bin/i3
rb___ 2017-03-08 07:04:20
stoned, i have do that
stoned 2017-03-08 07:04:23
rb___: tip: next time run it with --replace and it won't give message error
stoned 2017-03-08 07:04:29
like i3 --replace
stoned 2017-03-08 07:04:35
or any windowmangername --replace
stoned 2017-03-08 07:04:45
greycat: display manager
stoned 2017-03-08 07:04:49
kdm type stuff
teraflops 2017-03-08 07:05:02
stoned: I rewrote all my dzen2 status bars (xmonad) from "while:; … sleep" to inotify-wait. now I idle at 0/1%, before I was idling at ~3% CPU
greycat 2017-03-08 07:05:03
openbox-session is a display managers?
stoned 2017-03-08 07:05:32
isn't that what manges the sessions?
n4dir 2017-03-08 07:05:32
go on, friends, and in 3 minutes i will feel stoned too ....
stoned 2017-03-08 07:05:37
(they show up inside it, the list)
jelly 2017-03-08 07:05:41
logic suggests a session manager would be the thing exec'd at the end and what keeps the session alive
greycat 2017-03-08 07:06:37
Shit's too confusing for me. There are too many different possible things.
stoned 2017-03-08 07:07:06
teraflops: plese share
jelly 2017-03-08 07:07:06
and in case of a DE, spawning all or most the other stuff
teraflops 2017-03-08 07:07:38
stoned: it depends on what you do, but the idea is https://gist.github.com/Earnestly/6ff1fa506d58f5a2a6f611f76e5f80b4
rb___ 2017-03-08 07:08:12
brb
teraflops 2017-03-08 07:10:36
stoned: more detailed example (for i3) http://ix.io/oP5
tjt263 2017-03-08 07:15:47
hey, how can i have my terminal sessions persist through reboots, or at least be recoverable (like web browser tabs)
jhutchins_wk 2017-03-08 07:15:47
tjt263: screen or tmux
johnkeates 2017-03-08 07:16:02
or disown and retty
tjt263 2017-03-08 07:16:02
that wont survive a reboot
johnkeates 2017-03-08 07:16:14
i3
jhutchins_wk 2017-03-08 07:16:17
tjt263: Actually, they won't persist through reboots, just logouts.
johnkeates 2017-03-08 07:16:30
try not rebooting
tjt263 2017-03-08 07:16:52
..its not an option
jhutchins_wk 2017-03-08 07:16:56
tjt263: About the only thing you can do is write a script. I think you can have tmux execute certain configurations at startup.
jhutchins_wk 2017-03-08 07:17:30
tjt263: You can also script screen.
johnkeates 2017-03-08 07:18:44
you can't persist what you won't define, so you'd need to have a program where you define what you want and then it can persist it for you