[SOLVED] How can I put various browsers in Application Menu?
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
[SOLVED] How can I put various browsers in Application Menu?
This is my first time to use Linux.
I compared with multiple distributions and finally
I decided to use Porteus xfce v2.1.
Thank you for creating such a nice portable Linux.
It is very fast and works fine out of the box.
I need to use various browsers with Porteus,
so I put 04-firefox.xzm, 04-chrome.xzm and 04-opera.xzm
into the folder (/porteus/base/), but I can only see Opera icon
on Launcher and in the Internet section of Application Menu.
Firefox and Chrome disappear.
When I input "Firefox" on Application Finder, Firefox works,
but Chrome doesn't.
My questions are as follows:
1. Does Porteus allow to use one browser only?
2. Should I be better to put 04-files in the folder (./modules)?
3. How can I add Firefox icon on Launcher in place of Opera?
4. Why Chrome doesn't work?
Thank you for your time and kind attention.
I compared with multiple distributions and finally
I decided to use Porteus xfce v2.1.
Thank you for creating such a nice portable Linux.
It is very fast and works fine out of the box.
I need to use various browsers with Porteus,
so I put 04-firefox.xzm, 04-chrome.xzm and 04-opera.xzm
into the folder (/porteus/base/), but I can only see Opera icon
on Launcher and in the Internet section of Application Menu.
Firefox and Chrome disappear.
When I input "Firefox" on Application Finder, Firefox works,
but Chrome doesn't.
My questions are as follows:
1. Does Porteus allow to use one browser only?
2. Should I be better to put 04-files in the folder (./modules)?
3. How can I add Firefox icon on Launcher in place of Opera?
4. Why Chrome doesn't work?
Thank you for your time and kind attention.
Last edited by Obosan on 14 Apr 2014, 15:51, edited 1 time in total.
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
Wekcome to porteus forum.
1. Does Porteus allow to use one browser only?
No you can use all of them.
2. Should I be better to put 04-files in the folder (./modules)?
I do not think that this make any difference.
3. How can I add Firefox icon on Launcher in place of Opera?
This depends on your desktop environment. I will have a look at it and come back, however you can look on internet adding application on xfce panel (google is your friend).
4. Why Chrome doesn't work?
If you are in root mode, this might be the reason. Is it your case? If this is the case there is a solution.
1. Does Porteus allow to use one browser only?
No you can use all of them.
2. Should I be better to put 04-files in the folder (./modules)?
I do not think that this make any difference.
3. How can I add Firefox icon on Launcher in place of Opera?
This depends on your desktop environment. I will have a look at it and come back, however you can look on internet adding application on xfce panel (google is your friend).
4. Why Chrome doesn't work?
If you are in root mode, this might be the reason. Is it your case? If this is the case there is a solution.
Last edited by francois on 08 Apr 2014, 17:56, edited 1 time in total.
Prendre son temps, profiter de celui qui passe.
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Bonjour francois! Thanks for your prompt reply.
On the right side of panel, I see "guest", therefore
I don't think I am in root mode. Am I correct ?
Do you know why those browsers icon are not in
Application Menu if I can use all of them?
On the right side of panel, I see "guest", therefore
I don't think I am in root mode. Am I correct ?
Do you know why those browsers icon are not in
Application Menu if I can use all of them?
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
I am at work and lunch time is finish.
I will come back later.
I will come back later.

Prendre son temps, profiter de celui qui passe.
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Bon après-midi! 

- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Regarding 3. How can I add Firefox icon on Launcher in place of Opera?,
I googled as you suggested and found a solution. Here is what I have done,
I right clicked on Opera icon to see Properties, and then open it.
By creating New Item of Launcher, I typed name and comment: firefox,
command: /usr/bin/firefox icon: firefox-3.5
Now, I can launch firefox and opera simultaneously.
Thank you for your kind suggestion.
I googled as you suggested and found a solution. Here is what I have done,
I right clicked on Opera icon to see Properties, and then open it.
By creating New Item of Launcher, I typed name and comment: firefox,
command: /usr/bin/firefox icon: firefox-3.5
Now, I can launch firefox and opera simultaneously.
Thank you for your kind suggestion.
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
This is it! 8)
Prendre son temps, profiter de celui qui passe.
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
On the right side of panel, I see "guest", therefore
I don't think I am in root mode. Am I correct ?
This means that you are in normal user mode. Google chrome should work out of the box. Where did you pickup your google chome brower from? Did you used this one?(sometimes people mix up the 32bit and 64bit applications):
http://ponce.cc/porteus/i486/current/modules/
Please give us the output with terminal of:
Do you know why those browsers icon are not in
Application Menu if I can use all of them?
If you have put the modules in the /porteus/modules folder, as soon as they are loaded there should be automatically an entry installed in the application menuy. I am very surprised.
I don't think I am in root mode. Am I correct ?
This means that you are in normal user mode. Google chrome should work out of the box. Where did you pickup your google chome brower from? Did you used this one?(sometimes people mix up the 32bit and 64bit applications):
http://ponce.cc/porteus/i486/current/modules/
Please give us the output with terminal of:
Code: Select all
root@porteus:~/Downloads# /opt/google/chrome/google-chrome
Created new window in existing browser session.
root@porteus:~/Downloads#
Application Menu if I can use all of them?
If you have put the modules in the /porteus/modules folder, as soon as they are loaded there should be automatically an entry installed in the application menuy. I am very surprised.
Prendre son temps, profiter de celui qui passe.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: How can I put various browsers in Application Menu?
Any reason you are not using the latest version? You may find many problems using modules from v3.0 with your v2.1 xfce. I recommend updating. To answer some of your questions:
1. Does Porteus allow to use one browser only?
No
2. Should I be better to put 04-files in the folder (./modules)?
Yes. They will all be loaded (at every boot) if you put them here.
3. How can I add Firefox icon on Launcher in place of Opera?
The icon on the panel is controlled by /usr/share/applications/browser.desktop
Rename the browser that you want an icon on the panel to 99-firefox.xzm. This will force it to be loaded last and it's .desktop file will take precedence, making it appear on the panel.
4. Why Chrome doesn't work?
It does work. Where did you get the module from? It's dependencies are cups and GConf.
1. Does Porteus allow to use one browser only?
No
2. Should I be better to put 04-files in the folder (./modules)?
Yes. They will all be loaded (at every boot) if you put them here.
3. How can I add Firefox icon on Launcher in place of Opera?
The icon on the panel is controlled by /usr/share/applications/browser.desktop
Rename the browser that you want an icon on the panel to 99-firefox.xzm. This will force it to be loaded last and it's .desktop file will take precedence, making it appear on the panel.
4. Why Chrome doesn't work?
It does work. Where did you get the module from? It's dependencies are cups and GConf.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
I got 04-chrome.xzm from http://dl.porteus.org/i486/current/modules/
as soon as they are loaded there should be automatically an entry installed in the application menu
That's what I expected and what it should be. This is the reason why I wrote the question.
I am surprised too.
Thank you for your help!
Code: Select all
root@porteus:~/Downloads# /opt/google/chrome/google-chrome
[2896:2896:0409/125141:ERROR:chrome_browser_main_extra_parts_gtk.cc(51)] Startup refusing to run as root.
root@porteus:~/Downloads#
Code: Select all
guest@porteus:~$ cd Downloads
guest@porteus:~/Downloads$ /opt/google/chrome/google-chrome
[2906:2927:0409/130404:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[2906:2927:0409/130404:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[2906:2906:0409/130405:ERROR:object_proxy.cc(532)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
guest@porteus:~/Downloads$
That's what I expected and what it should be. This is the reason why I wrote the question.
I am surprised too.
Thank you for your help!
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Bom dia! brokenman
Any reason you are not using the latest version?
Before using Porteus in Flash Drive I tried v3.0 LXDE and xfce CD-ROM too, but they didn't open and work. I thought this is due to my computer's specification or something.
After clicking Always fresh mode, monitor of my laptop was blinking and returned to Login: (first explanation page of starting sequence). So I decided to use Porteus v2.1.
My first three questions are solved with help and kind support of you and francois.

Any reason you are not using the latest version?
Before using Porteus in Flash Drive I tried v3.0 LXDE and xfce CD-ROM too, but they didn't open and work. I thought this is due to my computer's specification or something.
After clicking Always fresh mode, monitor of my laptop was blinking and returned to Login: (first explanation page of starting sequence). So I decided to use Porteus v2.1.
My first three questions are solved with help and kind support of you and francois.
- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
google-chrome
You need to do is to modify the last line (line 42) of the file /opt/google/chrome/google-chrome:
from:
to:
You need to do is to modify the last line (line 42) of the file /opt/google/chrome/google-chrome:
from:
Code: Select all
exec -a "$0" "$HERE/chrome" "$@"
Code: Select all
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
Prendre son temps, profiter de celui qui passe.
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Bonjour, francois!
google-chrome:
I modified the file /opt/google/chrome/google-chrome and added --user-data-dir.
After reboot, chrome opened! Bravo!
I shall give you the output of Terminal Emulator as follows:
I can't see firefox and chrome in Application Menu yet, but I can launch all three of them from Launcher at this moment.
Merci mille fois, francois!
google-chrome:
I modified the file /opt/google/chrome/google-chrome and added --user-data-dir.
After reboot, chrome opened! Bravo!
I shall give you the output of Terminal Emulator as follows:
Code: Select all
root@porteus:~/Downloads# /opt/google/chrome/google-chrome
[2557:2578:0409/232311:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[2557:2578:0409/232311:ERROR:object_proxy.cc(627)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
Failed to load x11 FrontEnd module.
[2557:2557:0409/232313:ERROR:object_proxy.cc(532)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
Merci mille fois, francois!

- francois
- Contributor
- Posts: 6501
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How can I put various browsers in Application Menu?
Good for you. 

Prendre son temps, profiter de celui qui passe.
- Obosan
- Samurai
- Posts: 114
- Joined: 28 Mar 2014, 17:02
- Distribution: Porteus v5.01 MATE
- Location: JAPAN
Re: How can I put various browsers in Application Menu?
Having solved the Problem booting to GUI caused by SiS VGA,
I started to use version 3 in place of v.2.1.
All three browsers work fine and automatically installed in the
Application Menu of v.3.0 xfce.
So my questions on the subject are all solved. Thanks a lot!
Now I am so happy to use Porteus as my main operating system,
because members of this forum helped me a lot in every way and
I like the simplicity and clean look of Porteus.
I started to use version 3 in place of v.2.1.
All three browsers work fine and automatically installed in the
Application Menu of v.3.0 xfce.
So my questions on the subject are all solved. Thanks a lot!
Now I am so happy to use Porteus as my main operating system,
because members of this forum helped me a lot in every way and
I like the simplicity and clean look of Porteus.