summaryrefslogtreecommitdiff
path: root/HACKING
blob: ac09e1863fe2defda6550c5af3cb6bafd7cb7c84 (plain)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 
Notes on unity development: Quicklist desktop file specification: Adding a new quicklist entry requires modifiying the desktop file of the application the quicklist belongs to. You will need to create a new group named Quicklist Entry UID, with UID being a unique id (in the scope of the desktop file). An example follows: [Desktop Entry] ... ... ... [QuickList Entry 1] Name=FooBar Action Exec=foobar --thingone [QuickList Entry 2] Name=FooBar Second Action Exec=foobar --thingtwo [QuickList Entry 3] Name=FooBar Third Action Exec=foobar --thingthree Name and Exec follow standard Desktop file specifications and can be translated in the same mannar as standard desktop files. Bootperformance Logging: To enable boot performance logging, set the environment variable UNITY_BOOTLOG_FILENAME to a path to the log file and make sure unity is built with --enable-testing. eg: UNITY_BOOTLOG_FILENAME=/tmp/unity.log unity -p you can then produce a bootchart with this by running the tools/makebootchart.py script: ./tools/makebootchart.py --input=/tmp/unity.log --output=/tmp/unity.svg