Pos1, Ende und andere Tasten auf dem Mac so wie auf dem PC nutzen

Als 99% PC-Nutzer und 1% Apple-Nutzer habe ich immer Schwierigkeiten damit, die anderen Tastatur-Verhaltensweisen des Mac bei Pos1, Ende, Page-up, Page-down usw. zu verstehen.

Zum Glück geht’s anderen auch so, und zum Glück gibt’s das kostenlose Tool Karabiner, das Euch mit ein paar Klicks zu komplett anderen Keyboard-Mappings verhelfen kann.

PC-Style Keyboard behaviour on Mac OS X

Ihr könnt auch Dinge wie Tastatur-Wiederholrate und sehr viele andere Einstellungen ändern, ohne dass Ihr Euch in die Tiefen der Bearbeitung von Textdateien begeben müsst.

 

Alternative zu TreeSize Free für Mac OS X

Unter Windows gibt’s TreeSize Free (das übrigens in der kostenlosen Version IMO besser ist als die gekaufte Version, da schlanker und übersichtlicher).

Und unter Mac OS X habe ich vorhin DiskWave gefunden, das mir als eine kostenlose Alternative, sehr gut gefallende hat.

Ankommende Suchanfragen:

  • treesize mac
  • treesize for mac
  • treesize macos
  • treesize osx
  • Mac tree size tool
  • tree size
  • tree size für osx
  • tree size mac
  • treesise mac os x
  • treesize alternative magerquark
  • treesize free mac
  • treesize free macos
  • treesize für mac

Creating a localized MonoMac application (both strings and XIB)

After I found exactly zero examples for the great MonoMac library (create OS X Mac applications in C# without the need to install Mono separately on a Mac) on how to do localization of Xcode Interface Builder XIB files, I found one discussion about that topic. With some help of the original poster Florian, I was able to bring up a solution that worked for me.

I’ve assembled an example project that you may download as a ZIP file.

While I found plenty of examples/postings on how to do localization of pure strings (through the „Localizable.strings“ files), I found none on how to do it with whole XIB files.

Basically the folder structure looks like this:

The example contains a localization for German („DE“) and a localization for Englisch (the default, „EN“). Whereas MonoMac places the XIB files (like „MainMenu.xib“ and „MainWindow.xib“) inside the root of the application, I did not manage to make the application multilingual when keeping the structure this way.

Instead, I moved all XIB files that need to be localized/translated into the „en.lproj“ folder. I also placed the strings file „Localizable.strings“ into this folder. Since I need the files for German, too, I copied them to the „de.lproj“ folder, too. Next, I double clicked the XIB files in the German folder, which launched them inside Interface Builder. I then translated them graphically inside Interface Builder, saved, switched back to Mono and was done.

After compiling the application and starting, it showed my correctly a German UI (since my Mac has the German language active) for the main menu, the elements on the main window and also the label was correctly set to the text read from the German „Localizable.strings“ file.

Things to keep in mind:

  • The „Localizable.strings“ files have to be set to the Build Type „Content“.
  • All XIB files (i.e. the English and non-English files) have to be set to the Build Type „InterfaceDefinition“.
  • I first got success after I did a „Clean“ command (right-click on the root node in the Solution Explorer tree) and then a Rebuild command. My guess is that the automatically-generated Xcode project may have interfered somewhat. Also I quit Xcode completely before doing the cleanup.
  • I am unaware if the steps I did are usually and best-practice, since it involves in copying/duplicating whole XIB files which seems to be very error-prone to me.

I’m really happy for any feedback you have for me!

Ankommende Suchanfragen:

  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1835 Da2E14beG-vpnh57wE5L14cWASUwWmzPeE9pYWF5attbemwp3RFvibBreyzIYue8 c78420bdb0af6c14beb0ee674afe5943afd8440f&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1843 sVX78vpwXmNQeqbLNCULVBLXgc_RbLQlqQF_-sJcWsasoCHYZWLtxa0BpkTTIOww b69ca09bcff8f031f39f449c64cbeef6bd8afb57&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme

Resolving error message when merging MonoMac runtime into app bundle

Currently working on my first MonoMac application I got the following long error message during app bundle merging:

Merging Mono Runtime into app bundle

/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/mmp „-minos=10.6“ -o „/Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release“ -n „ZetaUploaderMonoMac“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Core.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Xml.Linq.dll“ -a „/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/4.0/System.Drawing.dll“ -a „/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll“ „/Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.exe“

 

Unhandled Exception: System.ComponentModel.Win32Exception: ApplicationName=’gcc‘, CommandLine=‘-mmacosx-version-min=10.6 -m32 /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/driver.m -o /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/ZetaUploaderMonoMac -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include/mono-2.0   /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/libmono-2.0.a -framework AppKit -liconv‘, CurrentDirectory=“

at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String& output) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Compile () [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: ApplicationName=’gcc‘, CommandLine=‘-mmacosx-version-min=10.6 -m32 /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/driver.m -o /Users/uwe/Dropbox/Beruf/Projekte/Programmierung/ZetaUploaderMac/MonoMac/Source/ZetaUploaderMonoMac/bin/Release/ZetaUploaderMonoMac.app/Contents/MacOS/ZetaUploaderMonoMac -D_THREAD_SAFE -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include/mono-2.0   /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/libmono-2.0.a -framework AppKit -liconv‘, CurrentDirectory=“

at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0

at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.RunCommand (System.String path, System.String args, System.String[] env, System.String& output) [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Compile () [0x00000] in <filename unknown>:0

at MonoMac.Bundler.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

mmp exited with code 1

After searching through Google I found the Stack Overflow article „MonoMac Create Mac Installer results in Merging Mono Failed. FATAL UNHANDLED EXCEPTION“ which has an answer stating that the gcc tool is not installed. He also points to to another Stack Overflow answer telling how to do it.

Basically, use Xcode to download install gcc.

On my system, this actually resolved the issue.

Ankommende Suchanfragen:

  • awk group vorstellungsgespräch