… but running it manually (copy paste into terminal line by line) works
New to Endeavor and relatively new to Arch world and generally to Linux world
I have set one partition with Manjaro, another with Endeavor, everything is the same, both fresh installs, only running one old win32 game on them, since I havent figure out yet, how to run it on my Debian based OS. Game works fine on both. But I can’t seem to figure out, how to run ‘sh’ script by doubleclicking on it, on Endeavour. The same script runs ok on Manjaro. This is script:
#! /bin/bash
cd /home/mx/Desktop/Ruun/
conda activate myvenv
python myapp.py
If I open the terminal and run script line by line, all goes well:
(running python virtual environment ‘myvenv’ and inside running program ‘myapp.py’)
Script is owned by me, and it is executable. Everything is the same as on Manjaro. Interestingly, i have another script, that opens the terminal and starts another script that runs the game, that script works fine, by doubleclicking on it with the mouse. Working script:
#! /bin/bash
xfce4-terminal & ./launcher.sh run
Anyone happens to know what may be the sollution? I have 15 scripts that need to run these virt environments 3 at a time and it is time consuming running them one line at a time.
Sys info although probably not needed and I’m on manjaro at this time.
Well just in case:
System: Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Xfce 4.16.0
Distro: Manjaro Linux base: Arch Linux
Machine: Type: Desktop System: Hewlett-Packard product: HP Compaq 6200 Pro MT PC v: N/A serial:
Mobo: Hewlett-Packard model: 1497 serial: UEFI: Hewlett-Packard v: J01 v02.15
date: 11/10/2011
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Mouse B330/M330/M331
charge: 55% (should be ignored) status: Discharging
CPU: Info: Quad Core model: Intel Core i7-2600 bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 cache:
L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54310
Speed: 2630 MHz min/max: 1600/3800 MHz Core speeds (MHz): 1: 2630 2: 2217 3: 3345 4: 1835 5: 2477
6: 2415 7: 2398 8: 2521
Graphics: Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] vendor: Sapphire Limited
driver: amdgpu v: kernel bus-ID: 01:00.0
Display: x11 server: X.Org 1.20.13 driver: loaded: amdgpu,ati unloaded: modesetting
resolution: 1680x1050~60Hz
OpenGL: renderer: Radeon RX550/550 Series (POLARIS12 DRM 3.41.0 5.13.19-2-MANJARO LLVM 12.0.1)
v: 4.6 Mesa 21.2.2 direct render: Yes
Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] vendor: Sapphire Limited
driver: snd_hda_intel v: kernel bus-ID: 01:00.1
Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.37 running: no
Network: Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: kernel port: f040
bus-ID: 00:19.0
IF: eno1 state: down mac:
Device-2: Intel 82540EM Gigabit Ethernet driver: e1000 v: kernel port: d000 bus-ID: 06:00.0
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac:
Drives: Local Storage: total: 495.01 GiB used: 15.96 GiB (3.2%)
ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Blade size: 29.25 GiB
Partition: ID-1: / size: 57.84 GiB used: 15.75 GiB (27.2%) fs: ext4 dev: /dev/sda4
Swap: Alert: No swap data was found.
Sensors: System Temperatures: cpu: 39.0 C mobo: N/A gpu: amdgpu temp: 48.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1072
Info: Processes: 249 Uptime: 1d 1h 42m Memory: 7.73 GiB used: 3.54 GiB (45.8%) Init: systemd Compilers:
gcc: N/A Packages: 1080 Shell: Bash v: 5.1.8 inxi: 3.3.06