Reddit

Subscribe to Reddit feed
All things Linux and GNU/Linux -- this is neither a community exclusively about the kernel Linux, nor is exclusively about the GNU operating system.Linux, GNU/Linux, free software...
Updated: 20 min 56 sec ago

Suggestions for replacing ctrl+a & ctrl+e (Linux default seems to be Home & End)

Tue, 2018-08-14 00:21

Coming from MacOS, I used ctrl+a, ctrl+e all the time for jumping to beginning & end of a line.

Not just at the command line, but used often in a

  • URL bar
  • Jupyter Notebook cells
  • Gmail Compose
  • Google Docs
  • etc...

It was very convenient (especially making capslock into a ctrl) and since I've moved full time into Ubuntu (mostly cinnamon) for about 6 months, I now notice how often I still use ctrl+a and end up selecting all. What's most confusing is that they work perfectly fine in the terminal (at the cost of adjusting copy/paste shortcuts - but that's a much more annoying and different issue).

Part of the reason I have a hard time adjusting to Home and End keys is that they are in very out of the way places (IMO) on my keyboard (F-Row on Dell XPS 13 and the normal 6-key cluster to the right of backspace on my wired desktop keyboard).

Have any of you come from MacOS where you used them extensively? Any solutions or behavior changes really work for you?

submitted by /u/cowabungabruce
[link] [comments]

BBS MAIL ON LINUX

Mon, 2018-08-13 23:10

Popping sound on restart / shutdown

Mon, 2018-08-13 22:49

Hello everyone, I have dual boot (windows 10 + linux mint)
When I am in linux, whenever I have something in my 3,5 mm jack connected (phones or whatever) and restart or shutdown the computer, I can hear a strange popping sound from the speakers (I hope it is from the speakers).
When I am in Windows, nothing of this happens.
what can I do to solve this?
Computer: Notebook MSI GE62 7RE Apache Pro
(I think it is important to say that I am new to Linux)

I tried to ask msi support but didn't have answer until now

submitted by /u/SiiNexx
[link] [comments]

Kernel 4.18 on Ubuntu/XPS 13 running very hot

Mon, 2018-08-13 22:40

Thought I'd share my experience running kernel 4.18 on my XPS 13. I installed the 4.18 kernel on my XPS 13 (9360) (i7-8550U, 16GB, Intel Graphics) and within 10 minutes the computer was running very hot and throttled to 800MHz, with turbo boost off and set to powersave profile. I have never seen this computer throttle on kernel 4.17, even running games and it has always run cool. I powered off and let the computer cool then rebooted. Within a few minutes, the computer was severely throttling again. I powered off, let the computer cool down again and then rebooted into kernel 4.17.14 and removed kernel 4.18. After an hour of running with multiple apps open, Chrome open with multiple tabs and running minecraft in the background, the computer is toggling between 800MHz and 1.8GHz with no throttling and cool to the touch on the bottom side. I have no idea what the issue might be, but it appears that kernel 4.18 does not want to play nice with my particular XPS 13.

submitted by /u/jeepr
[link] [comments]

I'm tired of .folders littering my home directory -- want to do something about it.

Mon, 2018-08-13 21:59

I'm not sure if this is something that bothers anyone else, or if anyone here is interested in helping with this project, but I'm tired of dot/hidden folders filling my home folder.

I've been making a list of programs that create these folders, and I'm trying to make bug reports / feature requests to the projects. If anyone here is interested, maybe we could work together and make this list bigger, and a few of us can create the reports. I've found that the developers of these projects are very receptive each time I've suggested this, and a few have been fixed in a very short time. It seems like a fairly simple request and fix.

Most newer programs and major projects use this spec -- so most of the programs that need changing are older or have few developers (or in many cases only one).

The bug reports are just asking that the developers use the freedesktop $XDG standard/spec found here.

Config files in ~/.config

Data in ~/.local/share

Temp/Non-Essential files in ~/.cache.

Maybe some developers here on reddit would be able to submit patches or change their own programs to follow this spec.

If anyone here creates a report, please let me know and I'll update the list.

Anyway, here is the list I've started.

---------------------------------------------------------------

Apps that don't follow the freedesktop $XDG spec

Unless otherwise noted, the name of the program is also the name of the created .folder

-- REPORTED -- atom https://github.com/atom/atom/issues/8281 grsync https://sourceforge.net/p/grsync/feature-requests/15/ menulibre https://bugs.launchpad.net/menulibre/+bug/1786655 snapd (creates snap) https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053

--------------------------

-- FIXED -- hardinfo https://github.com/lpereira/hardinfo/commit/06b0d18501c7e25c8d22fa53a9cd5f381334fc44 rnm https://github.com/neurobin/rnm/commit/a8ce3f45feac698a754c453fd57cf49e2891c602

--------------------------

-- UNREPORTED / UNFIXED -- amule bluefish citra clamtk Cryptomator firefox (creates .mozilla) gdmap gmvault gnome-color-chooser gnome-keyring (creates .pki) howl hplip java mame mednafen Pidgin (creates .purple) PlayOnLinux psensor pypar2 pyrenamer synaptic thunderbird tumbler (creates .thumbnails) tunapie unison vim / vim-gtk / vim-gtk3 (creates .vim) wine winff

--------------------------

These are programs that have made .folders before but may have changed in newer versions. If anyone could confirm these I will move them to the proper list.

gimp gnupg lutris PeaZip xsane (creates .sane)

--------------------------

submitted by /u/newhoa
[link] [comments]

Why is the Linux kernel stored in a protected area?

Mon, 2018-08-13 21:31

My assumption is that so applications dont corrupt the source code, and to ensure that the subsystems are used correctly. i.e. applications aren't using the same shared resource.

submitted by /u/DrShadyBusiness
[link] [comments]

Check HSTR - easily view, search and manage your shell history

Mon, 2018-08-13 18:42

![HSTR](http://me.mindforger.com/projects/images/hh-1.jpg)

HSTR (HiSToRy) is a command line utility that brings improved shell command completion from the history. It aims to make completion easier and more efficient than Ctrl-r. HSTR can also manage your command history or bookmark your favorite commands.

https://github.com/dvorka/hstr

submitted by /u/ultradvorka
[link] [comments]

TSDBs at Scale – Part Two

Mon, 2018-08-13 14:20

Posting on behalf of /u/stronglift_cyclist

Here's the second half of our two-part series focusing on the challenges of Time Series Databases (TSDBs) at scale. This half focuses on the challenges of balancing read vs. write performance, data aggregation, large dataset analysis, and operational complexity in TSDBs.

https://www.circonus.com/2018/08/tsdbs-at-scale-part-two/

submitted by /u/Crusso3
[link] [comments]

Shell script to respond to an application output

Mon, 2018-08-13 14:03

Hello,

I am trying to find a solution to one application I can't change and that has a bug. It is an TCP server that after the client disconnects, it needs to be restarted. The problem is that it doesn't exit automatically, I need to press enter to be able to exit, but if its not finish and I press enter it's going to exit too.

If it exited directly I would only run a while $ while true; do python2.7 my_tcpserver.py; done

But since I need to wait this line $ Press Enter to quit: file_descriptor_sink: Broken pipe and then press enter, the code above doesn't work, so I thought I could create some shell script to identify the $ Press Enter to quit: file_descriptor_sink: Broken pipe line and then press enter, I suppose I would need to run this:

$ while true; do python2.7 my_tcpserver.py | my_script.sh ; done

The thing is that I am new to linux and I don't know if I don't know how to search the problem/the documentation needed or if this is actually very hard to do, can anyone help me?

Thank you in advance!

submitted by /u/Theis159
[link] [comments]

Can't browse to Apache website via https

Mon, 2018-08-13 13:20

I'm a bit new to Linux and am unsure how all this works.

So I have an Ubuntu server running Apache for a wiki site, I can browse to it via port 80 just fine, but am now having problems with port 443.

I've added the following rule to the iptables:

iptables -I INPUT -p tcp --dport 443 -j ACCEPT

I've also added "Listen 443" to the /etc/apache2/ports.conf file

If I run "nmap localhost" it shows:

443/tcp open https

and i can telnet to it so the port seems to be open.

However i still can't access the site via a browser using https://<ip address>

Any help would be appreciated!

submitted by /u/AyZay
[link] [comments]

Pages