[TriLUG] One thing led to another and killed my Samsung Ultrabook running Linux Mint.

Ken MacKenzie via TriLUG trilug at trilug.org
Fri May 22 17:17:05 EDT 2015


quick and dirty

i to go into insert mode
a to go into append mode

esc to leave edit modes above

Commands when not in edit mode:

ZZ to exit and save

:q! to exit without saving

yy yank(copy current line)
p pastes it (I think)
dd deletes current line
x deletes the character you are on

And really those are all carry overs from vim

but vim is smart enough to deal with backspace and delete so just go into
insert mode, move the cursor with the arrow keys, delete, back space, enter
new text, escape out of insert mode and then ZZ to save.

Ken

On Fri, May 22, 2015 at 5:07 PM, Jeremy Davis <jeremyhwllc at gmail.com> wrote:

> looking at vimtutorial now
> On May 22, 2015 5:04 PM, "Ken MacKenzie via TriLUG" <trilug at trilug.org>
> wrote:
>
>> vim would be my preferred if it is installed.  if not, install it.
>>
>> Ken
>>
>> On Fri, May 22, 2015 at 5:01 PM, Jeremy Davis <jeremyhwllc at gmail.com>
>> wrote:
>>
>> > Ok I found the file. How do edit? Seems like nano does not work here.
>> > On May 22, 2015 4:56 PM, "Ken MacKenzie via TriLUG" <trilug at trilug.org>
>> > wrote:
>> >
>> >> Side note, because I forget where config files are located all the
>> time.
>> >> So to save myself the headache I can do this:
>> >>
>> >> First of all you need to make sure mlocate is installed, sudo apt-get
>> >> install mlocate
>> >>
>> >> after that
>> >>
>> >> sudo updatedb
>> >>
>> >> that will update the db information for mlocate.  You need to do that
>> >> periodically but not every time you want to do a locate.  You may get a
>> >> security warning about running updatedb with sudo privileges but on a
>> >> workstation/laptop this is not as relevant as on a server.
>> >>
>> >> then
>> >>
>> >> locate (name of config file)
>> >>
>> >> This can also be useful for tracking down instances of a config.  Now
>> in
>> >> the case of this GlobalSettings.conf file I tested this here:
>> >>
>> >> locate GlobalSettings.conf|grep Cadence
>> >> /home/(myuserid)/.config/Cadence/GlobalSettings.conf
>> >>
>> >> Or to see more you could try this:
>> >> locate .conf|grep Cadence
>> >>
>> >> That should locate all cadence related config files on the system.  At
>> >> least from what I have seen it will.
>> >>
>> >> Ken
>> >>
>> >>
>> >> On Fri, May 22, 2015 at 4:48 PM, Ken MacKenzie <ken at mack-z.com> wrote:
>> >>
>> >> > Cadence config is not in /etc it is in your home so...
>> >> >
>> >> > /home/(yourusername)/.config/Cadence/GlobalSettings.conf
>> >> >
>> >> > or to make life simpler
>> >> >
>> >> > vim ~/.config/Cadence/GlobalSettings.conf
>> >> >
>> >> > Typing that no matter the location will direct you to your instance
>> of
>> >> > that config.
>> >> >
>> >> > Ken
>> >> >
>> >> > On Fri, May 22, 2015 at 4:44 PM, Jeremy Davis via TriLUG <
>> >> > trilug at trilug.org> wrote:
>> >> >
>> >> >> Ok I am home from work and in front of my laptop.
>> >> >>
>> >> >> Bill, your <CTRL><ALT><F1> suggestion works. So I will probably
>> start
>> >> by
>> >> >> moving some files to dropbox or a thumbdrive, then I can tinker on
>> >> things.
>> >> >>
>> >> >> I don't suspect the SSD is failing, although certainly it would not
>> >> hurt
>> >> >> to
>> >> >> check. I have never used ddrescue or anything similar.
>> >> >>
>> >> >> I think the problem is that I created a conflict when I reinstalled
>> >> pulse
>> >> >> from the Mint (wrong) repository. I think it is Kxstudio that has
>> the
>> >> >> correct version. Kxstudio did something to make pulse and jack play
>> >> nice.
>> >> >> Apparently it is a bad idea to forget those programs are not from
>> the
>> >> Mint
>> >> >> repository.
>> >> >>
>> >> >> Should I start by uninstalling pulse and maybe jack?
>> >> >>
>> >> >> Ken, starting from /etc how do I get to the cadence config file and
>> >> change
>> >> >> the startup scripts?
>> >> >> On May 22, 2015 10:42 AM, "Steve Litt via TriLUG" <
>> trilug at trilug.org>
>> >> >> wrote:
>> >> >>
>> >> >> > On Thu, 21 May 2015 18:30:45 -0400
>> >> >> > Bill Farrow via TriLUG <trilug at trilug.org> wrote:
>> >> >> >
>> >> >> > > Before you dive into the LiveCD thing, have you tried
>> >> <CTRL><ALT><F1>
>> >> >> > > to get to a root console ? <CTRL><ALT><F7> switches back to the
>> >> >> > > graphical consol.
>> >> >> >
>> >> >> > Context?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > SteveT
>> >> >> >
>> >> >> > Steve Litt
>> >> >>
>> >>
>>
>>


More information about the TriLUG mailing list