65 replies to this topic
Re: Remove unused languages? #2
Re: Remove unused languages? #3
Re: Remove unused languages? #4
Posted 25 October 2012 - 15:22
You can remove the not needed overhere - /usr/share/enigma2/po/ and here /usr/share/enigma2/countries/
But after a online update they are back, you can make a script for removing them after update.
Mine looks like this (i only want english and dutch)
But after a online update they are back, you can make a script for removing them after update.
Mine looks like this (i only want english and dutch)
cp /usr/share/enigma2/countries/missing.png /media/hdd/backup/restore/po/ cp /usr/share/enigma2/countries/en.png /media/hdd/backup/restore/po/ cp /usr/share/enigma2/countries/nl.png /media/hdd/backup/restore/po/ cp -r /usr/share/enigma2/po/en /media/hdd/backup/restore/po/lang/ cp -r /usr/share/enigma2/po/nl /media/hdd/backup/restore/po/lang/ echo "Removing obsolete Languages" rm /usr/share/enigma2/countries/*.png rm -r /usr/share/enigma2/po/* echo "Restoring NL/EN Languages back" mv /media/hdd/backup/restore/po/*.png /usr/share/enigma2/countries/ cp -r /media/hdd/backup/restore/po/lang/* /usr/share/enigma2/po/ echo "Cleaning up used files" rm -r /media/hdd/backup/restore/po/lang/*
Octagon SF8008 / TBS5530 DVB-S2/T2 T-85/1.50Mtr/3x90cm (53e 52e 51,5e 28e 25,9e 23e 19e 13e 9e 4e 1w 5w 14w)
Re: Remove unused languages? #5
Posted 25 October 2012 - 15:39
Thx so much Happysat for your input!!,
I know the script will come in handy, and I'm definitely giving it a shot, but I wanted all other languages to somehow disappear from that menu, because if they still show up and i accidentally navigate down the language selection menu, the system would green screen on me, until i put 'em back into place...
I know the script will come in handy, and I'm definitely giving it a shot, but I wanted all other languages to somehow disappear from that menu, because if they still show up and i accidentally navigate down the language selection menu, the system would green screen on me, until i put 'em back into place...
Re: Remove unused languages? #6
Re: Remove unused languages? #7
Re: Remove unused languages? #8
Posted 27 October 2012 - 11:36
opkg install enigma2-src
overkill... just get your .py file from git
http://openpli.git.s...35f2abc;hb=HEAD
raw:
http://openpli.git.s...35f2abc;hb=HEAD
Edited by atilaks, 27 October 2012 - 11:36.
Re: Remove unused languages? #9
Re: Remove unused languages? #10
Re: Remove unused languages? #11
Re: Remove unused languages? #12
Posted 27 October 2012 - 12:14
you can not remove block addlanguage but you can modify it in way similar to this
if os.path.exist(language file path ):
addlanguage
he doesn't want to remove the whole addLanguage function, he simply should remove calls to it...
just remove lines with self.addLanguage("some language",...)
be very careful with indentation
Edited by atilaks, 27 October 2012 - 12:15.
Re: Remove unused languages? #13
Re: Remove unused languages? #14
Re: Remove unused languages? #15
Re: Remove unused languages? #16
Re: Remove unused languages? #17
Re: Remove unused languages? #18
Re: Remove unused languages? #19
Re: Remove unused languages? #20
Posted 28 October 2012 - 20:09
Yes, there are many things that people can remove, saving MUCH more space than 2-3MB of languages, but one size can't fit all. Users have to figure out for themsleves what they do or don't need. I've a fair amount of extra plugins installed on my box, but removing the stuff I know I personally don't need saves me another 8MB of flash, currently have 16MB free...
Wireless modules (rt* & their coresponding firmware-* files) and samba (including kernel-module-cifs & kernel-module-smbfs) are mentioned above. In turn their related software can also be removed, enigma2-plugin-systemplugins-wirelesslan, wpa-supplicant, etc... If you don't have a motorized dish, enigma2-plugin-systemplugins-positionersetup, osdpositionsetup, etc... No cable tuner, enigma2-plugin-systemplugins-cablescan, etc..., fastscan not work for your provider, remove it, etc... etc...
--
hemi
df -h Filesystem Size Used Available Use% Mounted on /dev/root 60.0M 44.1M 15.9M 73% /
Wireless modules (rt* & their coresponding firmware-* files) and samba (including kernel-module-cifs & kernel-module-smbfs) are mentioned above. In turn their related software can also be removed, enigma2-plugin-systemplugins-wirelesslan, wpa-supplicant, etc... If you don't have a motorized dish, enigma2-plugin-systemplugins-positionersetup, osdpositionsetup, etc... No cable tuner, enigma2-plugin-systemplugins-cablescan, etc..., fastscan not work for your provider, remove it, etc... etc...
--
hemi
Edited by hemispherical1, 28 October 2012 - 20:10.
Also tagged with one or more of these keywords: enigma2, remove, language, dm800
IPTV
M3U playlist handling pluginStarted by DimitarCC, 22 Aug 2024 IPTV, M3U, Enigma2 |
|
|||
m3u/xml?Started by MatthijsNL, 18 Dec 2020 ENIGMA2 |
|
|||
dm800hd-pvrStarted by mimisiku, 12 Feb 2020 Dm800, openpli 2.1 |
|
|||
Looking for a good explanation of calculate, calibrate and allocate in positioner setup menuStarted by jeandubois, 19 Nov 2019 enigma2 |
|
|||
Bestand beschermen tegen overschrijven bij software updateStarted by mimisiku, 23 Feb 2019 Enigma2 |
|
22 user(s) are reading this topic
0 members, 21 guests, 0 anonymous users
-
Bing (1)