Posts Tagged “terminal”
Aug
30
2008
Aug
11
2008
Keyboard & Mouse Sharing mit SynergyPosted by: fidel in Applications, How to, _deutsch, linux, mac, windowsAusgangssituation:Ich verwende @work zwei Rechner als Hauptarbeitsplatz
Nun ist es ziemlich lässtig immer zwischen 2 Mäusen und 2 Keyboard hin und her zu springen. Die Verwendung von VNC oder Konsorten um einen der beiden Rechner vom anderen zu steuern wäre zwar ein möglicher Weg, jedoch verliere ich dann wieder gefühlt Arbeitsfläche, da ich Teile meiner Monitore dann nicht verwende und auf anderen Teilen meiner Monitore mehrere Betriebssysteme gleichzeitig anzeigen muss. Tags: 10.5, dual monitor, keyboard sharing, launchagents, linux, mouse sharing, multi-desktop, share mouse between mac os x and windows, synergy, synergykm, terminal, vista, vnc
Jul
30
2008
System-Monitoring Beispiele mit GeektoolPosted by: fidel in Applications, How to, Terminal, _deutsch, images, macÜber Geektool bin ich schon vor langer Zeit mal gestolpert, dachte klingt interessant das ganze und dann lief es wie es so oft läuft …. man vergisst es wieder. Neulich bin ich durch Zufall mal wieder darauf gestoßen habe den ersten Praxistest gemacht. Ersteindruck ist schlichtweg perfekt. Im Kern handelt es sich bei Geektool um ein kleines PrefPane welches es dem User ermöglicht bestimme Informationen direkt auf dem Desktop anzeigen zu lassen. Geektool unterscheidet hier 3 Kategorien:
Die Kategorie Picture macht dann Sinn, wenn man sich regelmässig ein Bild einer Web-Cam o.ä anzeigen lassen will. Das gleiche würde natürlich auch mit automatisch generierten Server-Log Grafiken funktionieren. Daher sowohl für Heim wie auch Firmen-Anwender interessant. Die Kategorie File habe ich bis dato nicht wirklich gross getestet, aus dem einfachen Grund dass mir noch kein brauchbares Beispiel eingefallen ist, welches ich permanent auf dem Desktop sehen will. Könnte man aber z.b. für ToDo Listen o.ä verwenden. Die Kategorie Shell hat sich als meine Spielweise herausgestellt. Ich kann mir damit relativ zyklisch aktualisierende Systeminformationen auf meinem Desktop anzeigen lassen, ohne das diese an sich anklickbar sind, d.h. das ganze ist letzlich wirklich wie ein Teil des Wallpapers… nur eben ein lebender Teil =) Die Hauptübersicht in GeekTool: Beispiele: 1. df - Anzeigen bzgl der Laufwerksbelegung:
2. top - Anzeigen der Resourcenfresser
3. Uptime
4. Netzwerk
Und so in etwa sieht mein linker Monitor nun aus (klick zwecks Vergrößerung): Fazit: Auf der Projektseite gibt es keine Angabe zur Kompatibilität mit 10.5, nur 10.4 & 10.3 sind erwähnt. Geektool läuft auf den ersten Eindruck fehlerfrei unter 10.5.4 (auf 2 Rechnern getestet) und hat sich für mich innerhalb von 2 Tagen als absolutes Muss auf meinen Macs rausgestellt. Wer gerne mit dem Terminal rumspielt und etwas minimales Monitoring mag, sollte sich das Programm auf jeden Fall ansehen. Mich würde eigentlich noch interessieren wer das Tool im Alltag noch so verwendet und ggf. für was. Denke mir sind bis dato viele gute Anwendungsideen noch gar nicht in den Sinn gekommen, daher hier der Aufruf Links: Tags: 10.3, 10.4, 10.5, applications, bash, desktop, geektool, image, logs, monitoring, pimp, scripting, shell, terminal
Jul
27
2008
Configure power-management settings in Mac OS X with pmsetPosted by: fidel in Applications, Terminal, _english, macIf you want to have more control over your powermanagement-settings in Mac OS X you might take a look at the command pmset. Get first informations like that:
This should give you a first impression. Its really offering more then Apple offers in the System Preferences in Mac OS X Links: Tags: apple developer, hibernate, pmset, power management, settings, sleep, system preferences, terminalDenke viele Leuten kennen das Problem das sie Dateien löschen / umbewegen oder ähnliches wollen, jedoch Mac OS X einem mitteilt dass dies nicht geht, da das File in Verwendung ist. Ich habe mich in solchen Fällen bisher immer eines Terminals bedient und das Problem mit lsof etc versucht zu lokalisieren. Letztlich bin aber auch ich als Terminal-Liebhaber faul und ziehe im Alltag grafische Lösungen vor sofern diese sich als brauchbar erweisen. Meine Freundin hatte heute wieder genau so einen Fall und naja, die gute alte Methode musste es lösen. Minuten danach stopler ich über eine nette Freeware die einem genau in solche einem Fall helfen will:
Den ersten künstlich produzierten Test hat das Programm bestanden, jetzt mal sehen wann ich es wieder brauche. About:
Denke für Leute die weniger Terminal fokusiert sind sicher ein nettes Programm. Links: Tags: blockiert, in verwendung, lifehacker, locked, lsof, terminal
Jul
09
2008
How to tell Mac OS X Software Update to ignore somethingPosted by: fidel in How to, Security, Terminal, macMac OS X comes with an update service called Software Update. Basicly its a nice feature which keep tracks on all Updates released by Apple Inc. for its software. This means it will cover the Operating System itself and the software shipped or offered by Apple. Unfortunaly there is no real paket management like linux users love to have, but thats another story and this should not end in a rant In some cases you want to ignore a specific update or an application from being updated so lets take a look how we can handle that with Mac OS X.
Well this is pretty easy, but maybe you selected the wrong update or just want to reset your ignore list whyever. It’s possible but not really good implemented from feature aspect … why ? Because you can only reset all Ignored Updates, not a specific one. Again a whyever….
I would like to have a real paket management but that’s far away from reality, so we have to live with SoftwareUpdate how it is right now. Personaly i would not work with ignoring updates in general as i prefer keeping my applications and operating system in touch with latest releases (which takes long enough with Mac OS X), but well if you need it ….do it =) A final note for the command line lovers: Software Update is available as cli command too. You should start with a quick:
in Terminal.app, which will output something like that (10.5.4 here)
I hope this short article helped. Links:
If you do use Terminal.app more then once a week it makes sense to customize your Terminal to your needs. Personaly i prefer bash so the next steps are focused on the bash shell. 1. Creating a .bashrc:
Now we have done the first steps. We are sure we do use bash and we have an empty .bashrc ….so no function till now 2. Creating a .bash_profile:Now we have to create a .bash_profile in our Users home directory too.
3. Forcing Terminal.app to load our bashrc at start:Now we have to make sure Terminal.app uses our new .bashrc while starting.
On the next start of Terminal.app it should use our empoty .bashrc file. So now lets fill it a bit 4. Define an example alias:
After relauching Terminal.app the “ls” command should output the same in terminal then “ls -la” does 5. Tweak the history of your shell:I love my bash history, but why not tweaking its default behaviour ?
After restarting your Terminal your history should we teaked as follows.
Well that was the basic first step. You could now continue adding colors to your .bashrc, configuring how the prompt will look like and many other nice things. Here my final example .bashrc Tags: .bashrc, .bash_history, /bin/bash, 10.5, bash, cli, color, colors, terminal, terminal alias, terminal color I have to cleanup my mails so here the link to the Apple Command-line backup documentation Quote:
Links: Tags: 10.4, backup, backup solutions, cli, command-line, terminal
Jun
26
2008
Mac ::: Having fun with the SAY command in your TerminalPosted by: fidel in Terminal, macI really like the say command on my Mac’s. Great fun letting another mac in your building say something while someone else is using it. I stumbled upon some nice tricks regarding the say command. Examples: ie you could play a simple melody like that:
Where “-v Good” defines the voice. You could use “-v Bad” too, or any other system voice. if you dont define a voice yourself, say will use the default voice defined in System Preferences Check the apple link at the end of this post for more details on the say command. You could try something more creative like that:
Best snippet i found so far:
Great =) Links: Tags: built-in voice, cli, developer.apple, osascript, say, speech, system preferences, terminal, text to speech
Jun
11
2008
Mac ::: Using SystemStarter to stop, start or restart Services in Mac OS XPosted by: fidel in Terminal, _english, macI stumbled upon SystemStarter while searching a way how to restart a service in Mac OS X. Quote from the man page:
Example:
I guess the missing part now is a full listing of the Services…lets see if i can find the time to collect them later. Links: Tags: apple.inc, cli, macosxhints.com, restart, services, start, stop, systemstarter, terminal |










Entries (RSS)