Return to Level1Techs.com

The small linux problem thread

linux
helpdesk

#1804

Might have to check it out.

Praise be to the fedora magazine though for keeping my linux geeking strong though. Introduced me to exa and glances lol


#1805

powerline… So that’s what that is. I noticed it in terminals on Linux Lite 4.0 (searching for lightweight distros for an old netbook) but didn’t know what was up with the new appearance.


#1806

Did you like it?


#1807

It was a new eye catching aesthetic, but I didn’t play with it much yet. I had no idea what it was or how it could be used or customized.

In general I’m often torn between having the full path and user name at the prompt for unabiguity versus a more compact prompt for clarity.

I’d probably keep the defaults, but especially on small screens my preference will be whichever is most information dense.


#1808

Complete Linux noob here, taken the switch over from Windows a month or so ago.

I am still having trouble learning my way around installing packages.

This is the package that I am trying to install - https://github.com/LN-Zap/zap-desktop#install

I have extracted the file but I can not see a .deb or .AppImage file anywhere; I am clearly missing something obvious

I am using Ubuntu 18.04

Thanks


#1809

You are probably downloading the source - you won’t find a precompiled package from that.

The readme lists this as the download:


#1810

https://github.com/LN-Zap/zap-desktop/releases/download/v0.2.2-beta/ZapDesktop-linux-amd64-v0.2.2-beta.deb


#1811

I am having a couple problems as a new linux user on a asus laptop with nvidia graphics. I am using debian 9.5.

  1. there seems to be a problem with color depth. near solid colors in anything from images, videos and video games seems to have lines where there would be there would be a slight color shift. the lines spread out when using nvidia’s x server to change the color range from full to limited.
  2. the second fan, although running at a slow rpm(took apart the laptop and turned it on), does not change when running the fan speed in terminal. i am using lm-sensors. it only shows pwm1 not a pwm2. I found this for arch users and I am unsure if this is what can fix it or if i can modify it in some way to use it in debian.
    https://github.com/daringer/asus-fan/tree/master/buildscripts/archlinux/asus-fan-dkms-git

#1812

Hi, I’ve been dual booting Ubuntu and Windows 10 for a few months now. Really I only use the Ubuntu installation, but yesterday needed to boot into Windows, Windows updated, and now I can’t boot into Ubuntu. Anyone know of a fix?

Thinkpad e480
Ubuntu 18.04
Kernel 4.18
Windows 10
Version 1803


#1813

Is it booting directly to windows without the option of booting into Ubuntu or does Ubuntu boot part of the way and fail?

If it is the first, then you need to reinstall grub. There are plenty of guides on how to do this, most of them for ubuntu basically this wiki page with pictures- https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

If it is the second, then let us know what exact error(s) you are seeing.


#1814

It was the first. Thank you!


#1815

pfft

use plain vanilla sh

because it is everywhere. you might not find bash or zsh on #ancientUnixVariant

#UnixNeckbeardMasterRace

don’t get me started on PERL. use AWK instead because you might not find perl :joy:

edit:
Plus, awk is faster and more efficient :stuck_out_tongue: (possibly)

I had to fix an AIX server’s fstab before using cat because an admin fucked it up and vi wasn’t available :smiley: cave man tools ftw


#1816

that must have been annoying.


#1817

Not so bad, you just write the whole thing locally on your desktop then do the old cat << EOF bit and paste the whole thing into your SSH session. If you have to type it in locally at a terminal, now that would suck.


#1818

cat << EOF masterrace.


#1819

No remote access. I did it via single user mode on console on physical hardware.


#1820

I used to feel that way … sometimes resorting to ksh-isms. But it’s less important now that #properunixen are relatively rare. On the other hand, bash-isms can make shell scripts somewhat less readable (in my opinion) - and shell scripts can get pretty unreadable on their own.

If we’re swapping old war stories, there was this time when I set a root password that couldn’t be typed on the system console - login defaulted to the old standard of ‘#’ killing a character and “@” killing a line (or perhaps the other way around). Or that time when someone had a vi accident and wiped out half of the main named zone file.

And I have a full feral beard; none of this trendy beard stuff.


#1821

Whats the best way to mount a drive. By uuid or /dev/sda ?

And ive seen multiple ways to grab a uuid, they are different numbers. I’m assuming one is the drive and one is the partition?

Trying to find some good documentation on this.


#1822

Uuid.


#1823

UUID is the one you want. Using /dev/sda is fine if you’re not removing and adding drives routinely. The UUID is persistent while /dev/sd(x) is dependent on which sata port you use. If your not using port 0 for your drive that you list in fstab as /dev/sda and then add another drive in a lower number port, your new drive will become /dev/sda and you will have trouble booting.