Linux Lite Forums
When opening unknown file, uses command /usr/scripts/updates (file path)... - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: When opening unknown file, uses command /usr/scripts/updates (file path)... (/showthread.php?tid=1040)



When opening unknown file, uses command /usr/scripts/updates (file path)... - bugzeeolboy - 10-25-2014

...instead of using xdg-open or whatever it uses to pick an application for an unknown file. This happens also when opening a directory from another application (eg, opening my downloads folder from firefox)

It will open a terminal with the Linux Lite updates script. Looking in the task manager, it just creates the command "updates /home/bugzee/foo/bar/filename"
I tried sudo rm /usr/scripts/updates, now it opens a terminal with nothing in it.
I tried making /usr/scripts/updates into
Code:
#!/bin/bash
xdg-open $1
and now it won't even open the terminal, it just changes the cursor to 'waiting' icon for a few seconds and stops.
How do I get my normal unknown file handling back?
This happened after an apt-get upgrade a few months ago. I'm using LL 2.0 Beryl.


Re: When opening unknown file, uses command /usr/scripts/updates (file path)... - Valtam - 10-26-2014

The correct Menu command for Install Updates is: x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e /usr/scripts/updates