You are not logged in.

#1 2014-10-01 20:56:16

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Session: i3 (with debug log) sign on the screen

Hello!

Here is my problem (actually I wasn't able even google out that this problem exists): for some reason I have this sign over wallpaper (Session: i3 (with debug log)) on my screen (even on logon screen).
Is there any ideas how to remove it?

I've installed i3 and slim.

Thank you for attention and sorry, if the answer is already somehwere in wiki (couldn't find it though).

Last edited by alex_hmn (2014-10-01 21:28:40)

Offline

#2 2014-10-02 07:12:57

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: Session: i3 (with debug log) sign on the screen

Hi Alexander,

if that sign shows up as early as your logon screen, you can rule out i3 cause the window manager is yet to be started.
Please help us help you and post a link to a screenshot, or at least describe the sign your're seeing.

Cheers

Offline

#3 2014-10-02 07:41:42

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: Session: i3 (with debug log) sign on the screen

http://s23.postimg.org/99kgzy62j/2014_1 … _scrot.png

Here is a screenshot. This sing appears as early as logon screen, yes. And it's permanent. I've even checked /usr/share/slim/themes/default1/background.jpg, but the image doesn't have it (and default1 is my current theme).



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by alex_hmn (2014-10-02 07:42:38)

Offline

#4 2014-10-02 08:21:24

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: Session: i3 (with debug log) sign on the screen

Just to make sure, the message reading "Session: i3 (with debug log)" is what you call a sign? This message is slim's on-screen-display of the session you are going to start. If you have more than one window manager on your sytem, slim lets you switch them by just pressing F1 and accordingly adjusts its OSD. I haven't used slim for quite some time, but I'm sure that message disappeared on window manager startup.

Cheers

Offline

#5 2014-10-02 09:03:25

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: Session: i3 (with debug log) sign on the screen

Yes, I'm talking about this message. I don't have any other window managers except i3 (at least, I don't know about that). Pressing F1 doesn't have any effect.
And this message is quite annoying so I want it to be removed at least while I'm logged in.

P.S. sorry for image, I'll be careful next time.

Offline

#6 2014-10-02 09:41:26

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: Session: i3 (with debug log) sign on the screen

Slim detects window managers automatically, and pressing F1 won't have any effect as long as you have only one wm installed.

I have just activated slim again to test what this is all about. There seems to be a problem with slim not clearing the background before starting the wm. And there is a simple solution. Just install a wallpaper setter like feh, and edit your ~/.xinitrc to set a new wallpaper before the wm is started. Mine looks like this:

...
feh --bg-fill ~/WALLPAPER.JPG
exec $1

Now slim will look up the wm command in your xsessions folder and hand it to your .xinitrc, which will call the wallpaper setter and then execute the wm command. For my system this works.

Cheers

Offline

#7 2014-10-02 12:22:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Session: i3 (with debug log) sign on the screen

If you only have one WM, why bother with slim at all?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2014-10-02 12:28:01

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: Session: i3 (with debug log) sign on the screen

Hi Trilby,
quite my point of view. And even if you have a bunch of wms, a display manager just introduces unneeded complexity. I have been running .xinitrc and startx systems for years, and I am very happy with it.

Offline

#9 2014-10-02 16:30:41

maiz
Member
Registered: 2014-09-30
Posts: 11

Re: Session: i3 (with debug log) sign on the screen

Hi,

I couldn't help notice the use of i3 with actually a floating window. If that wasn't meant to to let us see the unwanted piece of text, why use i3 at all?

Offline

#10 2014-10-03 07:17:11

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: Session: i3 (with debug log) sign on the screen

Thank you for answers!
Yes. floating window mode was turned on to show the message. I have xfce4-terminal with transparent mode and under the terminal window the wallpaper image has no "session" message smile
feh - solution will work for sure, but I don't like it, since it is not the solution of the problem, it is hiding of the problem, sorry...
I'll try to comment 'sessiondir' parameter in my slim.conf file, but at the moment I'm out of town for a few days...

Why bother with slim? Hm... it's a good point actually. I'm using it because I'm a new user of linux-base systems and some guy told me to use slim smile) I'll consider deleting it.

Thanks again for your suggestions! I'll let you know if commenting a parameter in slim.conf will work soon.

Offline

#11 2014-10-03 09:16:28

walex
Member
From: Germany
Registered: 2006-10-26
Posts: 28

Re: Session: i3 (with debug log) sign on the screen

Just found this in the Arch Linux wiki:

Warning: The SliM project has been abandoned (the project homepage is down, leaving a download mirror), and is not fully compatible to systemd, including logind sessions. Consider using a different Display manager or Xinitrc.

Besides, if you're determined to stay with slim, you'd better ignore the slim article in the wiki - it is more confusing than helpful. Just read the comments in  /etc/slim.conf.

BTW I don't see how commenting the sessiondir line in /etc/slim.conf could help you with your problem. This line tells slim where to find the desktop file that contains the startup command for your wm. Most likely your wm wouldn't start at all.

Last edited by walex (2014-10-03 09:21:56)

Offline

#12 2014-10-07 20:39:28

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: Session: i3 (with debug log) sign on the screen

Hello!
Just for your interest I want to inform you that commenting this string actually helped. The message is gone and the problem is solved.

Thank you for help once again!

Offline

#13 2014-10-08 04:06:55

scryan
Member
Registered: 2014-07-01
Posts: 50

Re: Session: i3 (with debug log) sign on the screen

alex_hmn wrote:

Thank you for answers!
Yes. floating window mode was turned on to show the message. I have xfce4-terminal with transparent mode and under the terminal window the wallpaper image has no "session" message smile
feh - solution will work for sure, but I don't like it, since it is not the solution of the problem, it is hiding of the problem, sorry...
I'll try to comment 'sessiondir' parameter in my slim.conf file, but at the moment I'm out of town for a few days...

Why bother with slim? Hm... it's a good point actually. I'm using it because I'm a new user of linux-base systems and some guy told me to use slim smile) I'll consider deleting it.

Thanks again for your suggestions! I'll let you know if commenting a parameter in slim.conf will work soon.

Actually it is the answer I think. i3 does not manage you wallpaper at all. With only i3 you will have a black background.

From the i3 FAQ

Q. How can I set a desktop background image in i3?
A. The background image configuration does not depend on the window manager. i3 will not touch the X11 root window (which is the window on which the background is set), so you need to set a background with an external program.

Many people use feh, see https://wiki.archlinux.org/index.php/Fe … permanager

To set a static color (not an image), use

xsetroot -solid "#333333"
You can place the feh or xsetroot call either in your ~/.xsession before execing i3, or (in case you don’t use ~/.xsession) in your i3 configuration file ~/.i3/config:

exec --no-startup-id xsetroot -solid "#333333"

https://faq.i3wm.org/question/6/how-can … age-in-i3/

So perhaps slim is setting the background, then expecting the session you launch to change it?
However, as quoted above if you want a background in i3, you need to run an external program to do that. Don't think of it as a band aid solution, most DE's have code doing it  in the case of i3 its just a seperate program to keep things minimal and optional.

Last edited by scryan (2014-10-08 04:09:56)

Offline

Board footer

Powered by FluxBB