Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 21 Jun 2018, 09:01
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How To Easily Make a VLC AppDir in 64bit pups
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
TecnoGuy458

Joined: 26 Jan 2015
Posts: 124
Location: Ohio

PostPosted: Thu 15 Feb 2018, 23:23    Post subject:  How To Easily Make a VLC AppDir in 64bit pups
Subject description: tested with xenialpup64. no compiling needed.
 

VLC has a lot of dependencies. and i was somewhat disappointed that xenialpup didn't include vlc. Rather than install a bazzilion dependencies and such, i decided to try an appimage of VLC.

I found one here: https://github.com/darealshinji/vlc-AppImage/releases (i chose v2.2.8 )

make executable and... it wasn't compiled with the run as root option. what to do?


Well. here is what i did:

First off, make it executable. rightclick the file and click properties, check the "exec" boxes and click "ok".

Second off, its a gen 2 appimage, so we can extract it into an appdir by running it with the --appimage-extract option.

This will create a appdir in the folder you saved the appimage in.

To run it as root. (note: you may be able to run it as spot. haven't tried it.)

Now what we need to do is make the VLC binary think we aren't running as root.
(note for xenial:, spot doesn't have fuse permissions, so appimages can't be run as spot.)

first open the appdir by rightclicking it and selecting "look inside".
then open a terminal in (your new vlc appdir)/usr/bin (e.g. /root/vlcappdir/usr/bin), and run the following sed command:

Code:
sed -i 's/geteuid/getppid/' ./vlc


after whipping up a desktop entry and doing the usual vlc configuring, it works for me on xenialpup.

Hope someone finds this useful.
Back to top
View user's profile Send private message 
corvus


Joined: 12 Jun 2015
Posts: 127
Location: In the peninsula shaped like a boot.

PostPosted: Fri 16 Feb 2018, 17:13    Post subject:    

Hi TecnoGuy458, nice tip. I prefer vlc as multimedia player.
In Xenialpup64 I extracted the Appimage in /root/my-applications/bin/ and created a desktop file (attached) in /usr/share/applications/ for a menu entry.
Thank you very much! Very Happy
vlc-2.2.8.desktop.gz
Description  fake gz
gz

 Download 
Filename  vlc-2.2.8.desktop.gz 
Filesize  1.59 KB 
Downloaded  52 Time(s) 

_________________
Hoc unum scio, me nihil scire. Socrate
Back to top
View user's profile Send private message 
TecnoGuy458

Joined: 26 Jan 2015
Posts: 124
Location: Ohio

PostPosted: Mon 19 Feb 2018, 08:39    Post subject:  

corvus wrote:
Hi TecnoGuy458, nice tip. I prefer vlc as multimedia player.
In Xenialpup64 I extracted the Appimage in /root/my-applications/bin/ and created a desktop file (attached) in /usr/share/applications/ for a menu entry.
Thank you very much! Very Happy

your welcome! it is nice having vlc media player without a bunch of dependency nonsense isn't it? Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0985s ][ Queries: 12 (0.0270s) ][ GZIP on ]