It is currently Thu Apr 25, 2024 10:02 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
Offline
 Post subject: Linux woes
Post #1 Posted: Sat Sep 26, 2015 5:28 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
I'm a great fan of Linux and think it's wonderful... I've got a distressing story.

One of my great pleasures is the text editor. One such text editor for Linux is called Gedit. There was a plugin only available in Gedit 3. At the time, I was rocking with Linux Mint 17.2 on my desktop computer and having a nice time. But Gedit was version 2 in Mint. So I tried installing it from source.

Spent several good hours on forums and typing things into the terminal. :study:

I forgot that Linux likes to install thousands of libraries when installing certain things from source. Did I mention 40kbps internet connection speed? Yeah. So, that was no fun.

So I took a laptop to work and downloaded Fedora 21 onto a thumb drive instead. That had Gedit 3! I was happy. Then, I said, 'Oh, I want to play Endless Legend'. So, I downloaded Steam. Meanwhile, I remembered, I have to install a proprietary driver for ATI cards. Oops! Apparently, the driver is a pain in the fundament to install on Fedora and is not for the unskilled. Damn.

Spent several good hours on forums and typing things into the terminal. :study:

So... Took the laptop to work again. Downloaded Ubuntu 15.04. Yes! That had the proprietary driver, and it had Gedit 3! Installed that. And then, I started to have horrific wifi problems. It would keep swapping to power save mode, it would keep disconnecting when refreshing network lists, dmesg was displaying various strange things, the wifi would exhibit wildly different behaviour run to run, it didn't matter whether I was running NetworkManager or any of the other wrappers, I think the driver and the kernel are incompatible.

Then I read that the developers of Endless Legend never ported their game to Linux.

:cry:

So, tomorrow I'm going back to Linux Mint. Or maybe Fedora. In any case, my weekend did not deserve to be sledgehammered. I'm really quite upset.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #2 Posted: Sat Sep 26, 2015 11:34 pm 
Lives in sente

Posts: 923
Location: UK
Liked others: 72
Was liked: 479
Rank: 5 dan
KGS: macelee
Chinese people call this 'no zuo no die' :)

http://www.urbandictionary.com/define.p ... zuo+no+die

Being a heavy Linux user myself for 15 years, My suggestion is to work with something that you are familiar with and has worked for you. Do not try to change too frequently.

Talking about gedit, I am not impressed. I have to open sgf files in a text editor. gedit crashed half of the time when opening something containing Korean or Chinese characters.

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #3 Posted: Sun Sep 27, 2015 9:28 am 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
I've installed Mint 17.2 again.

Wireless works perfectly, and I'm just installing Steam again.

Lesson learnt!

A shame Ubuntu 15.04 doesn't like my computer. But reading on the forums and support sites, it sounds like many, many people are having difficulties since NetworkManager went 1.0.xx. Kernel version is also different on Mint.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #4 Posted: Sun Sep 27, 2015 9:31 pm 
Lives with ko

Posts: 189
Location: Chicago, IL
Liked others: 159
Was liked: 36
Rank: KGS 3 kyu
Still a fan of vim. Gedit works for a few things, Atom works nicely for a few others. But vim is usually the easiest.

_________________
Go Books

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #5 Posted: Mon Sep 28, 2015 1:49 am 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Quote:
But vim is usually the easiest.


For the people who grok vi, certainly.

For the people who don't know their :q! from their ggVG, there are other editors.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?


This post by Jujube was liked by: sparky314
Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #6 Posted: Tue Sep 29, 2015 8:02 am 
Oza

Posts: 2494
Location: DC
Liked others: 157
Was liked: 442
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Speaking as someone who occasionally has to connect to systems other people set up, if you can use vi (even in a rudimentary fashion) you are fine, but if you can't, you may not be able to edit effectively at all depending on what they installed. Regardless of whether it's your favourite editor or not, it's the only editor you can count on to exist on a unix-like system.


This post by skydyr was liked by: sparky314
Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #7 Posted: Tue Sep 29, 2015 5:40 pm 
Lives in gote
User avatar

Posts: 603
Liked others: 43
Was liked: 139
Rank: 6-7k KGS
sparky314 wrote:
Still a fan of vim. Gedit works for a few things, Atom works nicely for a few others. But vim is usually the easiest.

I know I've posted this before, but:

Image


This post by Fedya was liked by 3 people: RBerenguel, sparky314, xed_over
Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #8 Posted: Wed Sep 30, 2015 3:26 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
macelee wrote:
Chinese people call this 'no zuo no die' :)

http://www.urbandictionary.com/define.p ... zuo+no+die

Being a heavy Linux user myself for 15 years, My suggestion is to work with something that you are familiar with and has worked for you. Do not try to change too frequently.

Talking about gedit, I am not impressed. I have to open sgf files in a text editor. gedit crashed half of the time when opening something containing Korean or Chinese characters.


Yak shaving is the tech term I guess :D

As for text editors, you can't usually go wrong with emacs or vim (I wouldn't put my hand on vim's support for UTF8/multilingual-environment though, haven't checked, but emacs handles that well)

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #9 Posted: Wed Sep 30, 2015 6:01 am 
Dies with sente

Posts: 96
Liked others: 0
Was liked: 14
Jujube wrote:
I've installed Mint 17.2 again.

Wireless works perfectly, and I'm just installing Steam again.

Lesson learnt!

A shame Ubuntu 15.04 doesn't like my computer. But reading on the forums and support sites, it sounds like many, many people are having difficulties since NetworkManager went 1.0.xx. Kernel version is also different on Mint.


When it comes to hardware compatibility the biggest issue is how recent the kernel is. The older the hardware the more likely it is the kernel driver team have caught up and implemented drivers to whatever device you're running. So if in doubt, run the most recent kernel you can.

As for installing from source. I believe the correct way in these cases is to either build your own .deb for mint, or compiling from source but fetching libraries needed via apt-get. At least making sure you are effectively building any gedit 3 against Mint 17.2 libraries. If you start building your own libraries and installing them you'll then have a mix-mash of libraries and the package management system will not be aware. Pain will ensue. Following steps online for how to compile gedit will be fine for how actually build it, but may go against how packages are supposed to be built for your system and so installation and dependencies issues may exist afterwards.

If this were debian you could pull the source package from Sid and build a binary package against stable yourself relatively easily (pull the package, run debbuild). There is also the backports facility which is effectively the same process but done for you, with some basic tracking of security updates going forwards. This just requires activation of this repository.

With all these Linuxes it's best to learn how they're supposed to be used so you don't end up fighting it.


Last edited by longshanks on Fri Oct 02, 2015 11:02 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #10 Posted: Wed Sep 30, 2015 6:03 am 
Dies with sente

Posts: 96
Liked others: 0
Was liked: 14
sparky314 wrote:
I know I've posted this before, but [snip pic from xkcd]



That's pretty funny. Not seen that before :)


Last edited by longshanks on Wed Sep 30, 2015 6:05 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #11 Posted: Wed Sep 30, 2015 6:05 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
skydyr wrote:
Speaking as someone who occasionally has to connect to systems other people set up, if you can use vi (even in a rudimentary fashion) you are fine, but if you can't, you may not be able to edit effectively at all depending on what they installed. Regardless of whether it's your favourite editor or not, it's the only editor you can count on to exist on a unix-like system.


Actually that's cat, if you go down the rabbit hole of barebones linux systems. Cat, ed, nano/vi(m) and emacs is the usual hierarchy of availability

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #12 Posted: Wed Sep 30, 2015 6:42 am 
Lives in sente

Posts: 1037
Liked others: 0
Was liked: 180
Non 'nix folks aren't going to be able to understand this. To help them.

The vi(m) vs (x)emacs is old and bitter and represents more than simply preference of editors but is a wider philosophical division.

vi(m) is simply an editor.

emacs is a much wider "environment", could also use email and for having a LISP environment available. Because emacs written in LISP and a LISP environment provided, you could customize the behavior of the editor (but that's WAY beyond an ordinary user).

I used a (modern GUI* variant) vi for ordinary editing task but emacs if I wanted to write/test a LISP program.

* Need to explain, but some of these editors are "language sensitive". In other words, you can tell it "this document is a program in the c language" and the editor knows the syntax rules for c --- can put different "parts of speech" in different colors, indent properly, spot missing parts of a construct, etc. For example, you are typing along and all of a sudden what you think is code appears in the "comment" color; oops, you missed putting in an "end of comment".

I would find using any of these editors a pain for ordinary text editing, but for writing code, great.

Top
 Profile  
 
Offline
 Post subject: Re: Linux woes
Post #13 Posted: Thu Oct 01, 2015 5:37 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Agree mostly with everything Mike says except this.

Mike Novack wrote:
[...]

I would find using any of these editors a pain for ordinary text editing, but for writing code, great.


I use emacs for 90% of all my writing, the only thing I don't use it for is Markdown, because I use an editor with real-time preview (probably I could either find a package to do it in emacs or do it myself, even.) Basically there is no awesome package for markdown in emacs (yet.) I use emacs for all my work email (I used to use gnus, now I use mu4e,) all programming work and writing my PhD dissertation in TeX (using the great AucTeX package, which includes inlined previews of TeX formulas.) In the past I've tried to use "emacs for everything" to see how far I could get it, even browsing from within emacs.

Vim (and emacs with the evil package, which adds a kind of emulation layer of vim commands to emacs) are awesome for text editing. I no longer remember how to do it in proper emacs (so I'll use the vim way.) You want to delete the rest of the sentence you are in? You type dt. (delete 'til point) You want to change this word? ciw (change inside word, you could also use around to change the delimiters or spaces around it, or use c1w for change 1 word, c2w for changing this word and the next... etc.) Emacs rocks (I could say vim, but since emacs can simulate a pretty decent vim, I deem it the winner of the war.)

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group