summaryrefslogtreecommitdiff
path: root/recipes/images/shr-lite-image/etc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/shr-lite-image/etc')
-rw-r--r--recipes/images/shr-lite-image/etc/htoprc21
-rw-r--r--recipes/images/shr-lite-image/etc/logrotate.d/50freesmartphone11
-rwxr-xr-xrecipes/images/shr-lite-image/etc/profile.d/elementary.sh4
3 files changed, 36 insertions, 0 deletions
diff --git a/recipes/images/shr-lite-image/etc/htoprc b/recipes/images/shr-lite-image/etc/htoprc
new file mode 100644
index 0000000000..e7bb5b7879
--- /dev/null
+++ b/recipes/images/shr-lite-image/etc/htoprc
@@ -0,0 +1,21 @@
+# Beware! This file is rewritten every time htop exits.
+# The parser is also very primitive, and not human-friendly.
+# (I know, it's in the todo list).
+fields=39 46 47 49 1
+sort_key=46
+sort_direction=1
+hide_threads=0
+hide_kernel_threads=1
+hide_userland_threads=0
+shadow_other_users=0
+highlight_base_name=0
+highlight_megabytes=1
+tree_view=0
+header_margin=0
+detailed_cpu_time=1
+color_scheme=0
+delay=15
+left_meters=AllCPUs Memory
+left_meter_modes=1 1
+right_meters=Tasks LoadAverage Uptime
+right_meter_modes=2 2 2
diff --git a/recipes/images/shr-lite-image/etc/logrotate.d/50freesmartphone b/recipes/images/shr-lite-image/etc/logrotate.d/50freesmartphone
new file mode 100644
index 0000000000..2d3fb8196f
--- /dev/null
+++ b/recipes/images/shr-lite-image/etc/logrotate.d/50freesmartphone
@@ -0,0 +1,11 @@
+/var/log/frameworkd.log {
+ rotate 5
+ weekly
+ compress
+}
+
+/var/log/ophonekitd.log {
+ rotate 5
+ weekly
+ compress
+}
diff --git a/recipes/images/shr-lite-image/etc/profile.d/elementary.sh b/recipes/images/shr-lite-image/etc/profile.d/elementary.sh
new file mode 100755
index 0000000000..da435964a7
--- /dev/null
+++ b/recipes/images/shr-lite-image/etc/profile.d/elementary.sh
@@ -0,0 +1,4 @@
+export ELM_ENGINE=x11
+export ELM_THEME=default
+export ELM_SCALE=2
+export ELM_FINGER_SIZE=70