Fahnensymbole in Menüleiste - Speicherort

dissonanz

Mitglied
Thread Starter
Dabei seit
01.01.2009
Beiträge
130
Reaktionspunkte
1
Hallo an alle!

Weiß einer, wo die Fahnensymbole, die in der Menüleiste erscheinen zu finden sind?

attachment.php


Ich verwende ein angepasstes Tastaturlayout und bräuchte eine dieser Fahnen als ICNS, um sie zusammen mit dem Layout in ~/Library/Keyboard\ Layouts/ ablegen zu können.

Würde mich sehr freuen.


Viele Grüße
dissonanz
 

Anhänge

  • Bildschirmfoto 2012-05-10 um 08.47.18.png
    Bildschirmfoto 2012-05-10 um 08.47.18.png
    8,6 KB · Aufrufe: 392
Die sehen ähnlich auch, stimmt. Allerdings fällt das doch schon auf, da sie nicht identisch sind.
Aber irgendwo müssen die doch im System abgelegt sein, als ICNS, oder?
 
Naja, wenns Dir gar so wichtig, ist, mit EasyFind kannst Du nach ICNS suchen (versteckte Dateien und in Paketinhalten suchen) und dann alle anschauen, er findet halt bei mir 2600 Dateien, dauert also etwas das richtige rauszusuchen.
 
Ich könnte mir vorstellen, dass die Flaggen hier zu finden sind: System -> Library -> PreferencePanes -> Localization.prefPane.
Das Pref.Pane ist ja ein Paket, das man öffnen kann. Nur mag ich es nicht im laufenden Betrieb öffnen, um nachzusehen. Alternativ würde ich noch in System -> Library -> Input Methods und und Keyboard.prefPane stöbern.

Du hast doch bestimmt ein Backup oder kopierst die Pakete und öffnest sie dann.

Viel Glück
 
Vielen Dank für die Antworten!

rechnerteam, leider sind die dort nicht zu finden. Aber trotzdem danke für den Tipp!
LosDosos, werde wahrscheinlich EasyFind ausprobieren. Mal sehen, ob ich etwas finde. :)
 
Hat jemand rausgefunden, wo die Landesflaggen zu finden sind?
 
Das Pref.Pane ist ja ein Paket, das man öffnen kann. Nur mag ich es nicht im laufenden Betrieb öffnen, um nachzusehen.
Und warum nicht? Was glaubst du, was da passiert? Nur weil es im Finder als Paket dargestellt wird, ist das nichts Geheimnisvolles - bei jeder anderen Datei lässt du dir ja auch im laufenden Betrieb das Vorschauicon zeigen.
 
Hallo Schiffversenker,

ich habe damit schlicht schlechte Erfahrungen gemacht. Ein vom System im laufenden Betrieb verwendetes Paket kann man öffnen. Wenn man Pech hat und das System just in dem Moment darauf zugreifen will, kann es beschädigt werden. Das hat mit Geheimnisvoll rein gar nichts zu tun.
 
Wenn man Pech hat und das System just in dem Moment darauf zugreifen will, kann es beschädigt werden.
Das halte ich für schlichtweg unmöglich. OSX ist gerade dafür ausgelegt, dass auf Dateien mehrfach zugegriffen werden kann. Ich mache das den ganzen Tag lang und es ist natürlich auch noch nie etwas passiert.
Gefunden habe ich die Fahnenicons aber immer noch nicht.
 
Ich habe es eben auch probiert, Pakete aus der Library des Systems geöffnet und alles war und bleibt okay. Ist auch schon laaaange her, dass mir das passiert ist. War 10.2, könnte auch 10.1 gewesen sein. Das hat mich "geprägt" und nun habe ich was gelernt. Danke dafür.

Diese Flaggenicons scheinen ein anderes Format zu haben. Wenn ich in die Suche >icns< + >systemdateien einschließen< + >sichtbar und unsichtbar< eingebe (unter 10.6.8) erscheinen jede menge Icons, aber keine Flaggen, auch keine aus iChat.

Aber Code, Beispiel Auszug aus "TextInputSources.h":

Code:
How these keys are used depends on the type of input source, as described
*   below.
*
*   1. Keyboard layouts ( in <domain>/Library/Keyboard Layouts/ )
*
*   Keyboard layouts packaged in bundles use either a resource file or a set of
*   xml keylayout files together with optional icns files. The following example
*   shows the two methods of packaging a set of two key layouts in Unicode 'uchr'
*   format with key layout names "MyLayoutOne" and "MyLayoutTwo" and corresponding
*   numeric IDs -9001 and -9002 (see Tech Note 2056).
*
*   MyKeyboardLayouts.bundle/
*       Contents/
*           Info.plist
*           version.plist
*           Resources/
*               MyKeyboardLayouts.rsrc, containing the following resources:
*                   resources 'uchr' (-9001, "MyLayoutOne"), 'kcs#' (-9001), 'kcs4' (-9001)
*                   resources 'uchr' (-9002, "MyLayoutTwo"), 'kcs#' (-9002), 'kcs4' (-9002)
*               en.lproj/InfoPlist.strings, maps "MyLayoutOne" & "MyLayoutTwo" to localized names
*               ja.lproj/InfoPlist.strings, maps "MyLayoutOne" & "MyLayoutTwo" to localized names
*               ...
*
*   MyKeyboardLayouts.bundle/
*       Contents/
*           Info.plist
*           version.plist
*           Resources/
*               MyLayoutOne.keylayout, specifying name="MyLayoutOne" and id=-9001
*               MyLayoutOne.icns (optional)
*               MyLayoutTwo.keylayout, specifying name="MyLayoutTwo" and id=-9002
*               MyLayoutTwo.icns (optional)
*               en.lproj/InfoPlist.strings, maps "MyLayoutOne" & "MyLayoutTwo" to localized names
*               ja.lproj/InfoPlist.strings, maps "MyLayoutOne" & "MyLayoutTwo" to localized names
*               ...
*
*   In the Info.plist file, the value for the CFBundleIdentifier key must be a
*   string that includes ".keyboardlayout."; typically this might be something
*   like "com.companyname.keyboardlayout.MyKeyboardLayouts" (Before Leopard,
*   it was required to be a string that began "com.apple.keyboardlayout", even
*   for keyboard layouts not supplied by Apple).
*
*   A dictionary of properties for each key layout in the bundle should be
*   provided using a key of the form "KLInfo_keylayoutname" (even if
*   keylayoutname includes spaces or punctuation). This dictionary is where to
*   specify the keys "TISInputSourceID" and "TISIntendedLanguage" and their
*   associated values.
*
*   "TISInputSourceID" note: For keyboard layouts this should typically be
*   something like "com.companyname.keylayout.keylayoutname". If this key is
*   not specified, an InputSourceID will be constructed by combining
*   bundleID + ". keylayout." + keylayoutname.
*
*   If the keyboard layouts in the above example were intended to input
*   Azerbaijani in Latin script, then the Info.plist entries could be:
*
*       <key>KLInfo_MyLayoutOne</key>
*       <dict>
*           <key>TISInputSourceID</key>
*           <string>com.companyname.keylayout.MyLayoutOne</string>
*           <key>TISIntendedLanguage</key>
*           <string>az-Latn</string>
*       </dict>
*       <key>KLInfo_MyLayoutTwo</key>
*       <dict>
*           <key>TISInputSourceID</key>
*           <string>com.companyname.keylayout.MyLayoutTwo</string>
*           <key>TISIntendedLanguage</key>
*           <string>az-Latn</string>
*       </dict>

Davon gibt es einige Files. Vielleicht hilft es, den Flaggen auf die Spur zu kommen. Ich habe von Xcode keine Ahnung.
 
Zurück
Oben Unten