Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-06-04 13:37:45

Ailurus
Member
Registered: 2011-05-19
Posts: 42

Open new tab in browser from terminal

Hi,

I'm trying to open a new tab in my browser (Chromium) from the terminal. Since I couldn't figure out how to open a new tab in an existing Chromium session (either by clicking on the chromium icon or typing chromium in the terminal) instead of opening a new session, I thought it could be done from the terminal.
When you middle-click on an URL somewhere in the manpages, it opens this URL in a new tab. How can I mimic this behaviour?

By the way, when I start Chromium from the terminal when there already is another instance running, it displays

Created new window in existing browser session.

I don't know the use of this message, since a new chromium session is started anyway...?

Offline

#2 2011-06-06 11:00:44

Ailurus
Member
Registered: 2011-05-19
Posts: 42

Re: Open new tab in browser from terminal

I tried some other things, like xdg-run <url>. This works, but I'd like to open a new tab like chrome://newtab. It is not possible to use this as URL, because it isn't recognized as such.
Temporary solution is to call Chromium with chromium about:blank. This takes care of the multiple instances issue, but isn't very beautiful. If anybody has an idea how to call the newtab URL instead of this blank page, please let me know.

Offline

#3 2011-06-07 21:12:09

jeromeg
Member
From: France
Registered: 2010-11-11
Posts: 131
Website

Re: Open new tab in browser from terminal

You would have more luck on a Chromium related forum, this has nothing to do with Xfce.

Offline

#4 2011-06-07 23:04:24

Ailurus
Member
Registered: 2011-05-19
Posts: 42

Re: Open new tab in browser from terminal

Well the thing is, multiple instances of the same application were created even though the application itself noted that this should not be the case (bit vague on that part). So my connection to xfce was the window manager, xfwm. That's the reason I posted this smile. Meanwhile, I found the noted temporary solution, so perhaps others may benefit from it.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 521.39 KiB (Peak: 522.02 KiB) ]