Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
81ef3a86
Commit
81ef3a86
authored
Jun 18, 2020
by
Dmitriy Terekhin
Committed by
Anton Midyukov
Aug 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm-rpi4: Set celluloid as default video player
parent
6d015586
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
config.mk
features.in/arm-rpi4/config.mk
+2
-1
81-mplayer-to-celluloid-in-mimeapps
...-rpi4/image-scripts.d/81-mplayer-to-celluloid-in-mimeapps
+15
-0
No files found.
features.in/arm-rpi4/config.mk
View file @
81ef3a86
...
...
@@ -17,6 +17,7 @@ endif
@$(call add,DEFAULT_SERVICES_ENABLE,attach-bluetooth)
use/arm-rpi4/x11: use/arm-rpi4 \
use/browser/firefox/i18n use/browser/firefox/esr; @:
use/browser/firefox/i18n use/browser/firefox/esr
@$(call add,THE_PACKAGES,celluloid celluloid-csd-disabled)
endif
features.in/arm-rpi4/image-scripts.d/81-mplayer-to-celluloid-in-mimeapps
0 → 100755
View file @
81ef3a86
#!/bin/sh -efu
# Change the default application for all file types from mplayer to celluloid
cfile
=
"/usr/share/applications/io.github.celluloid_player.Celluloid.desktop"
mimeappsfile
=
"/usr/share/applications/mimeapps.list"
mimeappslocalfile
=
"/etc/skel/.config/mimeapps.list"
if
[
-f
"
$cfile
"
-a
-f
"
$mimeappsfile
"
]
then
echo
"[Default Applications]"
>
"
$mimeappslocalfile
"
sed
'/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/'
"
$mimeappsfile
"
>>
"
$mimeappslocalfile
"
echo
""
>>
"
$mimeappslocalfile
"
echo
"[Added Associations]"
>>
"
$mimeappslocalfile
"
sed
'/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/'
"
$mimeappsfile
"
>>
"
$mimeappslocalfile
"
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment