LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   finding out what something is called in the repository(s) (https://www.linuxquestions.org/questions/bodhi-92/finding-out-what-something-is-called-in-the-repository-s-4175666286/)

rrashkin 12-20-2019 07:26 AM

finding out what something is called in the repository(s)
 
Hi.
I have Chromium and I'm generally happy with it but there are times when some site insists on Chrome. Thinking about that, it occurs to me that I don't know the name of the package in the repositories. Is there a way to find out what a package is called?

sevendogsbsd 12-20-2019 07:34 AM

So, Chromium is the open source version of Chrome, where Chrome starts before Google "googlefies" it. Same browser engine, same basic everything, all written by Google.

Not a Bhodi user but just try searching for "chrome" and see what you get. Most package managers provide pretty good search capabilities.

rrashkin 12-20-2019 09:21 AM

Thanks for responding @sevendogsbsd.
I understand that but there are some things still that won't work. For example, one of my banks won't let me access my account with Chromium. The message says they support Chrome, Safari, IE (!!), Firefox,... I have another platform with Firefox on it but I wanted Chromium on my laptop. I know I could have both but it seems a bit of a bloat. It's no big deal but I was considering replacing Chromium with Chrome for convenience. It's seeming less convenient.

sevendogsbsd 12-20-2019 09:29 AM

Probably the browser user agent doing that. Chromium identifies itself as (probably) chromium and not chrome and certain web site require/ask for specific browsers by reading the user agent sent by your browser.

So, you can probably update the user agent in Chromium to simulate "chrome" or maybe download chrome for Linux in a package format your distro uses. I have never installed. Chrome on Linux so can't speak to that.

cordx 12-21-2019 12:55 AM

i tried apt list chrome* and apropos chrome* and neither came back with anything that looked like the browser. i haven't used it with bodhi or in linux either. it looks like you might have to grab the deb and install it with dpkg or gdebi: https://itsfoss.com/install-chrome-ubuntu/

teckk 12-21-2019 08:03 AM

Change your user agent

https://www.maketecheasier.com/chang...-firefox-edge/
https://winaero.com/blog/change-user-agent-chrome/
https://chrome.google.com/webstore/d...jiklpkjnoahfmg

Chrome also has switches for that.
Code:

--user-agent
--enable-request-tablet-site
--use-mobile-user-agent

Code:

agent="Mozilla/5.0 (Windows NT 10.1; x86_64; rv:69.0) Gecko/20100101 Firefox/69.0"

chrome --user-agent "$agent" http://somewhere.com


rrashkin 12-21-2019 09:53 AM

Thanks. Very helpful.


All times are GMT -5. The time now is 06:52 PM.