LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-26-2010, 12:30 PM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,498

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Unset Default programs in XFCE?


I made the mistake of lending my linux based laptop to a windows nerd to let him have a look at bluefish. He wants Dreamweaver, but the college won't pay licenses for it. So I showed him bluefish:-//.

Now, the $%@! has jpgs associated by default with Internet Explorer under wine :-//. How do I undo that?? How do you get them off that list?
XFCE-4.6.1 on slackware-13.1 it is, no kde or gnome. I've checked all the setup menus but no dice.


I had about 50 instances of stuff like start.exe and core.exe and winebrowser open. Thank heavens for pkill -9!

Last edited by business_kid; 09-29-2010 at 02:24 AM.
 
Old 09-27-2010, 08:38 AM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 66
I'm not sure if XFCE puts this stuff in the same place as Gnome...

Code:
$ cd ~/.local/share/applications
$ rm -rf *wine*
$ update-desktop-database

$ cd ~/.local/share/mime
$ rm -rf *wine*
$ update-mime-database
You may only want to remove specific stuff... but you get the point.
 
1 members found this post helpful.
Old 09-27-2010, 08:40 AM   #3
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Also I believe (no access to my system atm) you can right click the image file, and select open with (might be with shift or ctrl) - from this you can change the default. I had to a few times to fix opening pdf's (they'd keep opening in gimp!!!)
 
1 members found this post helpful.
Old 09-28-2010, 02:46 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,498

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by Meson View Post
I'm not sure if XFCE puts this stuff in the same place as Gnome...

Code:
$ cd ~/.local/share/applications
$ rm -rf *wine*
$ update-desktop-database

$ cd ~/.local/share/mime
$ rm -rf *wine*
$ update-mime-database
You may only want to remove specific stuff... but you get the point.
Yes, thanks. /usr/share/applications is full of desktop files, and the update script falls over one of them. I'll have to go back with uid 0 and make decisions.

update-mime-database throws an error whatever I do, and spits out a short usage message
Usage: update-mime-database [-hvV] MIME-DIR
bash-4.1$ update-mime-database v /usr/share/mime
identical message for any option. Have I bad breadth or something?
 
Old 09-28-2010, 03:02 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,498

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by djsmiley2k View Post
Also I believe (no access to my system atm) you can right click the image file, and select open with (might be with shift or ctrl) - from this you can change the default. I had to a few times to fix opening pdf's (they'd keep opening in gimp!!!)
Yeah, That worked, with one important proviso.

Right Click / Open With / Other Application (even if you can see the one you want)

Images now open with geeqie.
 
Old 09-28-2010, 04:10 AM   #6
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Quote:
Originally Posted by business_kid View Post
Yes, thanks. /usr/share/applications is full of desktop files, and the update script falls over one of them. I'll have to go back with uid 0 and make decisions.

update-mime-database throws an error whatever I do, and spits out a short usage message
Usage: update-mime-database [-hvV] MIME-DIR
bash-4.1$ update-mime-database v /usr/share/mime
identical message for any option. Have I bad breadth or something?
You missing a -

It should be

Code:
update-mime-database -v /usr/share/mime
 
1 members found this post helpful.
Old 09-28-2010, 05:47 AM   #7
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 66
Sorry, I missed a "."

Code:
$ update-desktop-database .
$ update-mime-database .
Do that from within each dir, or replace "." with the path too it.
 
1 members found this post helpful.
Old 09-29-2010, 02:25 AM   #8
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,498

Original Poster
Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Thanks Guys. We canb let this one die. I'm sorted over here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xfce: recreating my default session xri Linux - Desktop 2 06-26-2007 06:49 PM
set/unset programs to run at startup bubazoo Debian 2 04-16-2007 04:50 PM
XFCE can't open KDE programs Tailer Linux - Desktop 2 08-27-2006 01:21 PM
Issue trying to use xFCe as Default paulocr Slackware 13 04-27-2006 12:48 PM
autostart programs under xfce 4.2 nicon Linux - Newbie 3 03-25-2006 02:02 PM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration