1 2 3 4 5 6 7 8 9 10 | ||
Editor: DonovanBaarda
Time: 2014/11/17 13:47:54 GMT+11 |
||
Note: lxterminal login shells! |
added:
From DonovanBaarda Mon Nov 17 13:47:54 +1100 2014
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: DonovanBaarda
Date: Mon, 17 Nov 2014 13:47:54 +1100
Subject: lxterminal login shells!
Message-ID: <20141117134754+1100@minkirri.apana.org.au>
If you don't have a login shell in lxterminal, your .profile and/or .bash_profile will not be sourced. The lxterminal manpage will tell you that -l gives you a login terminal, but this also changes to use /bin/sh instead of bash. So, right click on the menu item, click "properties; Desktop Entry", and change the command to::
lxterminal --geometry=160x75 -e "bash -il"
Note if you have copied this menu item to any panel "Application Launch Bar" you will need to remove and re-add it to get the changes.
However, annoyingly this will only apply to the first tab created when lxterminal is started. Any additional tabs opened will not use the -e or -l flags. The only currently working fix is a nasty hack in your .bashrc to force a login shell::
# If running interactively, then:
if [ "$PS1" ]; then
# If .bash_profile has not been sourced exec a bash login shell instead.
[ -v PROFILE_DONE ] || exec bash -il "$@"
...
See http://sf.net/p/lxde/bugs/701 and http://sf.net/p/lxde/bugs/700 I filed against lxterminal about this.
I work with computers. They regularly frustrate the hell out of me. This is where I will vent, and where possible outline solutions as I find them.
Google shits me --DonovanBaarda?, Sun, 14 Jan 2007 12:42:04 +0000 reply
I know it's not really Google's fault, but once apon a time I used to be able to cut and past an error message into the Google search dialog and find the solution. Now I find thousands of half-arsed posts asking for help for something similar with no solution at all, or at best some clueless newbies half-arsed busted suggestion that solved his not-related-at-all problem.
Galeon shits me --DonovanBaarda?, Sun, 14 Jan 2007 13:00:03 +0000 reply
Was just half-way through writing a rant on gnome-cups-manager, tried a print preview and it opened it in a tab and turned off all my toolbars. I couldn't find any way to turn them back on. In attempting to restore them by dragging tabs into a new window that had the toolbars, it froze my whole X session so I had to kill it, loosing all my rant typing.
gnome-cups-manager shits me --DonovanBaarda?, Sun, 14 Jan 2007 13:04:46 +0000 reply
Setting up an epson USB printer under Debian using gnome-cups-manager. All went well until printing the Test Page, at which point the job just stalls with "Stopped: job-stopped". Using the cups web interface at http://localhost:631/ the test page prints fine, it's only screwed for gnome-cups-manager. It appears that printing from other apps works OK, but there are some margin issues that need fixing... I've updated the bug report at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383785
Unity Shits me --DonovanBaarda?, Mon, 13 Jun 2011 13:33:07 -0400 reply
The new Unity UI for Ubuntu annoys the hell out of me... back to the Gnome classic interface for me. I've never been a big fan of apple's global menu idea, but can understand why it might make sense, but the main thing I hate is the lack of hierarchical menus. They seem to have decided hierarchies are too hard, lets just show a flat list of popular icons and make the rest searchable. The problem with this is it's not discoverable. I can't just browse around a logical hierarchy and find what I want or find out it's not there. The flat icons are only a fraction of what's possible, and the search dialog is so open ended I never know if I just didn't find the right search terms. I worry about a whole new generation of computer users who don't understand hierarchies as a way of organizing data.
Gnome Classic Flashback Mate Cinamon/WTF! --DonovanBaarda?, Wed, 22 Oct 2014 14:18:16 +1100 reply
The year of the Linux desktop was so close and is receding into a fragmented mess. We still have all the not-gnome-desktops, but now Gnome forks are trying to outnumber them. Clearly Gnome3 was a mistake, because we now have not 1 but 4 different re-implementations of the old Gnome2 interface. Mate I can understand a little bit as Gnome2 lives on, and Cinamon as lets do Gome3 right. But why do we need two more gnome2-done-with-gnome3 "Classic" and "Flashback"? I've tried most of the new gnomes and within a day I'm finding that they are mostly OK and very similar, but each have some brokenness that is a regression on what I had with Gnome2.
Trusty Gnome Flashback rendermess --DonovanBaarda?, Wed, 22 Oct 2014 14:22:47 +1100 reply
It seems gnome-terminal in Gnome Flashback on Ubuntu Trusty has some strange rendering bug where the terminal will flash/toggle between different tabs and/or old views over all or part of the screen (where it overlaps with a window behind it). C'mon people! This is basic draw shit on the screen stuff... if you can't get that right, why am I going to use your desktop. Come back to me when you have something that works.
Cinamon Themes? --DonovanBaarda?, Wed, 22 Oct 2014 14:42:07 +1100 reply
What retards design the theming stuff for these desktops? Why does the default theme have to be so shit you are required to find something else? What idiot makes control icons 1/20th the size of the button they are in. WTF does that dot mean? Is this like traffic-lights for colour-blind people; you are supposed to know what they mean by the position they are in? Why put round buttons in a square bit of screen? I hate magic popup controls, particularly your stupid scrollbars. But even worse, WTF does selecting a "theme" do? It seems to only affect the panel. All the window borders/controls/etc have to be separately changed. Listen: How to do "Themes" right;
lxterminal login shells! --DonovanBaarda?, Mon, 17 Nov 2014 13:47:54 +1100 reply
If you don't have a login shell in lxterminal, your .profile and/or .bash_profile will not be sourced. The lxterminal manpage will tell you that -l gives you a login terminal, but this also changes to use /bin/sh instead of bash. So, right click on the menu item, click "properties; Desktop Entry", and change the command to:
lxterminal --geometry=160x75 -e "bash -il"
Note if you have copied this menu item to any panel "Application Launch Bar" you will need to remove and re-add it to get the changes.
However, annoyingly this will only apply to the first tab created when lxterminal is started. Any additional tabs opened will not use the -e or -l flags. The only currently working fix is a nasty hack in your .bashrc to force a login shell:
# If running interactively, then: if [ "$PS1" ]; then # If .bash_profile has not been sourced exec a bash login shell instead. [ -v PROFILE_DONE ] || exec bash -il "$@" ...
See http://sf.net/p/lxde/bugs/701 and http://sf.net/p/lxde/bugs/700 I filed against lxterminal about this.