Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread masonhock

Startpage appears to be fully functional without JavaScript. Cool!


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread masonhock
If you are new to GNU/Linux it is easy to be confused about the difference  
between the operating system and the desktop environment, because Window$ and  
macOS don't offer multiple desktop environments. You can think of the DE as  
the graphical interface over the underlying OS.


LXDE (the default DE in Trisquel Mini) and Gnome Classic (the default in  
Trisquel) are both included in the Trisquel repository, along with XFCE, KDE  
Plasma, Gnome 3, Enlightenment, and many others. You can install and use  
whichever one you want, regardless of which one is installed by default.


If you want to try Trisquel's default DE, as some here have suggested, there  
is no need to install regular Trisquel. Within Trisquel Mini, you can install  
the DE with


$ sudo apt install trisquel trisquel-recommended

To try it out, log out, click on the little icon near your name, select the  
DE you want to use, and log in.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

Cheers m8


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn
I'm fairly sure I tried to spam all the F combos that exist in desperate  
attempt to achieve something at all, but I'll keep that in mind till next  
time.


Allright, gonna be AFK this evening and possible tomorrow also, but I'll try  
to get to this SMART stuff in reasonable near future, cheers and thank you!  
:)


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread enduzzer

What about Startpage, then?

https://www.startpage.com/do/search?cat=video=process_search=english=trisquel=air=


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread masonhock
The JavaScript version of DuckDuckGo is non-free, and the HTML version does  
not have video search feature.


YouTube's JavaScript is also non-free.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

I see! :) cheers m8! I misunderstood your message, pardon.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread masonhock
Minitube no longer works unless it is compiled with a Google API key that you  
can only get with a Google account and would presumably identify you to  
Google every time you watch a video with your build.


If you have a 64-bit machine with Debian or Trisquel you could try the  
binaries from the developer, which I guess if it works must use his own key.  
https://flavio.tordini.org/minitube


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread enduzzer
What's the point going to Youtube? I dunno. You decide. I gave an option to  
watch it out of the browser and download, all on your own volition. I thought  
you had trouble watching vids.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn
Btw, on StartPage.com it says "enhanced by Google". What does that mean? Are  
they some sort of daughter company?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

I see.

How do I "open /var/log/syslog" in leafpad? :)

I didn't quite understand what you meant by your text session tips. I tried  
alt+F2, but that didn't work. The screen was all semi-frozen, I could move  
the mouse, but it was moving slowly and laggy.
And when I did the ctrl+alt+F1 I got just texts and texts and texts (I  
could've read the text perhaps and I might have found something, but I didn't  
do that unfortunately). I could exit back to the desktop, but it was all  
frozen again.

ctrl+alt+F2 does the exact same thing as ctrl+altF1 though, doesn't it?


Yeah, sure, maybe I'll try the memtests86+ tonight or tomorrow, that sounds  
like a good idea. I'm using a MacBook Pro 9.1, so I would not be surprised if  
many issues can be sourced to that.



What is "self-testing" hard drives? :) what am I testing for?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn
For some strange reason I was not able to install regular Trisquel, but  
Trisquel Mini worked :/


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

Nice!


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

Yeah, I had no luck with minitube either :/


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

What's the point then if I have to go to youtube.com to get the url?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread Ignacio Agulló
On 30/12/17 11:15, wrote:
> mpv https://youtu.be/tIecaLF_-x4

 Sought in the Trisquell Install/Remove menu, found the desktop
application "Minitube" which claims to show YouTube videos and thus
seemed to be the easiest way to watch them, installed it, opened it...
but I tried to enter a keyword, I got this result:

Error downloading
http://gdata.youtube.com/feeds/api/videos/?v=2=10=1=free%20software
- server replied: Gone

-- 
Ignacio Agulló · agu...@ati.es



0xC6AB2D51.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread David Philipe Gil
If you use StartPage.com , do a search by video and there is a copy link option 
on any video you click on. Paste that link in and your golden. No need to go to 
Youtube.

>  Original Message 
> Subject: Re: [Trisquel-users] youtube-viewer won't play videos
> Local Time: December 30, 2017 5:39 AM
> UTC Time: December 30, 2017 10:39 AM
> From: svenerik...@protonmail.com
> To: trisquel-users@listas.trisquel.info
>
> Cool! Both of those methods worked like a charm :)
>
> Only problem with this method is, how do I browse to know what url I want ?
> :P

Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread enduzzer

Search, right-click get URL (link location). Or Youtube video, copy link.

Basically, just like you would find any other URL or website.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

Cool! Both of those methods worked like a charm :)

Only problem with this method is, how do I browse to know what url I want ?  
:P


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread enduzzer

Go with the default Trisquel DE.

Install mpv

sudo apt install mpv

Then launch mvp with URL (links to a Trisquel video on Youtube)

mpv https://youtu.be/tIecaLF_-x4

Or install youtube-dl.

sudo apt install youtube-dl

And download most videos.

youtube-dl https://youtu.be/tIecaLF_-x4


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-30 Thread svenerik_vn

Thank you anyway for all the help and guidance, much appreciated!:)

I tried copying the url into the "open network stream" in vlc, and then I got  
this message again "insecure something" and I had two options again, either  
to "check verification" or something and "abort". And then only the audio of  
the video starting playing again, like had happened before. But then  
something new happened. The whole pc kinda froze, it didn't completely  
freeze. I could move the mouse, and I could enter ctrl+alt+F1, but when I got  
there it was just ouputting lines and lines and lines of text and I couldn't  
do any commands. So I forced my pc to shut down, and when I turned it back on  
I couldn't use Midori browser again. So I guess it's time to wipe hard disk  
and reinstall again :P a man's gotta do what a man's gotta do, right? :P


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
Sorry, I'm running out of ideas. I've had no problems with youtube-viewer in  
Trisquel 8 and never used it in Trisquel 7.


For now, you could just use gtk-youtube-viewer for searching, right click on  
the video you want to play, select 'more details', copy the URL and paste it  
into vlc. 


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
So I did that and tried to run youtube-viewer from terminal again, and it  
didn't work :/


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

Okay, that means you already had Python 3 installed.

Try switching to a different player with > set player name-of-the-player

Repeat until one of them works or you've tried all of the players you have  
installed. I'm running out of ideas.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn

oops


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
Hm. Perhaps this package is not in the Trisquel 7 repo. I don't know if  
that's the problem because I don't know what the package does. Let's remove  
that one from the list of packages we are installing and see if we can  
install everything else.


$ sudo apt install liblwp-protocol-https-perl libtext-charwidth-perl  
libterm-readkey-perl libencode-perl mpv vlc wget


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

I think you forgot to attach the screenshot.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn

Did that and got this (see screenshot)

than I tried again to search and play.

And it opened in VLC after I gave it permission, but it was only audio :/


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn

Gotcha!

I typed that and got this (see screenshot)


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
To clarify, 'apt update' updates the repository to see if upgrades are  
available. 'apt upgrade' installs any available upgrades.


In the comment you refer to, I suggested running both commands because you  
had already installed youtube-viewer and I wasn't sure if it was the latest  
version. Here, ran 'apt-update' before installing youtube-viewer, so it was  
already the latest version.


Running 'apt upgrade' installs all upgrades for programs you have installed,  
not just youtube-viewer, which is why you might get message related to other  
upgrades, like the grub config file.


youtube-viewer has some recommended and suggested packages. It's generally  
not a good idea to install all of them because you might end with a bunch of  
crap you don't need, but it's possible that I have one installed that you  
don't and that is why it works for me and not you, so let's install the ones  
I have installed and see if that helps.


$ sudo apt install liblwp-useragent-chicaching-perl  
liblwp-protocol-https-perl libtext-charwidth-perl libterm-readkey-perl  
libencode-perl mpv vlc wget


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread leestrobel
Yes, I have done that. I also tried smplayer and that didn't work for  
streaming either. Actually, when I try to stream, some sort of error flashes  
past on the input line, but it's so quick I can't read it. Is there some way  
I can output that, or does it get logged somewhere?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
Oh yeah, I can see why this is getting confusing when I'm jumping from thread  
to thread like this.


I was referring to your guidance in installing the youtube-viewer where you  
mention in this comment:


https://trisquel.info/en/forum/custom-building-and-water-cooling-free-world#comment-125063

that I should:

1. $ sudo add-apt-repository ppa:nilarimogard/webupd8

2. $ sudo apt update

3. $ sudo apt install youtube-viewer

4. $ sudo apt upgrade

I'm sorry about the jumping from thread to thread and hastily creating new  
posts.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
It's supposed to be a GUI thingy where you can search, browse, download and  
stream youtube videos according to mason.


But I am struggling to get the streaming part going. But I was able to  
download a video and play it in VLC, so I got that goin' for me, which is  
nice :)


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread greatgnu

hehe, but I still have no idea what youtube-viewer is.. :P


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

Your question about the grub config file was unrelated to youtube-viewer.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

I see, thanks.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
So I was asking for a recommendation in regards to get the youtube-viewer up  
and running :)


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread greatgnu
The message is saying that you have a manually modified grub configuration  
file. In the past you made a change, you added something probably. Now the  
new version of the package associated with such configuration file is asking  
you if you want it to overwrite the file you modified or keep it.


To keep it - keep..
to overwrite it - install..


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread greatgnu

>sudo pip3 install mps-youtube

giving sudo is absolutely not necessary. Recent versions of of pip without  
sudo will just rightly assume we want to do a local installation, which  
requires us giving no root privileges to nothing.. files will get written in  
.local. A .bashrc line to include such path will also be added automagically.  
If not, if you are on an older version, just use the option '--user' and add  
the path to .bashrc





Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
So I dud all the steps over again and after the terminal had worked long and  
hard at the "sudo apt upgrade" command it showed this thing as attached  
screenshot, what does this actually mean and what do you recommend here?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
It could be that you're using Python 2 and mps-youtube expects 3. Install  
Python 3


$ sudo apt install python3

and try again.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
awesome, it worked all the way till I was typing 1 and enter to play the  
first video.


Screenshot of the last bit of the terminal output


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn

awesome! :D


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

[code]this is code[/code]

Change '[' and ']' to '' and you get

this is code


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
Okay, assuming you typed it correctly it might only be in the Trisquel 8  
repo. You might have to install it via pip as suggested, but it really isn't  
too hard.


$ sudo apt install python3-pip
$ sudo pip3 install mps-youtube

Then follow the instructions in my previous comment starting with$ mpsyt


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
Can I ask how you get those nice yellow boxes for in your comments that you  
use to highlight terminal commands?


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
Hmm, I got "E: Unable to loacte package" when I tried installing it through  
LXTerminal


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
Did you already set mps-youtube's default player to mpv with> set player mpv?  
If so, try a different player. When I tried mpv I only got audio, no video. I  
then tried vlc which worked.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock
If you still want to try to get youtube-viewer working, run it from a  
terminal$ gtk-youtube-viewerattempt to play a video, and copy/paste any  
errors you get here.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread masonhock

It is in the repo.$ sudo apt install mps-youtube

It has a cli. Start it with$ mpsytset its video player to vlc with> set  
player vlcsearch for 'query' with> .queryand play the nth result with> n


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-29 Thread svenerik_vn
Hm, I think I'll try to mainly stick to applications that are obtainable  
through repo or package manager for now :) thanks though!


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-28 Thread leestrobel
I don't seem to be able to stream vids with mps-youtube and I'm not quite  
sure what the problem is. Downloading and playing videos separately with mpv  
works fine. When I try to stream, I get a bunch of Python errors. I've tried  
re-installing the Python packages that seem relevant, but it didn't help.


Re: [Trisquel-users] youtube-viewer won't play videos

2017-12-28 Thread greatgnu
An easy and efficient way to search, browse, download and view youtube vids  
is you use mps-youtube.


https://github.com/mps-youtube/mps-youtube