Skip to main content

Thread: Working directory problems


i have problem working directories.
script use start application.

code:
export ld_library_path=/opt/ewns-viewer export gsettings_schema_dir=/opt/ewns-viewer /opt/ewns-viewer/ewns-viewer
when start using start in terminal alert box, goes fine.
when start without terminal program fails work because
pwd equals home.
using .desktop file terminal set true , works,with terminal set false fails.the .desktop file calls run script.

using posix.chdir before work in directory (that works when run script called terminal)

just put cd command @ top of script?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Working directory problems


Ubuntu

Comments