Skip to content

u/ThreeInvisibleDucks

In this archive from Mar 2012 to Oct 2016

2
posts
20
comments
0
media
46
score

You can toggle Num Lock state with xdotool: xdotool key Num_Lock. Some distros execute the commands in ~/.xinitrc automatically, don't know about Mint specifically.

To modify key behaviour, one can use xmodmap. Disabling Num Lock key is something like xmodmap -e "keycode 77 =". My Xubuntu system reads the config automatically from the file ~/.Xmodmap .

1 points

Thanks for the heads up! I had already updated and missed the warnings, but for a local desktop box the only issue was that some ports that I had opened where now closed, so no biggie?

Lesson learned: evaluate pacman output more carefully from now on.

Restoring the pacsaved configs repaired the firewall:

# cp /usr/lib/ufw/user.rules.pacsave /etc/ufw/user.rules
# cp /usr/lib/ufw/user6.rules.pacsave /etc/ufw/user6.rules
# systemctl restart ufw
Warning: ufw.service changed on disk. Run 'systemctl daemon-reload' to reload units.
# systemctl daemon-reload
7 points

Arch installation definitely requires more manual work compared to Ubuntu which has a great user-friendly installer, but once you're done, maintaining Arch has been on par with maintaining Ubuntu in my experience.

I could summarize the differences as follows: when using a specific version of Ubuntu, I rarely had any problems after package updates, because the "big updates" only happen when one upgrades to a newer Ubuntu version, and in doing so one is prepared to having to do some fixing up.

In Arch, which uses the rolling release method, big updates occasionally happen as part of the regular update process, and it has caused me some unexpected problems like a broken video driver or some configuration changes I've had to spend some time editing to my liking. The benefit of the rolling release is getting the latest software versions sooner, and I value that benefit even if it causes me some unplanned extra maintenance work.

1 points

I second the suggestion of installing Linux in a virtual machine first. If one goofs up the system somehow, reinstallation is super easy, so trying out all those new things doesn't feel so intimidating. Just download Oracle VirtualBox for Windows, the latest Ubuntu installation ISO file, and you're good to go.

Even as a long-time Linux user I used Linux on my Windows laptop like that for a long time, until I realized I was using just Linux, and then proceeded to install it natively, because it will work a bit better that way.

1 points

All the DEs I've tried somewhat recently (Xfce, Unity, KDE, Gnome) have their strong and weak points in my opinion. I've settled with Xfce because I found it to be most configurable to my liking, extremely stable, comparatively easy on resources, and it has all the features I need -- although my need are pretty basic. A "desktop environment" with just launchers for Emacs and Firefox would get me pretty far on most days.

If I had to guess, I'd say it's the configurability part of Xfce that many people like; the hobbyists like their DEs to be construction kits rather than products with a designed-in look-and-feel. Many people posting to /r/unixporn take it a step further and bypass a traditional desktop environment altogether.

3 points

I wanted a distro with a wide selection of cutting-edge packages, and that's what I got.

Not that I was unhappy with Xubuntu, but I had used it for a long time and wanted to try something else for a change.

Arch pros:

  • Lots of fresh packages, and if I need the absolute latest, I can install a -git package from AUR.
  • Rolling release removes the necessity of ever doing large upgrades.
  • Arch wiki is a great resource.

Cons:

  • I've had some non-critical breakages, including a corrupted rendering issue when the Intel X11 driver had a regression on my chipset. Downgrading worked around it until the fix eventually got through.

For me, the pros clearly outweigh the cons.

2 points

I'd recommend Ubuntu. It's a quite (the most?) popular distro, and it has many different desktop environments in addition to the default 'Unity' that are quite easy to switch between.

I've personally used Ubuntu (mostly its Xubuntu variant) both on my personal and work machines for years and it worked well in both contexts.

I'd recommend downloading a live CD and booting from that to get a feel of it.

You could also install it into a virtual machine, such as Oracle VirtualBox that you can run within your Windows OS to test it out before installing it for real. It's quite a handy way to test different Linux distributions. I personally ran Xubuntu in a VirtualBox on this laptop for quite a long time before I installed Linux natively, after I didn't need any Windows apps anymore.

Although it's possible to run many Windows apps in Linux, using Wine software.

2 points

Last time I installed Linux on a laptop I went through the first four on your list and ultimately settled on Xfce, yet again, because I found it the most customizable of the bunch. It's also lightweight, fast, and stable.

I was quite impressed on the level of polish of the other distros, but it's the subjective usability of Xfce that always brings me back to it.

If you haven't already, check out /r/unixporn for some more exotic desktop configurations.

3 points

They all have their strong points. Best of all, they are relatively easy to try out depending on your distribution. I'd say pick one, play around, make mental notes what you like and dislike, go try another.

My personal favourite is Xfce; it's not perfect but it's customizable in ways that I found useful, and it's one of the more lightweight ones. And in my experience it has been very stable.

2 points

I checked the APN as reported by Mobile Partner in Windows and manually edited the profile file in /etc/NetworkManager/system-connections. It connected after reloading the systemd modules, as in the led turned on. I couldn't load web pages, or even ping anything though.

I tried removing the USB modem, but same problem. Finally I tried rebooting, and lo and behold, I have internet! I checked it in both Xubuntu 14.04 and quite recently updated ArchLinux, and both work now.

Thank you for your suggestion, you saved my day, and many days to come :-)!

2 points

The overhead of having a set of both Gtk and Qt libraries in memory is negligible compared to the impact an efficient applications design makes no matter which library it uses.

I tend to select the applications I use based on their features and subjective usability. The only time I recall having switched from an often used app to another based on resource usage was when I switched (back) from Chrome to Firefox a while back. Having gotten used to the KeySnail extension I might have a difficult time switching to any other browser now, but I digress.

1 points

End of this list.

Back to top

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.