Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Volguus
Mar 3, 2009

Truga posted:

Just use gnome-terminal on kde, it's what everyone dies. I think that's why konsole is so poo poo, probably not even the developers use it :v:

Gonna need data on that "everyone". I ain't. I am using konsole. It works, it does what it's supposed to do. There are other terminals out there (terminology is a great one), but I haven't found anything glaringly off about konsole.

Adbot
ADBOT LOVES YOU

Truga
May 4, 2014
Lipstick Apathy
Konsole has been kinda poo poo since about kde 4. The font rendering can get weird at times, as does scrollback, there's apparently now the problem Vostok just described...

Terminology uses EFL and is therefore bad. Even if it does work correctly by some insane twist of fate, there's probably a RCE somewhere in it.

I dunno, I just use gnome-terminal or terminator (tiling wrapper around the basic gnome terminal) and that works great and has for over 10 years now

e: to be fair last time I tried to use konsole was almost 2 years ago now so maybe they've fixed their poo poo. :shrug:

Truga fucked around with this message at 14:26 on Jun 8, 2018

kujeger
Feb 19, 2004

OH YES HA HA
gnome-terminal also runs all terminals under one server process (gnome-terminal-server), so!

Volguus
Mar 3, 2009

Truga posted:


Terminology uses EFL and is therefore bad. Even if it does work correctly by some insane twist of fate, there's probably a RCE somewhere in it.

Just because they took forever to make it and just because it is more complicate than I'd like to develop in it (I tried) doesn't automatically entitle it to "therefore bad" title. The terminal is nice though, give it a try.

Truga
May 4, 2014
Lipstick Apathy

Volguus posted:

Just because they took forever to make it and just because it is more complicate than I'd like to develop in it (I tried) doesn't automatically entitle it to "therefore bad" title.
No, those don't which is why I never said those do.

This does, though: https://what.thedailywtf.com/topic/15001/enlightened

ToxicFrog
Apr 26, 2008


Truga posted:

Konsole has been kinda poo poo since about kde 4. The font rendering can get weird at times, as does scrollback, there's apparently now the problem Vostok just described...

"The problem Vostok described" is a configuration option that is easy to turn off. I pointed this out last page.

Personally I quite like Konsole and have had way fewer issues with wacky unicode/colour/control sequence experimentation with it than with gnome-terminal.

ewe2
Jul 1, 2009

Volguus posted:

Gonna need data on that "everyone". I ain't. I am using konsole. It works, it does what it's supposed to do. There are other terminals out there (terminology is a great one), but I haven't found anything glaringly off about konsole.

Same, I don't have an issue with it, I can customise it easily, I can set up tabs to ssh to other boxes and reattach tmux, what's not to like?

Dren
Jan 5, 2001

Pillbug
If you use MS office you have a legit reason to dislike Macs, office for OSX is incompatible with office for windows in weird and surprising ways.

On the topic of desktop gripes, is there a way to make gnome 3 virtual terminals accessible in the old grid format instead of the ribbon? If I can’t get that is there at least a way to reorder the virtual desktops within the ribbon? These are my biggest gnome 3 usability issues.

edit: Apparently you can install 'gnome-tweak-tool' now and set a # of static desktops which you can switch to and start the apps you want instead of having the list grow dynamically. I guess it's close enough.

Dren fucked around with this message at 16:42 on Jun 10, 2018

Mogomra
Nov 5, 2005

simply having a wonderful time
I recently distro hopped from Arch Linux to Ubuntu 18.04. Everything is great, except I'm noticing that the color calibration on my laptops built in screen as well as my second monitor is way off. The hue seems off (reds look purpleish), and the color intensity is pretty high too. I can mess with the color intensity on my monitor's settings, but not the hue as far as I know. Even then it's affecting both screens.

Out of all the issues I had with Arch, color calibration was never one of them. I don't own one of those fancy monitor calibrators either. Everything I search seems to point towards needing to get one.

On my desktop with an nVidia card, I can mess with all those settings. Is there anything like that for Linux/Ubuntu? I don't do graphics or anything for work, so it doesn't need to be perfect. It's just really annoying.

This is my laptop in case it matters: https://www.asus.com/Laptops/X750JA/specifications/

apropos man
Sep 5, 2016

You get a hundred and forty one thousand years and you're out in eight!
I'm trying to pass on an initialisation argument to mosh: The Mobile Shell.

I'm able to 'mosh' in using my mobile phone via SSH auth and I want to restrict the ports mosh is using.

I've looked for a systemd unit file and can't work out how mosh server is started. I just did 'apt-get install mosh' and it automatically starts working alongside SSH. I see the binaries in /usr/bin/mosh and /usr/bin/mosh-server but I don't want to run two instances of mosh-server. There's no obvious conf file on my system. How's it starting itself? Is sshd configured to initialise it when it realises that the client wants a mosh session instead of SSH?

I've tried searching for "how is mosh started" but the internet seems to want me to start listening to metal? :downswords:

apropos man fucked around with this message at 07:04 on Jun 12, 2018

jaegerx
Sep 10, 2012

Maybe this post will get me on your ignore list!


apropos man posted:

I'm trying to pass on an initialisation argument to mosh: The Mobile Shell.

I'm able to 'mosh' in using my mobile phone via SSH auth and I want to restrict the ports mosh is using.

I've looked for a systemd unit file and can't work out how mosh server is started. I just did 'apt-get install mosh' and it automatically starts working alongside SSH. I see the binaries in /usr/bin/mosh and /usr/bin/mosh-server but I don't want to run two instances of mosh-server. There's no obvious conf file on my system. How's it starting itself? Is sshd configured to initialise it when it realises that the client wants a mosh session instead of SSH?

I've tried searching for "how is mosh started" but the internet seems to want me to start listening to metal? :downswords:

Look at the systemd file? I bet it’ll accept mosh.d options or an env file


E: use the systemclt edit option

Keito
Jul 21, 2005

WHAT DO I CHOOSE ?
The mosh client itself launches the server with the shell it gets from SSH.

apropos man
Sep 5, 2016

You get a hundred and forty one thousand years and you're out in eight!

jaegerx posted:

Look at the systemd file? I bet it’ll accept mosh.d options or an env file


E: use the systemclt edit option

There isn't a systemd file for mosh.

Keito posted:

The mosh client itself launches the server with the shell it gets from SSH.

So if I want the mosh server to accept a different port range or configure other launch options do I have to specify those in SSH somewhere?

Keito
Jul 21, 2005

WHAT DO I CHOOSE ?

apropos man posted:

So if I want the mosh server to accept a different port range or configure other launch options do I have to specify those in SSH somewhere?

AFAIK there's no config file support in mosh yet. If you want mosh to use a different UDP port range on the server there's the --port parameter which can take a range like port1:port2. The port used for login is defined by sshd_config.

Not sure what you mean by launch options but I'd say it depends.

apropos man
Sep 5, 2016

You get a hundred and forty one thousand years and you're out in eight!
Yeah. I'd like to use the --port parameter but where to use it?

Do I just do:

code:
   #  mosh-server --port 60000:60004 
And that then configures all future sessions?

Yaoi Gagarin
Feb 20, 2014

ToxicFrog posted:

Settings -> Configure Konsole -> General -> [ ] Run all Konsole windows as a single process

That defaults to off for me. :shrug:

I don't have that option

CaptainSarcastic
Jul 6, 2013



VostokProgram posted:

I don't have that option

Weird, I just checked and I have the same as ToxicFrog describes.

Yaoi Gagarin
Feb 20, 2014

CaptainSarcastic posted:

Weird, I just checked and I have the same as ToxicFrog describes.

Maybe it didn't exist in whatever old rear end version Ubuntu 16.04 has? Or maybe the maintainers of ubuntu's kde packages decided that feature should be on by default with no option? Who knows

If it were me managing my own machine I'd just use Fedora but our IT department uses Ubuntu for everything and I didn't feel like making life hard for them when I got my workstation replaced. Oh well :shrug:

mystes
May 31, 2006

Wow, I never even realized that mosh uses udp. I had blithely assumed all the data went via the ssh connection until now.

Keito
Jul 21, 2005

WHAT DO I CHOOSE ?

apropos man posted:

Yeah. I'd like to use the --port parameter but where to use it?

Do I just do:

code:
   #  mosh-server --port 60000:60004 
And that then configures all future sessions?

In normal use cases I don't think you need to call mosh-server directly, you'd just run "mosh --port=$LOWER:$UPPER yourserver" client side. Since there's no config file I guess you'd need to set this as a bash alias or something to make it stick.

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe

mystes posted:

Wow, I never even realized that mosh uses udp. I had blithely assumed all the data went via the ssh connection until now.

There is no ssh connection. That's the thing about mosh: it's a replacement for ssh that has a VT100 state machine embedded in it.

mystes
May 31, 2006

Suspicious Dish posted:

There is no ssh connection. That's the thing about mosh: it's a replacement for ssh that has a VT100 state machine embedded in it.
Doesn't it connect via ssh initially though? Or am I confusing it with a completely different program?

waffle iron
Jan 16, 2004

mystes posted:

Doesn't it connect via ssh initially though? Or am I confusing it with a completely different program?

It uses ssh for authentication and then starts the mosh-server on the other end in a user session. And then once mosh is up, it ends the ssh connection.

apropos man
Sep 5, 2016

You get a hundred and forty one thousand years and you're out in eight!

Keito posted:

In normal use cases I don't think you need to call mosh-server directly, you'd just run "mosh --port=$LOWER:$UPPER yourserver" client side. Since there's no config file I guess you'd need to set this as a bash alias or something to make it stick.

waffle iron posted:

It uses ssh for authentication and then starts the mosh-server on the other end in a user session. And then once mosh is up, it ends the ssh connection.

Aaargh. It's finally clicked now. The SSH server is starting a mosh instance whenever I dial in for a session. So I just need to figure out how SSH initiates mosh and add the parameters in there somewhere.

I don't think I quite got how the process was working before. Cheers!

apropos man
Sep 5, 2016

You get a hundred and forty one thousand years and you're out in eight!
OK. I've got it. The long way to launch a mosh session is like this, and accounts for your ssh port (in case you need/want to change it):
code:
mosh -p 12345 --ssh="ssh -p 2222" foo@wherever.org
You can then change the mosh port to something else and/or the SSH port to something else if you like.
If you're doing the initial SSH handshake on 22 you can leave that part out entirely:
code:
mosh -p 12345 foo@wherever.org
If you "ps -aux | grep mosh" once you're logged in you can see that it's using port 12345.

The reason that I got confused was that I was using JuiceSSH on my phone to mosh in and hadn't noticed the custom command option in JuiceSSH to specify UDP port(s).

mystes
May 31, 2006

waffle iron posted:

It uses ssh for authentication and then starts the mosh-server on the other end in a user session. And then once mosh is up, it ends the ssh connection.
Right For some reason I had been confused before and thought it just kept the ssh connection open and did some sort of special buffering over it.

Keito
Jul 21, 2005

WHAT DO I CHOOSE ?

apropos man posted:

OK. I've got it. The long way to launch a mosh session is like this, and accounts for your ssh port (in case you need/want to change it):
code:
mosh -p 12345 --ssh="ssh -p 2222" [email]foo@wherever.org[/email]
You can then change the mosh port to something else and/or the SSH port to something else if you like.
You can also configure hosts in ~/.ssh/config to specify what port/username/key/whatever to use per server which I find a lot more convenient than passing lots of parameters all the time.

waffle iron
Jan 16, 2004

mystes posted:

Right For some reason I had been confused before and thought it just kept the ssh connection open and did some sort of special buffering over it.

Oh for sure. I didn't understand how it worked until I read one of the academic papers by the authors. I checked their website and they don't really have anything that spells that out besides the PDF of the paper.

other people
Jun 27, 2004
Associate Christ
shame on you for running an application without first comprehending it's source code

Mogomra
Nov 5, 2005

simply having a wonderful time

Mogomra posted:

color calibration issues in Ubuntu

It turns out that the default color profiles assigned to my laptop screen and extra monitor were complete garbage. I had tried other built in profiles, but they were all varying levels of messed up too.

It occurred to me that I never tried using no color profile at all. Like, remove even the default profiles from the list of active ones. It seems to have completely fixed my problem. Nice.

RFC2324
Jun 7, 2012

http 418

Mogomra posted:

It turns out that the default color profiles assigned to my laptop screen and extra monitor were complete garbage. I had tried other built in profiles, but they were all varying levels of messed up too.

It occurred to me that I never tried using no color profile at all. Like, remove even the default profiles from the list of active ones. It seems to have completely fixed my problem. Nice.

I would have expected this to do something retarded like turn everything into a negative.

hooah
Feb 6, 2006
WTF?
How do I tell how big the hard drive is in Linux? I'm running Mint and the disks utility says that I've got a 128 GB Disk that's a Samsung and also a 123 GB "Block Device" mounted at /dev/mint-vg/root (plus two small swap drives). Are the first two actually the same drive?

Roargasm
Oct 21, 2010

Hate to sound sleazy
But tease me
I don't want it if it's that easy
lsblk

hooah
Feb 6, 2006
WTF?

Ok, that clears things up. Thanks.

peepsalot
Apr 24, 2007

        PEEP THIS...
           BITCH!

Also: df -h

hooah
Feb 6, 2006
WTF?
Ok, another couple of related questions (since my wife's trying to get her HDD usage down to fit on my laptop):

1) I have to swipe a lot on the touchpad to move across the screen, even with the sensitivity and acceleration all the way up. What else can I do?

2) I cannot get two-finger scrolling to work, even though I've selected it in the touchpad settings. What other avenues can I explore to get that working?

ToxicFrog
Apr 26, 2008


I don't know the answers to your touchpad questions, but as far as "trying to get HDD usage down" goes, I highly recommend using something like ncdu (terminal), baobab/kdirstat (graphical), or windirstat (graphical, windows) to figure out what's using the most space and what you can most usefully remove.

hooah
Feb 6, 2006
WTF?
A reboot made the touchpad behave. The space concern is on her laptop, since its hard drive is about three times bigger than mine. She's been working on moving all her pictures and whatnot off.

unruly
May 12, 2002

YES!!!

hooah posted:

A reboot made the touchpad behave. The space concern is on her laptop, since its hard drive is about three times bigger than mine. She's been working on moving all her pictures and whatnot off.
Depending on her space concerns, you could drop a microSD/SD card into the machine and symlink it to a folder in her home directory to accommodate.

Adbot
ADBOT LOVES YOU

Mr Shiny Pants
Nov 12, 2012
When Linux sees a drive, but it is not mounted, does it still do powermanagement for the drive?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply