Might also be related to permissions, because this works:
sudo lxterminal -T mytit -e some_script.sh
but it runs the whole script as root. Possibly I can use it as a wrapper to do something like;
sudo -u username -H -e some_other_script.sh
I'll revise this post after I try that.
Search found 45 matches
- Fri May 26, 2017 5:13 pm
- Forum: LXTerminal
- Topic: Can't specify title of lxterminal running bash
- Replies: 5
- Views: 14841
- Fri May 26, 2017 4:52 pm
- Forum: LXTerminal
- Topic: Can't specify title of lxterminal running bash
- Replies: 5
- Views: 14841
A work-around
I found I can run a wrapper script in the background (so lxterminal can't mess with it) to get the title option working when invoking lxterminal. The wrapper must have a shebang that points to something besides bash. Both tcsh and dash work. I haven't investigated other shells yet. The shebang in th...
- Thu May 25, 2017 7:40 pm
- Forum: LXTerminal
- Topic: Can't specify title of lxterminal running bash
- Replies: 5
- Views: 14841
other odd behaviours that I suspect are related
Investigating this, I stumbled across some things I suspect may be related: 1. Starting terminal emulator in a specific shell: ------------------------------------------------------------ These commands work as expected, starting the terminal emulator using tcsh: $ SHELL=/bin/tcsh xvt $ SHELL=/bin/t...
- Thu May 25, 2017 3:48 pm
- Forum: LXTerminal
- Topic: Can't specify title of lxterminal running bash
- Replies: 5
- Views: 14841
Re: Can't specify title of lxterminal running bash
Thanks, Drooly. I wouldn't have thought of those 2 files. I'll post whatever I figure out.
- Tue May 23, 2017 10:40 pm
- Forum: General Help
- Topic: Remove program from right click context menu
- Replies: 6
- Views: 5099
Re: Remove program from right click context menu
Is there a penalty for heresy here? You might try spacefm as a gui file browser instead of pcmanfm. Takes a little getting used to, because the dev IgnorantGuru chose to ignore all sorts of conventions that are common to graphical file browsers and start from scratch. But it makes these sorts of thi...
- Tue May 23, 2017 10:19 pm
- Forum: General Help
- Topic: Menu Button Bind Corner of the Display
- Replies: 3
- Views: 2920
Re: Menu Button Bind Corner of the Display
If you mean the menu that starts with "Send to Desktop" and ends with "Close", which is mousebound to the window edges in the rc.xml, do 2 things: 1. Make your window borders a little thicker. This is specified in the themerc file in the your Openbox theme. Try 5 pixels as an ini...
- Tue May 23, 2017 10:07 pm
- Forum: General Help
- Topic: ohhhhhh! terrible effect of xrandr -o normal/left in lxqt
- Replies: 2
- Views: 2636
Re: ohhhhhh! terrible effect of xrandr -o normal/left in lxqt
Not pointless criticism but sincere well-intentioned advice: You need to work harder at learning how to express yourself in English if you are going to be communicating about technical subjects. Your competency in the language is probably more than adequate for a social situation, but you'd be a dis...
- Tue May 23, 2017 9:56 pm
- Forum: General Help
- Topic: Automount SD card when logging on as non-root?
- Replies: 2
- Views: 2498
Re: Automount SD card when logging on as non-root?
Did you try putting an appropriate line in /etc/fstab? I'm assuming it works like any other removable media and I might be wrong about that. But if it does, fstab would be the traditional way. For the exact syntax, study: man fstab You want it set to automount, and NOT to put booting on hold if it i...
- Tue May 23, 2017 9:37 pm
- Forum: LXTerminal
- Topic: Can't specify title of lxterminal running bash
- Replies: 5
- Views: 14841
Can't specify title of lxterminal running bash
I have lxterminal 0.2.0-1 under openbox 3.6.1-1ubuntu2 under Ubuntu Xenial 16.04 LTS, 64 bit. Minimalist environment installed from the mini.iso and built up. Something, I suspect bash, is policing the titles of lxterminal windows running bash, specifically GNU bash, version 4.3.48(1)-release (x86_6...
- Tue May 23, 2017 8:44 pm
- Forum: LXTerminal
- Topic: LXDE on Kali-2016.1 x64 configure hotkeys for teminal
- Replies: 3
- Views: 12127
Re: LXDE on Kali-2016.1 x64 configure hotkeys for teminal
Is necroposting OK here? Somebody might wander by looking for the same information, so: What I'm writing is based on plain Openbox, but lxde should be similar if not exactly the same. You might try setting keybindings in: ~/.config/openbox/rc.xml or there is probably a very similar file specific to ...