6

Gedit opens an "Unsaved document" on opening files with mouse

view full story
linux-howto

https://bbs.archlinux.org – felrood wrote:It's not a bug, it's a feature!Gedit seems to display data from stdin in a new "Unsaved document". For example:echo "foobar" | geditTo break the pipe opened by krusader, i replaced the command 'gedit %U' in krusader with this script:#!/bin/bash gedit $1 < /dev/nullman, you're a genius. thank you so much! ps. perhaps a more global solution is right clicking Kmenu button -> edit applications -> find gedit there -> put "gedit $1 < /dev/null" in gedits command field -> save pootzko https://bbs.archlinu (HowTos)