[arch-general] browser and tty
Dear list, I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3). I have a weird behavior as regarding my web browser, could it be chromium or firefox. On my i3 config. I have this line: assign [instance="^chromium$"] → 1 Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1. It seems like web browsers are "attached" to my tty1. Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ? Thank you for help.
Verify there is no running instance of Chromium in any other session, as it spawns children withing its original session. I have seen this happen with X2go as well. Jason Plum WarheadsSE On Tue, Mar 25, 2014 at 1:18 PM, arnaud gaboury <arnaud.gaboury@gmail.com>wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/25/2014 01:23 PM, Jason Plum wrote:
Verify there is no running instance of Chromium in any other session, as it spawns children withing its original session. I have seen this happen with X2go as well.
Jason Plum WarheadsSE
On Tue, Mar 25, 2014 at 1:18 PM, arnaud gaboury <arnaud.gaboury@gmail.com>wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
Salutations, According to the Arch Wiki : <https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces>; that seems to be the correct behavior. You are assigning chromium to be launched on tty1. Regards, Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlMxvC8ACgkQZ/Z80n6+J/aVowD+OmXwmCGJiOTCkR2RtOFubXQa cx6UhDMyVEPjtkcNUBIBAI9mCM+LiFpxu2K58eMogHtsUIwUi8rmdAso+SKYGjrg =iRGJ -----END PGP SIGNATURE-----
On 25.03.14 at 13:26, Mark Lee wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 03/25/2014 01:23 PM, Jason Plum wrote:
Verify there is no running instance of Chromium in any other session, as it spawns children withing its original session. I have seen this happen with X2go as well.
Jason Plum WarheadsSE
On Tue, Mar 25, 2014 at 1:18 PM, arnaud gaboury <arnaud.gaboury@gmail.com>wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
Salutations,
According to the Arch Wiki : <https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces>; that seems to be the correct behavior.
You are assigning chromium to be launched on tty1.
Regards, Mark
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/25/2014 01:32 PM, Jakub Klinkovský wrote:
On 25.03.14 at 13:26, Mark Lee wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 03/25/2014 01:23 PM, Jason Plum wrote:
Verify there is no running instance of Chromium in any other session, as it spawns children withing its original session. I have seen this happen with X2go as well.
Jason Plum WarheadsSE
On Tue, Mar 25, 2014 at 1:18 PM, arnaud gaboury <arnaud.gaboury@gmail.com>wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
Salutations,
According to the Arch Wiki : <https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces>; that seems to be the correct behavior.
You are assigning chromium to be launched on tty1.
Regards, Mark
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
Salutations, I apologize I just caught the error myself as your email came in. Does i3 require xorg-xserver, and if that's the case, is there already a running instance of the xserver on TTY1(you mention you have mate). Regards, Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlMxvyQACgkQZ/Z80n6+J/a+xAEAjJXkAFWkNAEXvC9Fas7wtqrb D1NWAJX0SfIWFUDZxhYA/Rb/z82YuBqw1lqRqX+d5r1+H1vbO8vncB1vukl2B2ob =QHI8 -----END PGP SIGNATURE-----
According to the Arch Wiki : <https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces>; that seems to be the correct behavior.
You are assigning chromium to be launched on tty1.
No, I am assigning chromium to be launched on WORKSPACE 1 !!
I apologize I just caught the error myself as your email came in. Does i3 require xorg-xserver, and if that's the case, is there already a running instance of the xserver on TTY1(you mention you have mate).
Even if I boot directly into i3 in tty1, chromium is not started on workspace 1. Furthermore, my keyboard is US, not the one I use. Part of my /etc/X11/xorg.conf Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "ch" Option "XkbModel" "pc104" Option "XkbVariant" "fr" EndSection All my issues seem tied to a xserver issue in fact.
On 25.03.14 at 19:02, arnaud gaboury wrote:
According to the Arch Wiki : <https://wiki.archlinux.org/index.php/I3#Launching_programs_on_specific_workspaces>; that seems to be the correct behavior.
You are assigning chromium to be launched on tty1.
No, I am assigning chromium to be launched on WORKSPACE 1 !!
I apologize I just caught the error myself as your email came in. Does i3 require xorg-xserver, and if that's the case, is there already a running instance of the xserver on TTY1(you mention you have mate).
Even if I boot directly into i3 in tty1, chromium is not started on workspace 1.
The 'assign' directive will not start Chromium, you would need to combine it with 'exec'. Or have I misunderstood again?
Furthermore, my keyboard is US, not the one I use. Part of my /etc/X11/xorg.conf
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "ch" Option "XkbModel" "pc104" Option "XkbVariant" "fr" EndSection
All my issues seem tied to a xserver issue in fact.
Is it /etc/X11/xorg.conf or some file in /etc/X11/xorg.conf.d/ ? This is a long shot, but there might be a difference...
The 'assign' directive will not start Chromium, you would need to combine it with 'exec'. Or have I misunderstood again?
That is OK now with adding the exec line
Furthermore, my keyboard is US, not the one I use. Part of my /etc/X11/xorg.conf
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "ch" Option "XkbModel" "pc104" Option "XkbVariant" "fr" EndSection
All my issues seem tied to a xserver issue in fact.
Is it /etc/X11/xorg.conf or some file in /etc/X11/xorg.conf.d/ ? This is a long shot, but there might be a difference...
it is part of my xorg.conf. No xorg.conf.d. Shall I
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
No ?? really? Are you joking ?
On 25.03.14 at 18:56, arnaud gaboury wrote:
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
No ?? really? Are you joking ?
I'm certain. i3 workspaces are an implementation of "virtual desktop" [1], as Wikipedia calls it. I'm quite sure that MATE has its own implementation, but it is likely very different from i3's. On the other hand, ttys are "virtual consoles" [2], which is similar concept, but on lower level. The general rule is that one X server cannot span multiple ttys. [1]: https://en.wikipedia.org/wiki/Virtual_desktop [2]: https://en.wikipedia.org/wiki/Virtual_console -- jlk
On Tue, Mar 25, 2014 at 7:09 PM, Jakub Klinkovský <j.l.k@gmx.com> wrote:
On 25.03.14 at 18:56, arnaud gaboury wrote:
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
No ?? really? Are you joking ?
I'm certain. i3 workspaces are an implementation of "virtual desktop" [1], as
It seems that we don-t have same kind of joke. I know tty is not i3 workspace. After a reboot, now I boot directly into i3. Fine, chromium is running . But my keyboard is still wrong. Any suggestion
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/25/2014 02:17 PM, arnaud gaboury wrote:
On Tue, Mar 25, 2014 at 7:09 PM, Jakub Klinkovský <j.l.k@gmx.com> wrote:
On 25.03.14 at 18:56, arnaud gaboury wrote:
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
No ?? really? Are you joking ?
I'm certain. i3 workspaces are an implementation of "virtual desktop" [1], as
It seems that we don-t have same kind of joke. I know tty is not i3 workspace.
After a reboot, now I boot directly into i3. Fine, chromium is running . But my keyboard is still wrong. Any suggestion
Salutations, I just tested out i3 myself, and if you launch it with startx (from xorg-xinit), I don't have any issues launching chromium in the same TTY. See <https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Xorg> Regards, Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlMxyO8ACgkQZ/Z80n6+J/ayRQEAiHDFk0KWUlq9aEcAocHvEIDz FEMSVSOy8dO2Z7jIrO4A/1VeyaXo4jLr8sPe4fF8Qe5cYg/hW54nwQ/FPDrNFgsb =DihJ -----END PGP SIGNATURE-----
On Tue, Mar 25, 2014 at 7:20 PM, Mark Lee <mark@markelee.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
I just tested out i3 myself, and if you launch it with startx (from xorg-xinit), I don't have any issues launching chromium in the same TTY.
See <https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Xorg>
chromium or firefox is starting fine now. from i3 config exec firefox-aurora assign [instance="firefox-aurora"] 1 two issues remaining firefox starts on workspace 2 my keyboard is in US
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 03/25/2014 02:29 PM, arnaud gaboury wrote:
On Tue, Mar 25, 2014 at 7:20 PM, Mark Lee <mark@markelee.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
I just tested out i3 myself, and if you launch it with startx (from xorg-xinit), I don't have any issues launching chromium in the same TTY.
See <https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Xorg>
chromium or firefox is starting fine now.
from i3 config exec firefox-aurora assign [instance="firefox-aurora"] 1
two issues remaining firefox starts on workspace 2 my keyboard is in US
Salutations, Try changing the line to : assign [class="firefox-aurora"] 1 I sent you a link on keyboard configuration in Xorg. Regards, Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlMxzU8ACgkQZ/Z80n6+J/b2DwD/Q7Dklwh7Nj4gozmdIw2ieKMo c6v/WcQxHaRLK4KQlawBAJXFwufrjFjaoH5drcWBFvQUfmuHPG7h6vFpuMyb6pn7 =+nci -----END PGP SIGNATURE-----
On 25.03.14 at 19:17, arnaud gaboury wrote:
On Tue, Mar 25, 2014 at 7:09 PM, Jakub Klinkovský <j.l.k@gmx.com> wrote:
On 25.03.14 at 18:56, arnaud gaboury wrote:
i3 workspace is *not* tty! See http://i3wm.org/docs/userguide.html#_using_workspaces
No ?? really? Are you joking ?
I'm certain. i3 workspaces are an implementation of "virtual desktop" [1], as
It seems that we don-t have same kind of joke. I know tty is not i3 workspace.
Apologies. On the other hand, my post must have been really funny for you :)
After a reboot, now I boot directly into i3. Fine, chromium is running . But my keyboard is still wrong. Any suggestion
See the other post, and please keep try to keep the problem solving linear (as in "linear graph"), don't switch branches if possible.
See the other post, and please keep try to keep the problem solving linear (as in "linear graph"), don't switch branches if possible.
Mutt and weechat are on my TODO list
On Tue, Mar 25, 2014 at 9:53 PM, Lieven Moors <lievenmoors@gmail.com> wrote:
On Tue, Mar 25, 2014 at 07:36:01PM +0100, arnaud gaboury wrote:
See the other post, and please keep try to keep the problem solving linear (as in "linear graph"), don't switch branches if possible.
Mutt and weechat are on my TODO list
This is hilarious...
Not sure what is hilarious, but adding this line in .xinitrc let me with the correct keyboard maping: setxkbmap -model pc104 -layout ch -variant fr I do not see why it is needed as my .xorg already contains: Section "InputDevice" Identifier "keyboard0" Driver "kbd" Option "XkbModel" "pc104" Option "XkbLayout" "ch" Option "XkbVariant" "fr" EndSection As for firefox, these two lines starts firefox, BUT in workspace 2, as indicated in the i3 bar. exec firefox-aurora assign [instance="^firefox-aurora$"] 1
As for firefox, these two lines starts firefox, BUT in workspace 2, as indicated in the i3 bar.
exec firefox-aurora assign [instance="^firefox-aurora$"] 1
exec --no-startup-id i3-msg 'workspace 1; exec firefox-aurora' did the trick
On 25.03.14 at 23:35, arnaud gaboury wrote:
As for firefox, these two lines starts firefox, BUT in workspace 2, as indicated in the i3 bar.
exec firefox-aurora assign [instance="^firefox-aurora$"] 1
exec --no-startup-id i3-msg 'workspace 1; exec firefox-aurora' did the trick
Actually, looking at the above lines now, you should first 'assign' and then 'exec', which should be the last thing defined in the config. -- jlk
On 25.03.14 at 18:18, arnaud gaboury wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
AFAIK, systemd does not (yet) support multi-session correctly - but this is mostly irrelevant, unless you want to use dbus. Anyway, I don't think this is supported at all - what would be the expected behaviour when you run the same browser profile on both tty1 and tty2 ? What would happen when file conflict arises (same profile means both instances use the same directory for data)? -- jlk
On Tue, Mar 25, 2014 at 6:39 PM, Jakub Klinkovský <j.l.k@gmx.com> wrote:
On 25.03.14 at 18:18, arnaud gaboury wrote:
Dear list,
I decided to get rid of my mate DE and go i3. Before I am testing my settings on tty2 (Ctrl+Alt+F2) with a modify .xinitrc (exec i3).
I have a weird behavior as regarding my web browser, could it be chromium or firefox.
On my i3 config. I have this line:
assign [instance="^chromium$"] → 1
Unfortunately, when I log in on tty2, there is no chromium being started. When I am back on tty1 (mate session), I find chromium being opened. Then, on tty2, if I start manually firefox, I can't as I am told "firefox is already running". Indeed it is but on tty1.
It seems like web browsers are "attached" to my tty1.
Is there any reason for this behavior? Shall I modify anything to start any web browser on tty2 ?
Thank you for help.
AFAIK, systemd does not (yet) support multi-session correctly - but this is mostly irrelevant, unless you want to use dbus.
Anyway, I don't think this is supported at all - what would be the expected behaviour when you run the same browser profile on both tty1 and tty2 ? What would happen when file conflict arises (same profile means both instances use the same directory for data)?
-- jlk
Wrt firefox, try running 'firefox -P' and pick a new profile. 'firefox -no-remote' may help too.
participants (6)
-
arnaud gaboury
-
Jakub Klinkovský
-
Jason Plum
-
Karol Blazewicz
-
Lieven Moors
-
Mark Lee