Запланировать изменение темы с помощью cron

Если вы хотите полностью зашифрованную систему (/ boot excluded), вам придется установить ее с помощью «альтернативного» установщика.

http://www.ubuntu.com/download/desktop/alternative- downloads

На этапе разделения вы получите возможность выбрать что-то в соответствии с «LVM + Encryption». Если я правильно понял ваш вопрос, этот параметр предоставит вам нужную вам установку.

(Использование LVM - это разрешить разные «разделы» в пределах одного зашифрованного блока.)

1
задан 7 June 2011 в 22:19

9 ответов

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 25 May 2018 в 22:09
  • 1
    Это успешно изменяет тему metacity, но не темы GTK или иконки ... где бы я нашел команды для их изменения и как бы вставлять их в этот скрипт? – user3403 12 April 2011 в 10:01
  • 2
    Просто добавьте что-то вроде: & amp; & amp; gconftool-2 --type string --set / desktop / gnome / interface / icon_theme 'theme_name' после каждого gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dawn' – desgua 12 April 2011 в 19:35
  • 3
    Теперь он работает правильно, должен был сделать несколько настроек для скрипта, потому что у меня были некоторые названия тем, и в случае с Light One тема метафизики была фактически Equinox Evoluution Rounded – user3403 13 April 2011 в 04:31
  • 4
    -----Ницца!----- – desgua 13 April 2011 в 05:12

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 25 July 2018 в 22:14

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 26 July 2018 в 19:53

можно попробовать этот скрипт? (взято из Новой волны -Кроносом)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 2 August 2018 в 03:42

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 4 August 2018 в 19:46

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 6 August 2018 в 03:50

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos)

#!/bin/bash # Autor: Narf SS 2009 # Site: http://proyectobs.blogspot.com/ # # Este script cambia el archivo de configuración del tema metacity "New Wave Chronos" #y actualiza el tema. #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario. #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio. while [ true ] do hora=`date +%H` case "$hora" in 06|07) # Amanecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dawn' ;; 08|09|10|11|12|13|14|15|16|17|18) # Medio dia gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-light' ;; 19|20|21) # Atardecer gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-dust' ;; 22|23|24|00|01|02|03|04|05) # Madrugada gconftool-2 --type=string --set /apps/metacity/general/theme 'equinox-evolution-midnight' ;; esac sleep 1h done
0
ответ дан 7 August 2018 в 21:45

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos )

 #! / bin / bash # Автор: Narf SS 2009 # Сайт: http://proyectobs.blogspot.com/ # # Este  сценарий cambia el archivo de configuración del tema metacity «Новые волновые хроны» #y actualiza el tema.  #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario.  #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio.  while [true] do hora = `date +% H` case" $ hora "в 06 | 07) # Amanecer gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dawn  ';;  08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18) # Medio dia gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-light  ';;  19 | 20 | 21) # Atardecer gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dust' ;;  22 | 23 | 24 | 00 | 01 | 02 | 03 | 04 | 05) # Madrugada gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-midnight' ;;  esac sleep 1h done 
0
ответ дан 10 August 2018 в 09:59

Вы можете попробовать этот скрипт? (адаптировано из New Wave -Chronos )

 #! / bin / bash # Автор: Narf SS 2009 # Сайт: http://proyectobs.blogspot.com/ # # Este  сценарий cambia el archivo de configuración del tema metacity «Новые волновые хроны» #y actualiza el tema.  #Para su funcionamiento (sin modificación) debe de ser añadido a la ejecución en el inicio, #y el tema debe de estar instaldo en la carpeta ".theme" del home del usuario.  #Y por supuesto seleccionado en la apariencia del escritorio y este mismo script añadido a las aplicacioens de inicio.  while [true] do hora = `date +% H` case" $ hora "в 06 | 07) # Amanecer gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dawn  ';;  08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18) # Medio dia gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-light  ';;  19 | 20 | 21) # Atardecer gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dust' ;;  22 | 23 | 24 | 00 | 01 | 02 | 03 | 04 | 05) # Madrugada gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-midnight' ;;  esac sleep 1h done 
0
ответ дан 13 August 2018 в 16:18
  • 1
    Это успешно изменяет тему metacity, но не темы GTK или иконки ... где бы я нашел команды для их изменения и как бы вставлять их в этот скрипт? – user3403 12 April 2011 в 10:01
  • 2
    Просто добавьте что-то вроде: & amp; & amp; gconftool-2 --type string --set / desktop / gnome / interface / icon_theme 'theme_name' после каждого gconftool-2 --type = string --set / apps / metacity / general / theme 'equinox-evolution-dawn' – desgua 12 April 2011 в 19:35
  • 3
    Теперь он работает правильно, должен был сделать несколько настроек для скрипта, потому что у меня были некоторые названия тем, и в случае с Light One тема метафизики была фактически Equinox Evoluution Rounded – user3403 13 April 2011 в 04:31
  • 4
    -----Ницца!----- – desgua 13 April 2011 в 05:12

Другие вопросы по тегам:

Похожие вопросы: