@dessert I've had a question about that and there's actually a Google doc of users including myself who speak multiple languages and can volunteer for translation
In Program 1 Hello world gets printed just once , but when I remove \n , and run it (Program 2 ) the output gets printed 8 times. Can someone please explain me the significance of \n here and how it affects the fork ().
Program 1
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#...
Xfce, x11, KDE, GNOME... any help in clarifying these 4? I'm trying to "see" a DO droplet thought VNC, and stumbled upon this. following guides I can just install xfce and that's it, but i'd love to understand more... any comment/input to help me out?
X11 is a networked display server that abstracts the video hardware for client applications. When you launch a graphical application, it connects to the X11 server and communicates with it to receive input and send drawing instructions.
Yeah, I have no problem with the terminal, but was running into lot of problems setting up Kodi Media server headless, there's little to no documentation. Maybe I'll end up setting up Samba or something less time consuming.
Is it just me or you guys have the problem too when performing apt upgrade and apt dist-upgrade? Just tried it second or third time in my life, and can't boot Ubuntu again ;__;
@JourneymanGeek that’s an interesting topic, what lightweight DEs besides Xfce and LX{DE,Qt} do you recommend? I have no problem using the CLI and actually do more and more with it, but e.g. watching films without X is difficult…
I'm wondering if there is a way to watch films or images without running X server. I'm not using login manager - I log in to tty and start X server manually.
Hypothetical situation: I log in, but decide to only watch film, or maybe view few photos. I don't want to run X server and all the GUI st...
It's lots of edge PPAs, if you do something really odd with multiple DEs mix and matching different compositors, have really modular spots in your environment that connect to the base OS and they get out of sync. Hasn't caused a failure to boot for me ever, but my environment for work broke last time (fixed it), and I had the compositor stop launching on an upgrade. It was because I threw compiz on XFCE and kwin on lxqt. The update process must have been confused.
@RobotHumans Lucky you. I have no twisted dependencies in my OS. I kept it as clean as I can. Also whole upgrade was fine and without errors. I'm just frustrated it happens every single time.. :/
It seems like I have nothing to say and go dig my logs. Thanks guys for responses.
> "New GitLab users can get 75% off GitLab Ultimate or Gold for one year. GitLab Ultimate is our top-tier self-hosted offering, and GitLab Gold is our top-tier SaaS offering hosted by GitLab.com." - New users get a 75% discount on GitLab's top tier plans`
I just found out there's a gnome-extensions tag.
I think it's just a synonym of the older and well-documented gnome-shell-extension tag. So gnome-extensions should be merged with gnome-shell-extension.
I have suggested a tag synonym.
System: Ubuntu 16.04
All was fine until today. And then: chrome crashes while watching a YT video.
No addon / Plugin / Extension added recently.
When trying to restart chrome via launch panel: chrome opens, I can see an empty tab and a small window (sth like chrome wasn't shut down correctly ....
I have some folders with \n character it their names.
for example:
$ ls
''$'\n''Test'
Thats refer to a folder with Test name and a empty line before its name.
So when I run some scripts like this, in its parent directory:
while IFS= read -r d; do
rmdir $d
done < <(find * -type d)
It ...
@Fabby OP yes, but I hoped to get an answer from @PerlDuck there (ping intended ;P) – he knows something!
Are you aware of the __git_ps1 function which does exactly (and even more than) what you want? Maybe look into the file /usr/lib/git-core/git-sh-prompt on your machine. — PerlDuck8 hours ago
@PerlDuck Do you really force me to ask a question like “I want my prompt to show information about my git repository, isn’t there a better way than parsing git commands?”
@Oli On 18.04? On 16.04 it doesn’t… ls (GNU coreutils) 8.25
@dessert Arguably, yes, PerlDuck suggests better way. But also arguably OP's question is to troubleshoot their function and prompt. And that function, I think, comes from way back in time from some post on AU or SO somewhere
And arguably I've overused the word "arguably". And I don't wanna argue
@SergiyKolodyazhnyy no, it comes with git, open /usr/lib/git-core/git-sh-prompt in your preferred pager!
@SergiyKolodyazhnyy you’re probably right this question is not the place to present the whole script, but a “here’s how it’s done properly” answer is always a good thing IMO