LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2022, 07:00 PM   #16
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705

Quote:
Originally Posted by gachub2 View Post
Open a terminal window and add the Lutris PPA with this command: $ sudo add-apt-repository ppa:lutris-team/lutris.
Next, make sure you update apt first but then install Lutris as normal: $ sudo apt update $ sudo apt install lutris.
No.
 
Old 06-29-2022, 11:51 PM   #17
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gachub2 View Post
Open a terminal window and add the Lutris PPA with this command: $ sudo add-apt-repository ppa:lutris-team/lutris.
Next, make sure you update apt first but then install Lutris as normal: $ sudo apt update $ sudo apt install lutris.
See the output below:
Code:
Matthew_Wai@MatthewWai:~$ sudo add-apt-repository ppa:lutris-team/lutris
[sudo] password for Matthew_Wai: 
Verification successful
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Uos/eagle
Matthew_Wai@MatthewWai:~$ sudo apt install lutris
[sudo] password for Matthew_Wai: 
Verification successful
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package lutris is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  net.lutris.lutris

E: Package 'lutris' has no installation candidate
Matthew_Wai@MatthewWai:~$
I ran "sudo apt update" and tried again. I got the same output.
I have already installed "net.lutris.lutris", which repeatedly displays the same error message mentioned in post #1.

Last edited by Matthew Wai; 06-29-2022 at 11:58 PM.
 
Old 06-30-2022, 12:25 AM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
This is a perfect example of an XY problem. Forget about lutris.

Install a user agent extension, set your user agent to chome on Windows. Done.

See for example https://chrome.google.com/webstore/d...jiklpkjnoahfmg
 
Old 06-30-2022, 01:00 AM   #19
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Install a user agent extension, set your user agent to chome on Windows. Done.

See for example https://chrome.google.com/webstore/d...jiklpkjnoahfmg
I have just installed it. How should I set the user agent to "Chrome on Windows"?
 
Old 06-30-2022, 01:04 AM   #20
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Matthew Wai View Post
I have just installed it. How should I set the user agent to "Chrome on Windows"?
Set it to whatever it is on the windows machine that you use to watch videos on that site.

P.S. You can check with online tools like https://dnschecker.org/user-agent-info.php

Last edited by evo2; 06-30-2022 at 01:07 AM. Reason: P.S.
 
Old 06-30-2022, 01:08 AM   #21
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Set it to whatever it is on the windows machine that you use to watch videos on that site.
I cannot find a "Set" button. Where is it?
 
Old 06-30-2022, 01:24 AM   #22
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Same as for any other extension.
Settings->Extensions->Details (in User-Agent Switcher for Chrome card)->Extension options
 
Old 06-30-2022, 01:30 AM   #23
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Same as for any other extension.
Settings->Extensions->Details (in User-Agent Switcher for Chrome card)->Extension options
I found the following list. It does not allow me to set anything under "Chrome". What should I do?
Attached Thumbnails
Click image for larger version

Name:	Custom User-Agent List.jpg
Views:	41
Size:	43.3 KB
ID:	39189  

Last edited by Matthew Wai; 06-30-2022 at 01:49 AM.
 
Old 06-30-2022, 04:07 AM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Matthew Wai View Post
I found the following list. It does not allow me to set anything under "Chrome". What should I do?
You want me to tell you how to type things into boxes?
 
Old 06-30-2022, 06:22 AM   #25
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
You want me to tell you how to type things into boxes?
I know how to type but don't know what to type.

Quote:
Originally Posted by evo2 View Post
Set it to whatever it is on the windows machine that you use to watch videos on that site.

P.S. You can check with online tools like https://dnschecker.org/user-agent-info.php
I am now running Windows, on which I can watch videos on the Chinese site. Your recommended online tool shows the following:

Code:
User Agent	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
 
Old 06-30-2022, 06:41 AM   #26
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
You want me to tell you how to type things into boxes?
What should I type into the "Indicator Flag" box shown in the screenshot below?
Attached Thumbnails
Click image for larger version

Name:	Indicator flag.jpg
Views:	14
Size:	18.8 KB
ID:	39190  
 
Old 06-30-2022, 06:50 AM   #27
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Matthew Wai View Post
What should I type into the "Indicator Flag" box shown in the screenshot below?
Whatever you like. It's just a short string for your reference. Look at the other entries.
 
Old 06-30-2022, 07:50 AM   #28
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Whatever you like. It's just a short string for your reference. Look at the other entries.
See the screenshot attached below. I have added "Google Chrome" under "Default".
However, "https://www.whatismybrowser.com/" still shows "Chrome 76 on Linux".
Attached Thumbnails
Click image for larger version

Name:	Chrome added onto the list.jpg
Views:	15
Size:	24.9 KB
ID:	39191  
 
Old 06-30-2022, 08:45 AM   #29
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Did you actually select the new user agent string that you defined or are you still using the default one?
 
Old 06-30-2022, 10:43 PM   #30
Matthew Wai
Member
 
Registered: Jul 2019
Location: China
Distribution: UnionTech OS Desktop Home (64-bit)
Posts: 200

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Did you actually select the new user agent string that you defined or are you still using the default one?
There is not a button that lets me select the new user agent string.
There is only a button that lets me delete the new user agent string.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Use Lutris To Play Windows Games On Linux (Quick Start Guide) LXer Syndicated Linux News 0 09-05-2018 04:50 PM
LXer: Chrome OS is not dead, insists Google veep in charge of Chrome OS LXer Syndicated Linux News 0 10-31-2015 05:11 AM
LXer: Google Releases Chrome 44 Stable for Windows, Mac OS X, Linux, and Chrome OS LXer Syndicated Linux News 0 07-21-2015 07:03 PM
Google Chrome New Tab Page (!)= Chrome OS Desktop Kenny_Strawn Linux - General 6 02-19-2011 05:36 PM
LXer: As Goes Chrome OS, So Goes Google's Chrome Browser LXer Syndicated Linux News 4 10-09-2010 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration