Changes

Jump to: navigation, search

Funtoo Profiles

2,671 bytes added, 4 years ago
no edit summary
{{#widget:AddThis}}
__TOC__
 
This page covers the Funtoo Linux profile system -- how it works, what profiles are available, and how to use [[#Using epro|{{c|epro}}]] to set and change profile settings.
{{2Col|{{c|mix-ins}}|Zero or more mix-ins can be enabled that enable settings specific to a particular subset of features, such as {{c|gnome}}, {{c|kde}}, {{c|media}}, {{c|mate}}, {{c|X}}, {{c|hardened}}.}}
{{TableEnd}}
 
=== Using epro ===
 
Remember that profiles can often be inherited. For example, the <code>desktop</code> flavor inherits the <code>workstation</code> flavor settings, which in turn inherits the <code>X</code> and <code>audio</code> mix-ins. You can view this by using {{c|epro}}:
 
{{console|body=
# ##i## epro show
 
=== ##g##Enabled Profiles##!g##: ===
 
arch: ##c## x86-64bit
build: ##c## current
subarch: ##c## intel64-haswell
flavor: ##c## desktop
mix-ins: ##c## gnome
 
 
=== ##g##All inherited flavors from desktop flavor##!g##: ===
 
##c##workstation (from desktop flavor)
##c##core (from workstation flavor)
##c##minimal (from core flavor)
 
=== ##g##All inherited mix-ins from desktop flavor##!g##: ===
 
##c##X##!c## (from workstation flavor)
##c##audio##!c## (from workstation flavor)
##c##dvd##!c## (from workstation flavor)
##c##media##!c## (from workstation flavor)
##c##mediadevice-audio-consumer##!c## (from media mix-in)
##c##mediadevice-base##!c## (from mediadevice-audio-consumer mix-in)
##c##mediadevice-video-consumer##!c## (from media mix-in)
##c##mediadevice-base##!c## (from mediadevice-video-consumer mix-in)
##c##mediaformat-audio-common##!c## (from media mix-in)
##c##mediaformat-gfx-common##!c## (from media mix-in)
##c##mediaformat-video-common##!c## (from media mix-in)
##c##console-extras##!c## (from workstation flavor)
##c##print##!c## (from desktop flavor)
}}
 
To view available profiles:
{{console|body=
# ##i## epro list
}}
 
Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have an asterisk {{c|*}} appended. Sub-profiles enabled via inheritance will be highlighted.
 
==== Usage Examples ====
 
{{TableStart}}
{{2Col|Add the mix-ins {{c|gnome}} and {{c|kde}}|{{console|body=# ##i## epro mix-ins +gnome +kde}}}}
{{2Col|Remove a mix-in, for example {{c|gnome}}|{{console|body=# ##i## epro mix-ins -gnome}}}}
{{2Col|Change the profile arch to x86-64bit|{{console|body=# ##i## epro arch x86-64bit}}}}
{{2Col|Change the subarch to {{c|generic_64}}|{{console|body=# ##i## epro subarch generic_64}}}}
{{2Col|Change the system flavor|{{console|body=# ##i## epro flavor desktop}}}}
{{2Col|Get JSON output of profile settings|{{console|body=# ##i## epro show-json}}}}
{{2Col|Get current sub-profile setting in text form|{{console|body=# ##i## epro get [profiletype]}}}}
{{TableEnd}}
 
== Flavors ==
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,333
edits

Navigation menu