Как заставить Compiz запуститься автоматически?

Я не нахожу много документации для USN + ntfs-3g, но просматриваю ntfs-3g источники, в include/ntfs-3g/layout.h, я нашел следующее:

/**
 * struct NTFS_RECORD -
 *
 * The Update Sequence Array (usa) is an array of the u16 values which belong
 * to the end of each sector protected by the update sequence record in which
 * this array is contained. Note that the first entry is the Update Sequence
 * Number (usn), a cyclic counter of how many times the protected record has
 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All
 * last u16's of each sector have to be equal to the usn (during reading) or
 * are set to it (during writing). If they are not, an incomplete multi sector
 * transfer has occurred when the data was written.
 * The maximum size for the update sequence array is fixed to:
 *    maximum size = usa_ofs + (usa_count * 2) = 510 bytes
 * The 510 bytes comes from the fact that the last u16 in the array has to
 * (obviously) finish before the last u16 of the first 512-byte sector.
 * This formula can be used as a consistency check in that usa_ofs +
 * (usa_count * 2) has to be less than or equal to 510.
 */
typedef struct {
      NTFS_RECORD_TYPES magic;/* A four-byte magic identifying the
                           record type and/or status. */
      u16 usa_ofs;            /* Offset to the Update Sequence Array (usa)
                           from the start of the ntfs record. */
      u16 usa_count;          /* Number of u16 sized entries in the usa
                           including the Update Sequence Number (usn),
                           thus the number of fixups is the usa_count
                           minus 1. */
} __attribute__((__packed__)) NTFS_RECORD;

(См. также: поле USN STANDARD_INFORMATION структуры)

Так, по-видимому, они используют USNs, но я не знаю надлежащий способ достигнуть их. Я запустил бы путем взгляда на то, как NTFS_RECORD используется, и попытайтесь работать выход API оттуда.

2
11.05.2012, 15:18
2 ответа

Измените gconf ключ с

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz

Можно вернуться к Метагородскому менеджеру окон Gnome по умолчанию с

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm

Если это перестало работать, можно просто добавить compiz - замена к приложениям запуска. Назовите запись, что Вы хотите, даете ему безотносительно описания, которое Вы хотите, но делаете команду

compiz --replace

Источник: http://wiki.debian.org/Compiz#Start_compiz_instead_of_the_default_Gnome_Window_Manager

2
27.01.2020, 22:15
  • 1
    В случае, если кто-либо еще заканчивает с той же проблемой и находит этот вопрос, что делает та команда? Та информация помогла бы другим понять не, что сделать, но также и почему она работает для решения проблемы. –  killermist 25.06.2012, 05:22
  • 2
    Все еще любопытный, что та команда делает, который делает ее полезным ответом на вопрос, который Вы задали. необходимое объяснение –  killermist 08.07.2012, 20:09
  • 3
    @killermist, что Вы думаете об этом теперь? –  Zignd 09.07.2012, 20:09
  • 4
    Намного лучше. Я должен буду не забыть возвращаться и давать ему +1, когда у меня есть больше голосов снова. Я думаю, что всегда лучше знать, почему что-то работает, чем просто иметь шаги. Спасибо за расширение его. –  killermist 09.07.2012, 20:57
  • 5
    @killermist Спасибо, не забывайте голосование –  Zignd 10.07.2012, 15:33

Измените gconf ключ с

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager compiz

Можно вернуться к Метагородскому менеджеру окон Gnome по умолчанию с

gconftool-2 --type string --set /desktop/gnome/session/required_components/windowmanager gnome-wm

Если это перестало работать, можно просто добавить compiz - замена к приложениям запуска. Назовите запись, что Вы хотите, даете ему безотносительно описания, которое Вы хотите, но делаете команду

compiz --replace

Источник: http://wiki.debian.org/Compiz#Start_compiz_instead_of_the_default_Gnome_Window_Manager

2
27.01.2020, 22:15

Теги

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