Results 1 to 9 of 9

Thread: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

  1. #1
    Join Date
    Oct 2009
    Beans
    170

    Exclamation How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    How do I completely remove a program and all it's data in Ubuntu 12.04 ? I installed a program called Minbar that keeps track of Muslim Prayer times and made the mistake of selecting an option in the programs settings "Minimize to tray" and now I con't bring up the programs window to disable that option and I tried uninstalling the program and reinstalling it and it still does the same thing as if it some how remembered it's settings. I tried running nautilus as a super user and selecting show hidden files and then doing a search for minbar and deleting all the files it found after uninstalling the program and rebooting and it still will not display the programs window to let me change it's settings so that means it is running minmized in the background but since 12.04 no longer has the tray I can't access the program to change it's settings. Is there a way to bring a program that is running in the background to the foreground that is running in memory and force it to be maximized or reset it to it's default settings? I even tried using synaptic package manager and doing a mark for complete removal and it still has the same problem I can't get the programs window to come up to change it's settings.
    Last edited by daldude; March 10th, 2013 at 02:58 AM.

  2. #2
    Join Date
    Oct 2006
    Location
    Dawlish, Devon, UK
    Beans
    584
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    From a terminal type:

    sudo apt-get remove --purge programname

    Hope this helps.
    $> cd /pub
    $> more beer

  3. #3
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXQt14o4
    Beans
    Hidden!

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    Gksudo nautilus should of done the trick. When you searched for leftover files were you in nautilus "Filesystem"?

    https://help.ubuntu.com/community/Ap...moval_commands

  4. #4
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    Somehow, I don't think that purging the package will help. I guess the user preferences for minbar are kept in some subdirectory of the $HOME directory. apt-get purge doesn't touch $HOME. I'd rather suggest something like dconf-editor from the package dconf-tools (for GNOME 3) or gconf-editor (for GNOME 2), but TBH I don't know if settings for minbar will show up there. Edit. minbar is a GNOME 2 application, so definitely try gconf-editor:
    Code:
    sudo apt-get install gconf-editor
    Then Alt+F2, enter gconf-editor, open path apps/minbar/prefs, and uncheck hidden.

    Alternatively, open a terminal and type
    Code:
    gconftool-2 -t bool -s /apps/minbar/prefs/hidden false
    Last edited by schragge; March 9th, 2013 at 06:07 PM.

  5. #5
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,432
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    Although others are answering the thread title, what would be more useful is to be able to see the program's notification area icon.

    http://m.webupd8.org/2011/04/how-to-...-area.html?m=1

    This old article still applies to Ubuntu 12.10. You should also contact the developer of the program and ask them for Indicator support, as the notification area will be removed in 13.04.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  6. #6
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    Quote Originally Posted by daldude View Post
    How do I completely remove a program and all it's data in Ubuntu 12.04 ? I installed a program called Minbar that keeps track of Muslim Prayer times and made the mistake of selecting an option in the programs settings "Minimize to tray" and now I con't bring up the programs window to disable that option and I tried uninstalling the program and reinstalling it and it still does the same thing as if it some how remembered it's settings. I tried running nautilus as a super user and selecting show hidden files and then doing a search for minbar and deleting all the files it found after uninstalling the program and rebooting and it still will not display the programs window to let me change it's settings so that means it is running minmized in the background but since 12.04 no longer has the tray I can't access the program to change it's settings. Is there a way to bring a program that is running in the background to the foreground that is running in memory and force it to be maximized or reset it to it's default settings? I even tried using synaptic package manager and doing a mark for complete removal and it still has the same problem I can't get the programs window to come up to change it's settings.
    The Application you are using will store its 'user preferences' in /home directory, and this file will be hidden. To reveal it you must hit Ctrl+H when you are browsing in /home. Just delete that particular .(dot)folder and you will be able to reset your preferences again. In case you don't find your hidden folder in /home then search /home/.config... (You don't have to be 'root' to do this)

    Uninstall the application and

    Then try:
    $ sudo nautilus

    And from the search bar search for the application in the Filesystem... delete all the files and folder you may find after you uninstall the application first.
    Last edited by fantab; March 9th, 2013 at 06:31 PM.
    "Evolution is Nature's way of issuing upgrades."

  7. #7
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    Quote Originally Posted by fantab View Post
    Then try:
    $ sudo nautilus
    Please don't. Intstead, do
    Code:
    gksudo nautilus
    See http://www.psychocats.net/ubuntu/graphicalsudo

  8. #8
    Join Date
    Oct 2009
    Beans
    170

    Cool Re: How do I completely remove a program and all it's data in Ubuntu 12.04 ?

    FINALLY I fixed the problem. Thanks to all that helped. I used the configuration editor and found a option start minimized and unchecked that but at first I only saw an option that was labeled hidden and when I unchecked that and it did not solve the problem I was still frustrated but then after I settled down and studied all the options in the prefs folder I found the start hidden option and unchecked it.=D>
    Last edited by daldude; March 10th, 2013 at 12:12 PM.

  9. #9
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXQt14o4
    Beans
    Hidden!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •