Make conky behave like tint2

Is there a way to make conky behave like tint2? By this, I mean that when I maximize the window, the window should not go over the conky. In addition, the conky should be visible when show the desktop. Currently, the best I can do is make the conky go over my window. Here is my .conkyrc:
background yes
use_xft yes
xftfont Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,above,sticky,skip_taskbar,skip_pager
own_window_colour white
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
alignment tl
maximum_width 1400
minimum_size 1400 0
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 ff0000
color2 ff8000
color3 ffff00
color4 80ff00
color5 00ff00
color6 00ff80
color7 00ffff
# Output
TEXT
CPU1: ${color2}${cpubar cpu1 7,90}${color}\
CPU2: ${color2}${cpubar cpu2 7,90}${color}\
RAM: ${color2}${membar 7,90}${color}\
/: ${color2}${fs_bar 7,90 /}${color}\
Free: ${color2}${fs_free /}${color}\
1: ${color2}${top name 1} ${top cpu 1}%${top mem 1}%${color}\
2: ${color2}${top name 2} ${top cpu 2}%${top mem 2}%${color}\
3: ${color2}${top name 3} ${top cpu 3}%${top mem 3}%${color}

Try this conky and see if it acts like a panel.
# Use Xft?
use_xft yes
xftfont mono:size=9
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_type panel
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1280 0
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 2
# Default colors and also border colors
default_color white
color2 1994D1
#default_shade_color black
default_outline_color 3c3c3c
own_window_colour 3c3c3c
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 0
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
TEXT
${offset 5}${color2}CPU1${color} ${cpu cpu1}% ${goto 80}${cpubar cpu1 9,30} ${color2}CPU2${color} ${cpu cpu2}% ${goto 188}${cpubar cpu2 9,30} ${color2}MEM${color} ${mem}/${memmax} ${membar 9,30} ${color2}SWAP${color} ${swap}/${swapmax} ${swapbar 9,30} ${color2}DOWN${color} ${downspeedf eth0} KB/s ${downspeedgraph eth0 9,30} ${color2}UP${color} ${upspeedf eth0} KB/s ${upspeedgraph eth0 9,30} ${color2}SDA1${color} ${fs_used /}/${fs_size /} ${fs_bar 9,30 /} ${if_existing /media/Linux/Downloads}${color2}SDB1${color} ${fs_used /media/Linux}/${fs_size /media/Linux} ${fs_bar 9,30 /media/Linux}${endif}

Similar Messages

  • How to drag and drop a swing component that can make it behave like Visio.

    1) How to make a JComponent drag and drop that behave like visio? I understand it's possible to drag and drop a text or image, but no idea on how to do that on JComponent. 2) After the JComponent is dragged and dropped, how to make the JComponent to be able to resize by the user using mouse 3) The area that the JComponent dropped should it be GrassPane, LayerPane, or ContentPane?

    I see where you're going. I'm drawn to Thunderbird because it puts open emails in separate tabs, which makes finding a particular open message easier than searching the task bar for an open outlook message. I do see your point that tab happy programmers, probably too young to remember how cool we thought drag and drop was when it first came out, don't think much of it. As with a lot of software, each programmer has a very limited view of how it their program should be used vs how it is actually used in the wild.
    People work in different ways. When I schedule an appointment with a client, this is often preceded by a series of emails related to whatever the client wants to discuss. I drag and drop those messages into the appointment window so that on the date of the appointment, I have a nice neat summary of the issues right there in the appointment window. I could use workarounds (save email and then attach to the appointment), but that's like a trip back to Windows 3.0 and it's, if I'm not mistaken, 30+ years later. I guess I'll continue to use Tbird for email and outlook for calendar, not my preferred solution, I'd like to flip MS the bird and cut all ties to outlook, and was hoping Tbird was the solution. Not yet, and perhaps not ever, based on your thoughts.

  • MBP 2011 - Best way to make it behave like Mac Mini ?

    I have a 26" NEC monitor I like and use for photo editing. I come from the Windows world. Late last year I bought a Mac Mini, hooked it up to my monitor and was getting used to OS X. Then my mini was stolen.
    I recently replaced the stolen mac-mini with a 2011 13" MacBookPro i7 2.7, thinking I could hook it up to my NEC monitor like the mac mini, but I'm finding it's not really like that. It's more of a dual display setup that I'm finding awkward.
    How can I make the external monitor be the main screen with dock and menu bar ?
    Display settings are kind of primitive in this regard.
    I can drag firefox from the MBP screen to the external screen, but the menu bar stays on the MBP. It's kinda weird. Moving the mouse back and forth isn't so fluid due to vast difference in resolution between the two screens.
    Then there's the battery issue. If I leave the AC plugged in all the time, I read that isn't a good thing for battery life. It is however, convenient once in a while to pickup the MBP and carry it about the house.
    What's the best way to make the MBP behave like a mini?

    Thank you for the KB article, it helped.
    The key is to have the power AC adapter plugged in on the MBP. Then, when it wakes from sleep after closing the lid the attached display becomes the one and only display with Dock and Menu bar up top. Otherwise, in battery mode, wake from sleep is a complete disaster. This clamshell mode seems to be very stubborn in battery mode. It wakes up, monitor flickers, goes back to sleep. Press a key to wake it up again and it just keeps going in a circle, like ground hog day and I never get to actually use the MBP.

  • Can I make Cmd-~ behave like Cmd-Tab?

    With Cmd-Tab app switching, invoking it once would alternative between the current and previous application. Is there any way I can make cmd-~ behave the same way with regard to the documents? I find it odd that Apple haven't thought of this, as cycling through document is rarely waht people want.
    thanks

    Alternatively, you can go backwards: Cmd-` cycles through windows one way, Cmd-~ (i.e., Cmd-Shift-`) goes the other direction. You can jump back and forth between two windows by alternating with the shift key.

  • How to make SimpleDateFormat behave like MaskFormatter

    Hi!
    I'm using a JFormattedTextField to input date values.
    I defined it like this:
    jftfDate = new JFormattedTextField( new SimpleDateFormat("yyyy/MM/dd") );
    It works as expected but it doesn't give the user any feedback of the date format as he types it.
    If I used the MaskFormatter insted like:
    mf1 = new MaskFormatter("####/##/##");
    mf1.setPlaceholderCharacter('_');
    jftfDate = new JFormattedTextField( mf1 );
    It would give the user feedback but wouldn't validate the numbers. For example, I could have a month with the number 13.
    Does anyone had the same request and knows the answer to or have any clues?
    Thanks,
    Eduardo

    check out the link shown below and see if it solves your problem:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=312875
    ;o)
    V.V.

  • How do I tweak Snow Leopard (Finder & Safari) to make it behave more like Tiger?

    I've recently upgraded to a Mac Pro 4,1 from a Power Mac G4, and to Mac OS X 10.6.8 from 10.4.11 in the process.
    There are a few little ways in which Snow Leopard behaves differently to Tiger, and I'm wondering if (for each item on the list below) anyone has any suggestions on how I can make things behave as I'd like, rather than as they do.
    While I'm at it, I've included a couple of things that never behaved as I'd like in Tiger either, but which may also be alterable.
    I'd prefer, if possible, solutions that result from simple changes in settings, or perhaps "sudo" commands entered into Terminal, rather than having to install third party software.
    Also, I'd appreciate those that choose to reply refrain from suggesting I upgrade to Lion or Mountain Lion. These aren't options I can consider at the moment.
    1. In the Finder, clicking Go -> Recent Folders gives the 10 most recently opened folders. Is there a way to change this number?
    There isn't an option to do this in the "Appearance" preference pane, where "Number of recent items" can be set for "Applications", "Documents" and "Servers". There's also no option to alter the number of "Recent Folders" in any other preference pane that I can see. I've posted a similar list of questions over at the Macrumors forums, where the one reply I've had so far suggested I use the "General" preference pane, however I don't have one of these. I think "General" was possibly a pane in a much earlier version of Mac OS X?
    2. In the Finder, folders on the desktop often don't deselect the way they always did in Tiger. For example, if I double click a folder to open it, the folder's icon highlights. The folder often doesn't deselect / unhighlight though when I then click on the desktop or elsewhere. It often takes 2 or 3 additional clicks for the icon to deselect. Is this a known bug, and can it be fixed? The reply in the Macrumors forum says "It's a known bug, it's even worse in Mountain Lion.".
    3. In the Finder, under Preferences, I have "Always open folders in a new window" checked, as I prefer. Often though, I like to hold down the "alt" key when double clicking on a folder to open it, so that the enclosing folder closes at the same time as the folder I'm double clicking on opens, thereby overriding the preference I've set.
    In Tiger, the newly opening folder would always open at its previously set size & position. In Snow Leopard though, using the "alt" key causes the newly opening folder to open at the size & position of its enclosing folder instead, not at its previously set size & position.
    Worse, the folder then seems to "remember" this incorrect size & position which it takes from its enclosing folder, wiping out its previous (correct) size & position. Is there any way to make things behave like they did in Tiger?
    The reply in the Macrumors forum suggested I try "alt - command", but this makes things behave identically to "alt" on its own, as does using "command" on its own.
    Only when I don't use any modifier key does the opening window open at its correct size & position, but then without any modifier, the enclosing window remains open (as per my Finder preference selection), and its this preference that I often want to override, but with the newly opening window's correct size & position being maintained.
    4. In Safari (version 4.1.3) under Tiger, the "Command-`" keyboard shortcut (that's Command and the key to the left of the "z" key) cycles through each open Safari window in turn, before returning to the original window.
    However in Safari (version 5.1.7) on Snow Leopard, this keyboard shortcut seems to work very erratically. For example if I have, say, 8 windows open, the shortcut might only rotate through the 2 or 3 frontmost windows over & over again, rather than through all 8 in order. It might take 5 or 6 cycles of attempts before the rest of the windows appear at the front of the stack. This fault seems to be intermittent though. Is this a known bug, and can it be fixed?
    5. When I press "Command-f" in the Finder, a search window opens. I'm having 2 problems with the search window.
    Firstly, directly below the field where the search term is to be typed, is the word "Search:" with a row of only 2 buttons to the right. The first is labelled "This Mac" and the second is labelled with the name of the folder that I have set the "New Finder windows open:" preference to in Finder Preferences.
    I can't find any way of adding any further locations to this row of only 2 buttons. For example, "Macintosh HD" is in my sidebar, but I can't drag it to the row of buttons to create a new "Macintosh HD" button, nor can I find any other way to make the search only look in specific places (such as only on the "Macintosh HD" disk). I'm stuck with either "This Mac" or with the folder that I've set the "New Finder windows open:" preference to.
    How can I select where I want a search to take place? I could do this in Tiger with a couple of mouse clicks.
    Secondly, to the right of the 2 search location buttons is a small vertical bar, and then 2 further buttons, labelled "Contents" and "File Name". The "Contents" button is always selected by default. How can I make the "File Name" button the default rather than the "Contents" button?
    Many thanks in advance for any input anyone has.

    Diamond Dave wrote:
    1. In the Finder, clicking Go -> Recent Folders gives the 10 most recently opened folders. Is there a way to change this number?
    AFAIK, there's no default setting to change that. Take a look at defaults for Finder.
    2. In the Finder, folders on the desktop often don't deselect the way they always did in Tiger. For example, if I double click a folder to open it, the folder's icon highlights. The folder often doesn't deselect / unhighlight though when I then click on the desktop or elsewhere. It often takes 2 or 3 additional clicks for the icon to deselect. Is this a known bug, and can it be fixed?
    AFAIK, that's normal behavior. The folder opens and gets focus. To return to the Desktop requires a click to gain focus and the click the Desktop to deselect anything previously selected.
    3. In the Finder, under Preferences, I have "Always open folders in a new window" checked, as I prefer. Often though, I like to hold down the "alt" key when double clicking on a folder to open it, so that the enclosing folder closes at the same time as the folder I'm double clicking on opens, thereby overriding the preference I've set.
    Still works that way here in SL.
    In Tiger, the newly opening folder would always open at its previously set size & position. In Snow Leopard though, using the "alt" key causes the newly opening folder to open at the size & position of its enclosing folder instead, not at its previously set size & position.
    Worse, the folder then seems to "remember" this incorrect size & position which it takes from its enclosing folder, wiping out its previous (correct) size & position. Is there any way to make things behave like they did in Tiger?
    Nope. You're in the minority, so Apple changed it, since more wanted it that way than the old Tiger way.
    4. In Safari (version 4.1.3) under Tiger, the "Command-`" keyboard shortcut (that's Command and the key to the left of the "z" key) cycles through each open Safari window in turn, before returning to the original window.
    Can't help, since I normally only use one window and many tabs. Also, I don't see that shortcut. Enable the Debug menu option and peruse Debug->Keyboard & Mouse Shortcuts.
    5. When I press "Command-f" in the Finder, a search window opens. I'm having 2 problems with the search window.
    Firstly, directly below the field where the search term is to be typed, is the word "Search:" with a row of only 2 buttons to the right. The first is labelled "This Mac" and the second is labelled with the name of the folder that I have set the "New Finder windows open:" preference to in Finder Preferences.
    I can't find any way of adding any further locations to this row of only 2 buttons. For example, "Macintosh HD" is in my sidebar, but I can't drag it to the row of buttons to create a new "Macintosh HD" button, nor can I find any other way to make the search only look in specific places (such as only on the "Macintosh HD" disk). I'm stuck with either "This Mac" or with the folder that I've set the "New Finder windows open:" preference to.
    How can I select where I want a search to take place? I could do this in Tiger with a couple of mouse clicks.
    Not possible. Apple's crippled Spotlight as it's brought the OSs forward. Best is to start your search in the folder you want to search. See Snow Leopard's wrong changes, for starters.
    Secondly, to the right of the 2 search location buttons is a small vertical bar, and then 2 further buttons, labelled "Contents" and "File Name". The "Contents" button is always selected by default. How can I make the "File Name" button the default rather than the "Contents" button?
    Use CMD+SHIFT+F. Ultimately, I strongly suggest creating a savedSearch with your desired criteria and use it, bypassing CMD+spacebar and CMD+F. This is what I use:

  • E540 Make Ultranav middle click behave like mouse middle click

    I want the middle click on my Ultranav to behave like a middle click on a physical mouse does, where pressing down brings up the windows scroll thingy and makes me be able to open links in new tabs and close tabs. I don't see an option to do that. How can I change it?

    The mouse from my imac G4 did this due to a break in the cord inside the housing. In my case, a new mouse was the only solution. It was sporadic at first, then longer and longer till I couldn't single click anything anymore.

  • How to make spark datagrid columns to behave like mx datagrid columns

    Hello.
    I have a problem with spark datagrid component. I can't force spark datagrid columns behave like old mx datagrid columns. In mx datagrid columns fills 100% of datagrid regardles of resizing column or datagrid itself (it will not show horizontal scrolling bar). In spark datagrid last column (colC) will never word wrap, event after setting horizontalScrollPolicy=off. I would like to somehow constrain spark columns to behave like mx ones.
    App snippet (try to resize app and columns - especially colC - and you will see what I mean):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <s:ArrayCollection id="dp">
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
                <s:DataItem colA="some sample data" colB="some sample data" colC="some sample data"/>
            </s:ArrayCollection>
        </fx:Declarations>
        <s:layout>
            <s:HorizontalLayout/>
        </s:layout>
        <s:DataGrid id="grid" width="100%" height="100%" dataProvider="{dp}" variableRowHeight="true" horizontalScrollPolicy="off">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn headerText="Column A" dataField="colA"/>
                    <s:GridColumn headerText="Column B" dataField="colB"/>
                    <s:GridColumn headerText="Column C" dataField="colC"/>
                </s:ArrayList>
            </s:columns>
        </s:DataGrid>
        <mx:DataGrid id="grid2" width="100%" height="100%" dataProvider="{dp}" wordWrap="true" variableRowHeight="true">
            <mx:columns>
                <mx:DataGridColumn headerText="Column A" dataField="colA"/>
                <mx:DataGridColumn headerText="Column B" dataField="colB"/>
                <mx:DataGridColumn headerText="Column C" dataField="colC"/>
            </mx:columns>
        </mx:DataGrid>
    </s:Application>

    the datagrid has sortItems and sortItemsOn methods you can use.

  • How do I create a title, that behaves like a button?

    Hi,
    I'm using XML to load data from asp to flash. Here's the XML
    example:
    1. <?xml version="1.0" encoding="iso-8859-1"?>
    2. <news>
    3. <item>
    4. <headline>Flash XML Based News reader out
    today!</headline>
    5. <date>05/09/1986</date>
    6. <message>Today my new xml based flash news reader
    came out, I am so excited!</message>
    7. </item>
    8. <item>
    9. <headline>One day until the Flash XML Based News
    reader is out!</headline>
    10. <date>05/08/1986</date>
    11. <message>Tomorrow my new xml based flash news
    reader comes out, I am so excited!</message>
    12. </item>
    13. <item>
    14. <headline>Two days until the Flash XML Based News
    reader is out!</headline>
    15. <date>05/07/1986</date>
    16. <message>The day after tomorrow my new xml based
    flash news reader comes out, I am so excited!</message>
    17. </item>
    18. </news>
    And here's the ActionScript part:
    1. // Initialize the xml object that our news will be loaded
    into
    2. var news_xml : XML = new XML();
    3. // ignore all whitespaces inside of our xml file
    4. news_xml.ignoreWhite = true;
    5. // when the xml recieves a return from the load() function
    call, execute this function
    6. news_xml.onLoad = function( success : Boolean ) {
    7. // if the xml file was successfully loaded
    8. if ( success ) {
    9. parseNews(this);
    10. }
    11. }
    12. // call the load function on the xml object, passing in
    the url of your xml file
    13. news_xml.load("xmlTutorial.xml");
    14. // this function will take our news xml object and parse
    it
    15. function parseNews( _xml : XML ) : Void {
    16. // first we create an array that holds all the values of
    the item nodes
    17. var items : Array = _xml.firstChild.childNodes;
    18. // now we want to iterate over every item in the items
    array
    19. // and parse the nodes as we see fit
    20. for ( var i : Number = 0 ; i < items.length ; i ++ ) {
    21. // here we set the text of the text field ( news_txt )
    22. // the first thing we add to the textfield is the
    headline then a line break
    23. news_txt.htmlText += "<b>" + items
    .childNodes[0].firstChild +"</b><br>";
    24. // next we add the string date followed by the date value
    in the xml file
    25. news_txt.htmlText += "Date: " +
    items.childNodes[1].firstChild + "<br>";
    26. // now we add the message, then two line breaks, only for
    formatting
    27. news_txt.htmlText += " " + items
    .childNodes[2].firstChild + "<br><br>";
    28. }
    29. }
    So far is everything clear to me. But what I want to do now
    is that after a user clicks on title, next happens:
    the current swf unloads
    the flash sends data to asp (ID of an article and ID of an
    author, which movie to load next).
    How do create a title/button?I know how to make a title to
    behave like a link (just add the
    http://... in the headline tag in XML
    document. But this,..... I just don't know how to do that.
    THX for any help

    2m, you are right. I should tell you about my concept. It's
    all on the paper yet, because this is how I work - first I write
    down everything on paper, study it and the next step in trying to
    make it work on computer.
    I have a main swf, I call it system.swf. System.swf receives
    the info about the swfs, it must be loaded from html tag
    <object><param>. The ID of the movies is send from
    flash to asp and then via <object>back to flash. Does that
    make sense? Is there a better way for that?
    So, the system.swf is loaded for the whole time - let's say
    it on level1. On level 2 are then loaded other swfs.It depends
    which content the user wants to see.
    About the article part:
    first the user sees the list of last articles (title, date
    and short description). When he/she clicks on the title, all the
    action happens:
    flash sends the data which article the user wants to read to
    asp, asp searches in data base for the requested article and
    creates xml, where are title, date and the whole content of the
    article.
    At the same time asp also sends via <object>tag in html
    the id of the swf that must be loaded and the id of the author of
    the article, so the swf, where the pictures of the all authors are,
    will know what picute must load (this is the second swf that is
    loaded on the article part - it's created like a gallery; the
    author of the active article is bigger and if the user wants to
    read the last article of other author, he/she just closes the
    picture and then the images are moving in a slider way and when
    he/she clicks on an image, it get larger and the last artcle of
    this author is loaded).
    And I wonder how can I make this all to happen: when the user
    clicks on a title, all the var action happens?
    If you have better idea how to create this, please, advice.
    THX for the help so far

  • My 13" Mac Pro behaves like everything is in slow motion. Takes forever to do anything, on or offline. Would this be a software conflict or a hardware problem?

    My 13" Mac Pro behaves like everything is in slow motion. Takes forever to do anything. Wondering if this is a software issue or a hard drive problem?

    Maybe some maintenance will help:
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • Delete datagridview row using right click context menu does not behave like the delete key

    I have a datagridview with editing enabled. If I click the row header and press the delete key, the row is removed no questions asked. I don't recall doing any coding to make this happen but I couldn't do copy and paste using keys so I created a context
    menu with copy, paste, & delete.  The delete option calls
    dgvVX130.Rows.RemoveAt(dgvVX130.SelectedRows[0].Index);
    The row is removed but the problem is this fires other events like RowValidating which fails.  I presume because the row is no longer there.
    The delete keypress is definitely a lot cleaner so my question is 3fold. 
    1) Why doesn't Rows.RemoveAt behave like the delete key? 
    2) Is it possible to issue a delete keypress to do the same thing?
    3)  Is it possible to suppress the RowValidating event or other events when Rows.RemoveAt is fired?

    Interesting.  My delete key does not fire the row validating event.  When I use the delete key I click on the row header which does fire the row validating event and then I press the delete key.  Row is deleted and no event fires.  Works
    just the way I want it to.  I wish my context menu delete worked that way.  I wouldn't know what chunk of code I can provide to show the Row Validating NOT firing when delete key is pressed but here is the context menu code that does fire Row Validating.
    private void cmsEditItemClick(object sender, ToolStripItemClickedEventArgs e)
    ToolStripItem item = e.ClickedItem;
    switch (item.Text)
    case "Copy":
    if (dgvVX130.GetCellCount(DataGridViewElementStates.Selected) > 0)
    try
    // Add the selection to the clipboard.
    Clipboard.SetDataObject(
    dgvVX130.GetClipboardContent());
    // Replace the text box contents with the clipboard text.
    catch (System.Runtime.InteropServices.ExternalException)
    MessageBox.Show("The Clipboard could not be accessed. Please try again.");
    break;
    case "Paste":
    if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text) == true)
    ClipboardUtils.PasteFromClipboard(dgvVX130);
    dgvVX130.NotifyCurrentCellDirty(true);
    dgvVX130.EndEdit();
    dgvVX130.NotifyCurrentCellDirty(false);
    bindingSource1_PositionChanged(this, e);
    break;
    case "Delete":
    dgvVX130.Rows.RemoveAt(dgvVX130.SelectedRows[0].Index);
    break;
    default:
    //code
    break;
    private void dgvVX130CellContentClick(object sender, DataGridViewCellEventArgs e)
    //dgvVX130.IsUserSelectionEnabled = true;
    dgvVX130.BeginEdit(false);
    ((TextBox)dgvVX130.EditingControl).SelectionStart = 0;
    //((TextBox)dgvVX130.EditingControl).SelectionLength = 3;
    public class ClipboardUtils
    public static void PasteFromClipboard(DataGridView grid)
    try
    char[] rowSplitter = { '\r', '\n' };
    char[] columnSplitter = { '\t' };
    // Get the text from Clipboard
    IDataObject dataInClipboard = Clipboard.GetDataObject();
    string stringInClipboard = (string)dataInClipboard.GetData(DataFormats.StringFormat);
    // split into rows
    string[] rowInClipboard = stringInClipboard.Split(rowSplitter, StringSplitOptions.RemoveEmptyEntries);
    // get current cell
    int currentRow = grid.SelectedCells[0].RowIndex;
    int currentColumn = grid.SelectedCells[0].ColumnIndex;
    // get 1st cell in selected area
    for (int i = 1; i < grid.SelectedCells.Count; i++)
    if (currentRow > grid.SelectedCells[i].RowIndex)
    currentRow = grid.SelectedCells[i].RowIndex;
    if (currentColumn > grid.SelectedCells[i].ColumnIndex)
    currentColumn = grid.SelectedCells[i].ColumnIndex;
    // add more rows if need to paste data
    /* if (grid.Rows.Count < rowInClipboard.Length + currentRow)
    grid.Rows.Add(rowInClipboard.Length + currentRow - grid.Rows.Count); */
    // paste
    for (int iRow = 0; iRow < rowInClipboard.Length; iRow++)
    if (iRow + currentRow < grid.Rows.Count)
    string[] cellsInRow = rowInClipboard[iRow].Split(columnSplitter);
    for (int iCol = 0; iCol < cellsInRow.Length; iCol++)
    if (grid.ColumnCount > currentColumn + iCol)
    DataGridViewCell currentCell = grid.Rows[currentRow + iRow].Cells[currentColumn + iCol];
    if (!currentCell.ReadOnly) // H.NH added to avoid Read only case.
    if (cellsInRow[iCol] == "")
    if (grid.Columns[iCol].ValueType.Name == "String")
    currentCell.Value = null;
    else
    currentCell.Value = DBNull.Value;
    else
    currentCell.Value = cellsInRow[iCol];
    switch (iCol)
    case 3:
    currentCell.Value += "_ChangeColumnName";
    break;
    case 2:
    currentCell.Value = grid.Rows[iRow].Cells[iCol].Value;
    break;
    else break;
    catch (Exception e)
    MessageBox.Show("Sorry, can not paste from the clipboard.\nError: " + e.Message, "Paste Error", MessageBoxButtons.OK, MessageBoxIcon.Error);

  • I want to create a tail that behaves like a string

    I want to create a tail and fasten one end to an object. The object is translating and has a small amount of rotation oscillation. I want the tail to behave like a string that has very little stiffness. It should curve from side to side as the object oscillates. I could probably figure this out by experimentation but I would much appreciate assistance.

    Well, I don't know what you mean by "the object is translating", but to make a tail that behaves with a lot of curve, it needs to be comprised of segments. I would go with a replicator of a bunch of circles and then use the replicator sequence behavior to animate the curvature.
    Andy

  • Mac OSX Leopard behaving like any ordinary Windows system?!?

    I have been having a variety of issues since updating to Leopard. I have been a very satisfied mac user for over 7 years with no issues or needed support. Installing Leopard has put all that down the drain. I have a Dual 1.5 ghz Power G4 and 1.5 gb of ram. This computer has enough computer power to run Leopard. With that aside, Apple now says we need to have supported video cards, only to find that out AFTER buying Leopard and installing it. How can you release an OS and have to change a video card recently purchased before Leopard.. My computer used to run flawlessly until I updated. My computer does random "PC like" freezes and I have to sit for 5 mins until it snaps to it. Sometimes just to have Safari load or to Send an email..When the beach ball comes out, (I'm never in the mood to play when it does) I can't even force quit. I have tried the reinstall, a clean install, and even reinstalling on a different hard drive, and the same issues. Yes, all 3rd party software/enhancers were erased when I reformatted my drive and did a clean install.. Also, I cannot open Activity Monitor because I get a message that my permissions need to be repaired.. OK, that would be fine, if disk utility didn't freeze also.. Leopard has some amazing ideas and great tools, and anticipated the long waited release, but if they cant be used and/or start behaving like a PC....., then what's the point?

    I don't think your lockups are caused by the video card, although not having a Core Graphics compatible card will kill a lot of the new effects and make the remaining ones very jerky. In my case, I was getting the interminable hang-ups and beachballs until I did a clean install without "Archive and Install" or "Migration Assistant". I had to keep the install absolutely clean, and manually copy over documents ONLY.
    Further, I found that my external subwoofer (iSub) and one of my external drives were causing problems. Much better without them.

  • A tiny little cry for help: mic in bootcamp makes me sound like a mouse!

    I posted this on the InsanelyMac forum, and I thought I'd post it here too because I'm just that desperate for help... thanks in advance for reading.
    I run a MacBook Pro Core 2 Duo. When Snow Leopard came out I installed it and partitioned my drive to allow me to run Windows via bootcamp for the purpose of playing Aion with my husband.
    The game works fine, although it only works correctly when I'm hooked to my large Dell monitor. The built-in display makes the mouse/cursor not function correctly in-game.
    But that's relatively minor... the biggest problem is that the built-in mic, as well as any mic I plug into the Line In, makes me sound like a mouse when I speak. I SO don't want to be known as the squeaky mouse over ventrilo. (The problem occurs in a regular sound recorder too, so it is NOT ventrilo specific).
    The audio device is listed as Intel High Definition Audio: Device ID 0x83847680, Audio ID 30 - whatever that means.
    When I dive into the Control Panel audio preferences when booted into Windows, the driver is listed as IDT audio.
    Audio output seems to function perfectly.
    I would sure appreciate help if anyone has expertise or experience with this sort of thing. I'm at a little bit of a loss.
    TIA,
    Jen

    Hey, I had a thought, I don't know if it'll work and won't get the chance to find out until later tonight if I'm not too tired or until later tomorrow.
    I think that if the IDT drivers aren't installed in the first place, perhaps the issue can be averted entirely. However, it's going to take a bit of knowledge to do and some patience. The partition will need to be remade entirely so that one may end up with a fresh operating system. When the SL disk is put into the computer, instead of running the full driver setup, pick the drivers directly off the disk by exploring its folders and only install the ones you need. Instead of using the IDT drivers, I believe the SL disk also has Realtek HD audio drivers (if I remember correctly from the last time I looked). My thought is that this manual method can prevent having to deal with the IDT drivers which I believe are part of the issue.
    I understand that reinstalling XP is a process in itself, but this is the only solution I can think of. If manually installing doesnt work, my next move would be to use the drivers that come off the Leopard disk instead of the SL disk.
    Like I said, this is just a thought I have so when I get to it later I'll let you know how it goes unless you decide to give it a try before me.

  • My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows).  The key behaves the same for the laptop keyboard and for an external Apple keyboard?  This just started in last week after 6 months of use

    My left shift key on Macbook Pro Retina (15") is behaving like the F11 key (show/hide open windows). 
    The left shift key behaves the same on the laptop keyboard and on an external Apple keyboard. 
    This just started in last week after 6 months of use.  The right shift key and other keys on the keyboard all appear to work correctly.
    Suggestions greatly appreciated.

    I have a solution to this issue now after a discussion with Apple Support.  Some where in the last few weeks, there was a change in the key that would do a Show Desktop under the Mission Control settings in the System Preferences.  Even though the key sequence that was shown for the Show Desktop setting did not include the Left SHift key, by changing this first to having no key sequence and applying that and then changing it back to the F11 key, the Left SHift key issue that I was having has cleared up.
    A second issue that was uncovered was that the SSD had some issues (uncovered when I ran Disk Utility using the Repair Disk key).  I had to restart and use the Disk Utility through the Command R sequence to get to the stand alone Disk Utility.  The SSD appears to be running better as a result as well.
    Hope that this is of use to someone else in the future.

Maybe you are looking for