topic title: automount & xfe file manager (solved)
-
Posts: 142
- Joined: 10 Aug 2013
#1
when I insert a usb pendrive opens spacefm or rox. how do I set xfe instead of rox or spacefm?
Last edited by 0day on 09 Aug 2016, 12:53, edited 3 times in total.
-
Posts: 2,238
- Joined: 16 Dec 2007
#2
Automount is set to open in whatever is set as the default file manager. You can set this in"preferred applications" in the control center.
-
Posts: 142
- Joined: 10 Aug 2013
#3
thanks, solved with:
gksu /usr/local/bin/desktop-defaults-set
gksu /usr/local/bin/desktop-defaults-set
-
Posts: 2,238
- Joined: 16 Dec 2007
#4
in fact, using gksu will set the apps for the root account.
the"gksu" should not be necessary. The file managers should pop open an automounted device as a regular user.0day wrote:thanks, solved with:
gksu /usr/local/bin/desktop-defaults-set
in fact, using gksu will set the apps for the root account.
-
Posts: 142
- Joined: 10 Aug 2013
#5
/usr/local/bin/desktop-defaults-set
cp: impossibile eseguire stat di '/usr/share/applications/mimeinfo.cache': File o directory non esistente
mv: replace '/home/kevin/.local/share/applications/mimeinfo.cache', overriding mode 0644 (rw-r--r--)? y
cp: impossibile eseguire stat di '/usr/share/applications/mimeinfo.cache': File o directory non esistente
mv: replace '/home/kevin/.local/share/applications/mimeinfo.cache', overriding mode 0644 (rw-r--r--)? y
-
Posts: 142
- Joined: 10 Aug 2013
#6
I gave the command with gksu. Only because now I'm not move files to the trash or delete files. It gives me permission denied. while if startup xfe root works.
-
Posts: 2,238
- Joined: 16 Dec 2007
#7
Have you removed any applications? Something has happened to your mimeinfo.cache file.
-
Posts: 142
- Joined: 10 Aug 2013
#8
Code: Select all
[MIME Cache]
application/gzip=org.gnome.FileRoller.desktop;
application/ogg=mpv.desktop;
application/pdf=mupdf.desktop;
application/rdf+xml=palemoon.desktop;firefox-esr.desktop;
application/rss+xml=palemoon.desktop;firefox-esr.desktop;
application/sdp=mpv.desktop;
application/smil=mpv.desktop;
application/streamingmedia=mpv.desktop;
application/vnd.debian.binary-package=org.gnome.FileRoller.desktop;
application/vnd.mozilla.xul+xml=firefox-esr.desktop;
application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop;
application/vnd.rn-realmedia=mpv.desktop;
application/vnd.rn-realmedia-vbr=mpv.desktop;
application/x-7z-compressed=org.gnome.FileRoller.desktop;
application/x-7z-compressed-tar=org.gnome.FileRoller.desktop;
application/x-ace=org.gnome.FileRoller.desktop;
application/x-alz=org.gnome.FileRoller.desktop;
application/x-ar=org.gnome.FileRoller.desktop;
application/x-archive=org.gnome.FileRoller.desktop;
application/x-arj=org.gnome.FileRoller.desktop;
application/x-bzip=org.gnome.FileRoller.desktop;
application/x-bzip-compressed-tar=org.gnome.FileRoller.desktop;
application/x-bzip1=org.gnome.FileRoller.desktop;
application/x-bzip1-compressed-tar=org.gnome.FileRoller.desktop;
application/x-cabinet=org.gnome.FileRoller.desktop;
application/x-cbr=org.gnome.FileRoller.desktop;
application/x-cbz=org.gnome.FileRoller.desktop;
application/x-cd-image=xfburn.desktop;org.gnome.FileRoller.desktop;
application/x-compress=org.gnome.FileRoller.desktop;
application/x-compressed-tar=org.gnome.FileRoller.desktop;
application/x-cpio=org.gnome.FileRoller.desktop;
application/x-deb=org.gnome.FileRoller.desktop;
application/x-ear=org.gnome.FileRoller.desktop;
application/x-grsync-session=grsync.desktop;
application/x-gtar=org.gnome.FileRoller.desktop;
application/x-gzip=org.gnome.FileRoller.desktop;
application/x-gzpostscript=org.gnome.FileRoller.desktop;
application/x-httpd-php3=geany.desktop;
application/x-httpd-php4=geany.desktop;
application/x-httpd-php5=geany.desktop;
application/x-java-archive=org.gnome.FileRoller.desktop;
application/x-lha=org.gnome.FileRoller.desktop;
application/x-lhz=org.gnome.FileRoller.desktop;
application/x-lrzip=org.gnome.FileRoller.desktop;
application/x-lrzip-compressed-tar=org.gnome.FileRoller.desktop;
application/x-lzip=org.gnome.FileRoller.desktop;
application/x-lzip-compressed-tar=org.gnome.FileRoller.desktop;
application/x-lzma=org.gnome.FileRoller.desktop;
application/x-lzma-compressed-tar=org.gnome.FileRoller.desktop;
application/x-lzop=org.gnome.FileRoller.desktop;
application/x-lzop-compressed-tar=org.gnome.FileRoller.desktop;
application/x-ms-dos-executable=org.gnome.FileRoller.desktop;
application/x-ms-wim=org.gnome.FileRoller.desktop;
application/x-ogg=mpv.desktop;
application/x-pdf=mupdf.desktop;
application/x-php=geany.desktop;
application/x-rar=org.gnome.FileRoller.desktop;
application/x-rar-compressed=org.gnome.FileRoller.desktop;
application/x-rpm=org.gnome.FileRoller.desktop;
application/x-rzip=org.gnome.FileRoller.desktop;
application/x-rzip-compressed-tar=org.gnome.FileRoller.desktop;
application/x-shellscript=vim.desktop;
application/x-smil=mpv.desktop;
application/x-streamingmedia=mpv.desktop;
application/x-stuffit=org.gnome.FileRoller.desktop;
application/x-tar=org.gnome.FileRoller.desktop;
application/x-tarz=org.gnome.FileRoller.desktop;
application/x-war=org.gnome.FileRoller.desktop;
application/x-xpinstall=palemoon.desktop;
application/x-xz=org.gnome.FileRoller.desktop;
application/x-xz-compressed-tar=org.gnome.FileRoller.desktop;
application/x-zip=org.gnome.FileRoller.desktop;
application/x-zip-compressed=org.gnome.FileRoller.desktop;
application/x-zoo=org.gnome.FileRoller.desktop;
application/xhtml+xml=palemoon.desktop;dillo.desktop;firefox-esr.desktop;
application/xml=geany.desktop;palemoon.desktop;firefox-esr.desktop;
application/zip=org.gnome.FileRoller.desktop;
audio/AMR=mpv.desktop;
audio/aac=mpv.desktop;
audio/ac3=mpv.desktop;
audio/flac=mpv.desktop;
audio/m4a=mpv.desktop;
audio/mp1=mpv.desktop;
audio/mp2=mpv.desktop;
audio/mp3=mpv.desktop;
audio/mp4=mpv.desktop;
audio/mpeg=mpv.desktop;
audio/mpegurl=mpv.desktop;
audio/mpg=mpv.desktop;
audio/ogg=mpv.desktop;
audio/rn-mpeg=mpv.desktop;
audio/scpls=mpv.desktop;
audio/vnd.rn-realaudio=mpv.desktop;
audio/wav=mpv.desktop;
audio/x-aac=mpv.desktop;
audio/x-ape=mpv.desktop;
audio/x-flac=mpv.desktop;
audio/x-m4a=mpv.desktop;
audio/x-mp1=mpv.desktop;
audio/x-mp2=mpv.desktop;
audio/x-mp3=mpv.desktop;
audio/x-mpeg=mpv.desktop;
audio/x-mpegurl=mpv.desktop;
audio/x-mpg=mpv.desktop;
audio/x-ms-wma=mpv.desktop;
audio/x-pls=mpv.desktop;
audio/x-pn-realaudio=mpv.desktop;
audio/x-pn-windows-pcm=mpv.desktop;
audio/x-realaudio=mpv.desktop;
audio/x-scpls=mpv.desktop;
audio/x-shorten=mpv.desktop;
audio/x-tta=mpv.desktop;
audio/x-vorbis+ogg=mpv.desktop;
audio/x-wav=mpv.desktop;
audio/x-wavpack=mpv.desktop;
image/bmp=feh.desktop;
image/gif=palemoon.desktop;feh.desktop;firefox-esr.desktop;
image/jpeg=palemoon.desktop;feh.desktop;firefox-esr.desktop;
image/png=palemoon.desktop;feh.desktop;firefox-esr.desktop;
image/tiff=feh.desktop;
image/x-icon=feh.desktop;
image/x-xbitmap=feh.desktop;
image/x-xpixmap=feh.desktop;
inode/directory=spacefm-find.desktop;spacefm.desktop;spacefm-folder-handler.desktop;
inode/mount-point=spacefm.desktop;
text/css=geany.desktop;
text/english=vim.desktop;
text/html=geany.desktop;palemoon.desktop;dillo.desktop;firefox-esr.desktop;
text/plain=geany.desktop;nano.desktop;leafpad.desktop;vim.tiny.desktop;vim.desktop;
text/x-c=vim.desktop;
text/x-c++=vim.desktop;
text/x-c++hdr=geany.desktop;vim.desktop;
text/x-c++src=geany.desktop;vim.desktop;
text/x-chdr=geany.desktop;vim.desktop;
text/x-csrc=geany.desktop;vim.desktop;
text/x-diff=geany.desktop;
text/x-dsrc=geany.desktop;
text/x-java=geany.desktop;vim.desktop;
text/x-makefile=vim.desktop;
text/x-moc=vim.desktop;
text/x-pascal=geany.desktop;vim.desktop;
text/x-perl=geany.desktop;
text/x-python=geany.desktop;
text/x-sql=geany.desktop;
text/x-tcl=vim.desktop;
text/x-tex=vim.desktop;
text/xml=palemoon.desktop;dillo.desktop;firefox-esr.desktop;
video/mp2t=mpv.desktop;
video/mp4=mpv.desktop;
video/mpeg=mpv.desktop;
video/msvideo=mpv.desktop;
video/ogg=mpv.desktop;
video/quicktime=mpv.desktop;
video/vnd.rn-realvideo=mpv.desktop;
video/webm=palemoon.desktop;mpv.desktop;
video/x-avi=mpv.desktop;
video/x-fli=mpv.desktop;
video/x-flv=mpv.desktop;
video/x-matroska=mpv.desktop;
video/x-mpeg=mpv.desktop;
video/x-mpeg2=mpv.desktop;
video/x-ms-afs=mpv.desktop;
video/x-ms-asf=mpv.desktop;
video/x-ms-wmv=mpv.desktop;
video/x-ms-wmx=mpv.desktop;
video/x-ms-wvxvideo=mpv.desktop;
video/x-msvideo=mpv.desktop;
video/x-ogm+ogg=mpv.desktop;
video/x-theora=mpv.desktop;
x-content/audio-cdda=xfburn.desktop;
x-content/blank-cd=xfburn.desktop;
x-scheme-handler/chrome=palemoon.desktop;
x-scheme-handler/ftp=palemoon.desktop;spacefm.desktop;
x-scheme-handler/http=palemoon.desktop;spacefm.desktop;firefox-esr.desktop;
x-scheme-handler/https=palemoon.desktop;spacefm.desktop;firefox-esr.desktop;
x-scheme-handler/mtp=spacefm.desktop;
x-scheme-handler/nfs=spacefm.desktop;
x-scheme-handler/ptp=spacefm.desktop;
x-scheme-handler/smb=spacefm.desktop;
x-scheme-handler/ssh=spacefm.desktop;
x-scheme-handler/webdav=spacefm.desktop;
-
Posts: 2,238
- Joined: 16 Dec 2007
#9
please post output of this command
Code: Select all
ls /usr/share/applications |grep mime
-
Posts: 142
- Joined: 10 Aug 2013
#10
$ ls /usr/share/applications |grep mime
kevin@antix1:~
$
kevin@antix1:~
$
-
Posts: 2,238
- Joined: 16 Dec 2007
#11
ok, so the globabl mimetype.cache is missing.
you can recreate it with
although I do not know why its missing in the first place.
edit: where did your mimeinfo you posted above come from?
you can recreate it with
Code: Select all
sudo update-desktop-database
edit: where did your mimeinfo you posted above come from?
-
Posts: 142
- Joined: 10 Aug 2013
#12
Code: Select all
$ sudo update-desktop-database
[sudo] password di kevin:
sudo: update-desktop-database: comando non trovato
kevin@antix1:~
-
Posts: 2,238
- Joined: 16 Dec 2007
#13
Ok, now that is interesting. you are missing a rather important set of utilities. Why is the question.
post this output please
post this output please
Code: Select all
dpkg -s desktop-file-utils
-
Posts: 142
- Joined: 10 Aug 2013
#14
scusa non mi fa più accedere al sito:
you don't have permission to access/posting.php on this server
??
you don't have permission to access/posting.php on this server
??
-
Posts: 2,238
- Joined: 16 Dec 2007
#15
put a space between any / and etc
example: / etc/apt/sources.list.d
0day wrote:scusa non mi fa più accedere al sito:
you don't have permission to access/posting.php on this server
??
put a space between any / and etc
example: / etc/apt/sources.list.d