Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Help Urgent Menu structure question

    Reply
    mscarrot | # 1 | 2010-02-10, 19:39 | Report

    In the beginning I had not installed WinSCP and SSH client and server I've made dir's like this with Xterm: (for ecxample)

    sudo gainroot
    mkdir -p MyDocs/icons/hicolor/scalable/hildon
    mkdir -p .local/share/icons/hicolor/scalable/hildon

    and moved them like this:
    mv MyDocs/icons/hicolor/scalable/hildon/* .local/share/icons/hicolor/scalable/hildon

    Strange thing is that when I now want to install a new icon this old
    .local share dir (and the icons in that dir) override my new ones.

    Can anybody explain me how to delete (with WinSCP) this so I can install my new icons with WinSCP&SSH.

    Hope somebody can help me.

    TIA !!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by mscarrot; 2010-02-10 at 20:44. Reason: Explained problem better

     
    mscarrot | # 2 | 2010-02-11, 10:18 | Report

    50 (!!) vieuws and nobody knows a solution ?????
    (not referring to reflashing of course).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 3 | 2010-02-11, 10:39 | Report

    I'm not sure why you're needing to delete these directories - the .local/share/icons/hicolor/scalable/hildon is the correct location for installing replacement icons, whether you're doing it over WinSCP or on the N900.

    Anyway, you can delete a directory (with contents and subdirectories), using "rm -r". If you created them as root (i.e. after running "sudo gainroot") then you'll probably need to be root to delete them though.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ruskie | # 4 | 2010-02-11, 10:41 | Report

    Erm so the icons in .local override any other icons? Looks proper... .local is what the user preferd items should be in.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mscarrot | # 5 | 2010-02-11, 12:12 | Report

    QUOTE=Rob1n;520908]I'm not sure why you're needing to delete these directories - the .local/share/icons/hicolor/scalable/hildon is the correct location for installing replacement icons, whether you're doing it over WinSCP or on the N900.

    Anyway, you can delete a directory (with contents and subdirectories), using "rm -r". If you created them as root (i.e. after running "sudo gainroot") then you'll probably need to be root to delete them though.[/QUOTE]

    Thanks Rob,

    Can you please write down how i remove them with rm -r, in xterm or win scp.
    can I do that without any harm? made those folders with xterm and sudo gainroot indeed.

    Am putting my replacement icons in the dir where the originals are now, basicly overriding the originals. but these are bugging me, cause they override the originals that's why i want them deleted.

    again searched in WinSCP, but can't find the folder ??

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Rob1n | # 6 | 2010-02-11, 12:51 | Report

    Originally Posted by mscarrot View Post
    Can you please write down how i remove them with rm -r, in xterm or win scp.
    can I do that without any harm? made those folders with xterm and sudo gainroot indeed.
    This will remove the two directories and their contents. Make sure there's no spaces in the directory names, otherwise you could end up deleting a lot of stuff you really don't want to.

    Code:
    sudo gainroot
    rm -r /home/user/.local/share/icons
    rm -r /home/user/MyDocs/icons
    Originally Posted by mscarrot View Post
    Am putting my replacement icons in the dir where the originals are now, basicly overriding the originals. but these are bugging me, cause they override the originals that's why i want them deleted.
    I'd advise against this. You're better leaving the original icons where they are, and putting the replacements into the .local/share/icons directory structure (where they override the defaults). That way any firmware updates will leave your changes intact, you can trivially roll back to the default icons, and you can make the changes without needing to be root (which is safer).

    Originally Posted by mscarrot View Post
    again searched in WinSCP, but can't find the folder ??
    Directories starting with a "." are hidden by default, so you probably need to set something in the WinSCP client to tell it to show those.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mscarrot | # 7 | 2010-02-11, 14:20 | Report

    Thanks so much for the explanation Rob, have found the 'hidden' folders in WinSCP so will use them instead.
    Am happy that you explained why i shouldn't do it the way I did, only I assume for some icon's it is too late now...
    But I've Learned something important today, gosh I really like this community !!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout