[lubuntu-users] Can't execute bash scripts from Geany
Jerry Van Brimmer
jwfj77 at zoho.com
Wed Feb 7 16:54:49 UTC 2018
Reply following, it's kinda long, sorry ...
Output of "$ls -la ~/bin" ...
I trimmed the ls outputs to just include the relevant files.
jcig at lubuntu:~$ ls -la ~/bin
total 5716
drwxrwxr-x 13 jcig jcig 4096 Feb 2 16:32 backupscripts
drwxr-xr-- 2 jcig jcig 4096 Feb 6 13:07 cron-scripts
jcig at lubuntu:~$ ls -la ~/bin/backupscripts
total 124
-rwx--x--x 1 jcig jcig 2801 Feb 2 16:31 rsync-backup-adata32-local.sh
jcig at lubuntu:~$ ls -la ~/bin/cron-scripts
total 20
drwxr-xr-- 2 jcig jcig 4096 Feb 6 13:07 .
drwxr-xr-- 18 jcig jcig 4096 Feb 3 16:34 ..
-rwxr-xr-- 1 jcig jcig 1147 Feb 6 13:07 cron-rsync-backup-adata32.sh
-rw------- 1 jcig jcig 60 Oct 27 20:00 .directory
jcig at lubuntu:~$
I have a crontab that calls the "cron-rsync-backup-adata32.sh" script. And
then cron-rsync-backup-adata32.sh calls "rsync-backup-adata32-local.sh"
to actually run rsync to backup the "adata32" flash drive to the local hard
drive.
The setup runs fine when initiated by cron.
I normally use Geany to edit and test the scripts because on other distros
I can run the scripts right from inside Geany to test them.
In Geany I go to "Main Menu Bar / Build / Execute", then a terminal window
opens up displaying the progress of the script. Any errors also shows up
for troubleshooting.
But, here in Lubuntu all I get is the terminal window, but nothing happens,
the script doesn't run.
I can run the scripts from a terminal and they run just fine.
It's just that here on Lubuntu, Geany can't run the scripts.
I also have KDE neon installed on this netbook. Here is a screenshot of
Geany running a script in neon ...
https://my.pcloud.com/publink/show?code=XZHnUz7Zjoqf7oopbK5ILdGhNDs9J5oLX0dk
Here is a screenshot of Geany running a script here on Lubuntu ...
https://my.pcloud.com/publink/show?code=XZlKUz7ZX1RTpb52dG40eJQGUe04aQJNJtfk
As you can see, the script never runs here on Lubuntu. From inside Geany that is.
God bless,
Jerry Van Brimmer
Sent using Zoho Mail
---- On Tue, 06 Feb 2018 17:57:59 -0800 Andre Campos Rodovalho <andre.rodovalho at gmail.com> wrote ----
Run:
ls -la ~/bin
Post results here.
What is the error message you've got?
On 6 February 2018 at 13:04, Jerry Van Brimmer <jwfj77 at zoho.com> wrote:
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
I have some various bash scripts I created, located in my ~/bin directory, to backup my flash drive. Normally, in other distributions I have been able to open, edit the scripts, and execute them right from inside Geany. But for some reason I can't get them to execute from Geany here in Lubuntu.
My machine is a Lubuntu X140e Thinkpad netbook. This OS is Lubuntu 17.10, installed on Jan 13, 2018. All updates have been installed.
System specs are:
jcig at lubuntu:~$ inxi -b
System: Host: lubuntu Kernel: 4.13.0-31-generic x86_64 bits: 64 Desktop: LXDE (Openbox 3.6.1)
Distro: Ubuntu 17.10
Machine: Device: laptop System: LENOVO product: 20BLCTO1WW v: ThinkPad X140e serial: N/A
Mobo: LENOVO model: 20BLCTO1WW serial: N/A
UEFI [Legacy]: LENOVO v: GSET67WW (2.12 ) date: 11/16/2016
Battery BAT1: charge: 46.8 Wh 99.2% condition: 47.2/57.7 Wh (82%)
CPU: Quad core AMD A4-5000 APU with Radeon HD Graphics (-MCP-) speed/max: 800/1500 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8330]
Display Server: x11 (X.Org 1.19.5 )
drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
Resolution: 1366x768 at 60.02hz
OpenGL: renderer: AMD KABINI (DRM 2.50.0 / 4.13.0-31-generic, LLVM 5.0.0)
version: 4.5 Mesa 17.2.4
Network: Card-1: Broadcom Limited BCM43228 802.11a/b/g/n driver: wl
Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller driver: r8169
Drives: HDD Total Size: 595.3GB (9.8% used)
Info: Processes: 176 Uptime: 2:50 Memory: 2165.1/3213.5MB Client: Shell (bash) inxi: 2.3.37
jcig at lubuntu:~$
Permissions on ~/bin
jcig at lubuntu:~$ ls -l
drwxr-xr-- 18 jcig jcig 4096 Feb 3 16:34 bin
Any ideas?
God bless,
Jerry Van Brimmer
Sent using Zoho Mail
Image already added
--
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Image already added
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20180207/eac73677/attachment.html>
More information about the Lubuntu-users
mailing list