Skip to content

u/karper

In this archive from Jun 2009 to May 2019

2
posts
184
comments
0
media
446
score

You switch between them by rebooting and choosing which OS you want to boot into. This is called dual booting (for when you have two operating systems) and has been the way most newbies tried out linux back then.

However, in the past decade or so, a far more popular way to try out operating systems is to install it in a "virtual" machine. In this case, you install a virtual machine application like virtual box, which runs like one of the programs on your computer. Only it simulates a computer for you and you can install an operating system on that "computer". You can then start, pause, shutdown, etc. that virtual machine just like a real machine, without having to reboot your current operating system.

Hope that helps!

6 points

It looks like a second (or first) reboot is needed to fix this issue. To clarify,

  1. Upgrade.
  2. Reboot. Akonadi will fail.
  3. Reboot again. Akonadi should have fixed itself.

I strongly suspect that I didn't do step 3 and just logged out and back in. I've added this point to the bug report.

1 points

I'd happily volunteer to file the bug, but I need some help figuring out where the problem is. Specifically, I have zero experience working with databases, mysql or mariadb. I just have a very hazy idea of what they are.

Now, back to this bug, updating to mariadb 10.0.12 doesn't immediately crash akonadi. However, when you log out and back in, akonadi fails to start, citing errors in mysql, among other things.

The news posted here says I should run mysql_upgrade, but I don't know what to run it on. Akonadi databases are stored in ~/.local/share/akonadi/db_data/akonadi, and is a bunch of .frm and .ibd files. The .ibd ones are bigger, so those are the databases? Basically, I don't know where to even begin troubleshooting this, let alone report a bug.

EDIT: Oh what the hell. I'll get the ball rolling: https://bugs.archlinux.org/task/41178

2 points

Thanks for the link. My google fu was failing miserably trying to find a solution on the forums. I'd hoped there would be a simple fix. :(

EDIT: This isn't looking good. The arch bug was closed because it was reported upstream: https://bugs.kde.org/show_bug.cgi?id=334205 which was also closed because it was reported upstream: https://bugreports.qt-project.org/browse/QTBUG-38733

Downgrade and ignore upgrades till this is fixed, then.

1 points

Use the command line, Luke. The command xrandr can be used to manage different screens. I'd start by reading its man page to get options and google for more info.

Start with xrandr -q which queries the available outputs and resolutions. Your final command is probably going to look similar to this (replace VGA1 and HDMI1 with the correct outputs):

xrandr --output VGA1 --auto --output HDMI1 --auto --right-of VGA1

2 points

Idle 32 bit machine seems to be between 200 to 300 MB. This machine has desktop indexing enabled, but there isn't much to index. I don't use the pim suite there. Mostly default settings. So, this should probably be close to the lower end.

64 bit machine idles at about 1.3 gig. This machine has my entire media collection (a few thousand flacs, a few hundred mkvs) indexed by desktop search and all my email (20K+) as well. This should represent a number close to the upper end.

Since your number is closer to the upper end, I will guess that you're on a 64 bit machine and possibly have the pim suite loaded up with your email? I see my top memory hogs are mysqld (about 300 MB) and plasma-desktop (about 150 MB). The rest are sub-50 MB.

I'm also assuming that you're quoting the proper memory usage. free -m or just read it off the status bar of the system monitor.

3 points

What does the integer 1752 mean?

The synaptics manpage has a kickass ascii art diagram talking about the regions of a touch pad, why I copy-paste here:

         |             |
         | LeftEdge    | RightEdge
   +-----+-------------+---+ Physical top edge
   | 1   |      2      | 3 |
   +-----+-------------+---+ TopEdge
   |     |             |   |
   | 4   |      5      | 6 |
   |     |             |   |
   +-----+-------------+---+ BottomEdge
   | 7   |      8      | 9 |
   +-----+-------------+---+ Physical bottom edge
   |Physical left edge     | Physical right edge

By setting AreaLeftEdge to LeftEdge, you "Ignore movements, scrolling and tapping which start left of this edge". That is, anything starting from 1, 4, 7 are going to be ignored. That's what you did with synclient. It's temporary and will be forgotten when you log out. To make it permanent, you'd add this value to an xorg conf file. Or you'd need to issue the synclient command again.

Now, the original problem you mention, that the left area scrolls in an inverted manner, sounds like you may have circular scrolling enabled. Which is why I used the circular scrolling as an example. If you do, maybe all you need to do is disable that? It would really help if you post your synclient -l output here.

Next, the bit there is the usage information for synclient. Man pages use this system of putting optional things in square brackets []. So, in this case, you can just say synclient, or you can use one or more of the three options: l, V and ?. Read further down the man page to see what each of these options means. -l is the default option and will list settings. Since it's the default, you can just say synclient and it's the same as synclient -l. -V will print out the version and exit and -? is going to print the usage info. The next set of [var=value...] bit says you can set parameters (like AreaLeftEdge, etc) to values. So, the manpage explained how to use synclient. This manpage is also nice enough to include an example. The less obvious bit is that all the variables are listed and described in detail is the synaptics manpage. I do wish this manpage would say that more clearly than adding it as a third entry in the see also section. So, that's how you read manpages.

And now, for a tangent. If you use the arch wiki, be prepared to read through manpages thoroughly. One of the reasons why people generally don't suggest arch linux to newbies is because it demands a certain amount of work and patience on the part of the user. Newbies tend not to have patience (I certainly didn't when I started) when things are broken™. They would much rather type in copy-pasted "spells and chants" into the commandline and hope they work, than understand why that worked. So, kudos on being curious to understand why what you typed in worked. You're well on your way to becoming an arch user. :) And even if you don't use arch, reading the arch wiki should carry that same expectation.

Now, go read the synaptics manpage carefully.

1 points

synclient shows "AreaLeftEdge" as "= 0" which means it's disabled right?

Not quite. From the synaptics manpage:

  Option "AreaLeftEdge" "integer"
          Ignore  movements, scrolling and tapping which start left of this edge.
          The option is disabled by default and can be enabled by setting the
          AreaLeftEdge option to any integer value other than zero. If supported
          by the server (version 1.9 and  later), the edge may be specified in
          percent of the total width of the touchpad. Property: "Synaptics Area"

I'm not sure how I'm supposed to use synclient to modify options. The man page for synclient doesn't even really specify how to do it.

Yes, it does. And it's excellent if you want to play with all the cool things your touchpad can do. Here's the relevant bit:

synclient [-lV?] [var1=value1 [var2=value2] ...]
...
var=value
          Set user parameter var to value.

Say you want to enable circular scrolling. You'd look up the synaptics manpage and find the relevant option.

Option "CircularScrolling" "boolean"
              If on, circular scrolling is used. Property: "Synaptics Circular Scrolling"

Now, you know everything you need. Use synclient like this,

synclient CircularScrolling=true

You can say true or 1. And revert back to false (or 0) if you don't like it.

Now, back to your problem. If area left edge can take a coordinate or a percentage and disable action to the left of that, do you think setting it to 0 helps? How about setting it to something like 10%? Should it perhaps, match the value set for LeftEdge?

1 points

Disregard if you've already tried using synclient.

Have you tried playing with synclient? Options like AreaLeftEdge, etc sound like what you'd want to try setting. Since it's not obvious, read the synaptics manpage, not the synclient manpage (the synclient manpage is very sparse) to get an idea of what each option does. If you want to make the setting permanent, you'd then consider adding a small xorg conf file for that value.

1 points

Instead of cdparanoia, use icedax. It's in the cdrkit package and worked for me when cdparanoia refused to read a disk.

Here's a simple script that shows you how. Refer to the icedax manpage for more info.

#!/bin/bash

# Rip to a temporary directory
TEMP=`mktemp -d`
cd $TEMP

# Rip the CD to wave files
icedax dev=/dev/sr0 --bulk --stereo

# Encode each wave file to a flac file
for file in *.wav
do
    flac "$file" --delete-input-file --output-name="${file%.wav}.flac"
done

# Remove .inf files
rm --force *.inf

# Move temporary folder to desktop
mv $TEMP $HOME/Desktop/cdrip$$

exit 0

Hope that helps!

1 points

That's not what I meant. You should read the manpage for journalctl and find out how to read the logs from a previous boot. As it turns out, it's journalctl -b -1 for the last boot, journalctl -b -2 for the boot before that and so on.

So, now, if you experience a lock up and have to reboot, type journalctl -b -1 to read the logs from the previous boot (the one that locked up) and look for errors.

Your processor shouldn't make a difference for this. My hunch is that this is related to your graphics drivers. If you meant ATI, you'd still want to confirm that it's the cause of the lock up.

1 points

I use kwallet, which stories its data in an encrypted file. The encrypted file will be in ~/.kde4/share/apps/kwallet and will have a .kwl extension typically.

If you sync this directory between two computers, and the wallets have the same name, you can access the same data from both places. You could use rsync or scp for this, I suppose.

Is this the functionality you're trying to reproduce? I'm not familiar with last pass, so I'm guessing it's the ability to sync.

Hope that helps.

1 points

I've seen this happen on one of my computers, often accompanied by error messages from nouveau drivers. The way to read the journal from your previous boot is something like journalctl -B 1 or so. Double check this command and see if you see any errors from your graphics driver in the log for the session you had to reboot out of.

Nouveau typically seems to update once a month, so the solution is just to wait for whatever is the root cause of the bug to be fixed. Or switch to nvidia's binary drivers, which means no kms, etc.

Even if it turns out not to be because of this, checking the journal from the previous boot should tell you what's causing it.

1 points

What you've described sounds an awful lot like your drive is dying. (Are there any disks that your drive is able to read properly?)

If the drive is pretty old, the laser used to read may be dying. It that happens, it may read bits of files, or bits of filenames (which explains the unicode characters you sometimes see. And releasing and remounting a drive may cause it to spin up after a rest, so the laser might intermittently work. Sort of like how a toy with a dying battery works a little when you turn it off and back on.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.