General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Abaddon-ext4;45836063]I need some help with this script:
This script is supposed to change my wallpaper based on the current time in Lubuntu
If I run it manually it works normally. However I wanted this script to run every reboot and every hour. I've added it to the crontab with the @reboot and @hourly, and the cron log shows that the script is executed. However, when I changes the wallpaper to something else and restart the computer, the wallpaper is still there, not the wallpaper in this script[/QUOTE]
Your crontab executes scripts from a command line OUTSIDE of your X session, which means outside of your graphical environment. How would it know to change the wallpaper then?
[QUOTE=Abaddon-ext4;45836063]I need some help with this script:
This script is supposed to change my wallpaper based on the current time in Lubuntu
If I run it manually it works normally. However I wanted this script to run every reboot and every hour. I've added it to the crontab with the @reboot and @hourly, and the cron log shows that the script is executed. However, when I changes the wallpaper to something else and restart the computer, the wallpaper is still there, not the wallpaper in this script[/QUOTE]
long shot but try putting this in just before defining $x
[code]export DISPLAY=":0"[/code]
[QUOTE=elevate;45836691]I'm thinking of switching my mom to Linux since all she does is surf the internet but I can't think of a way to convince her without sounding like a neckbeard! Her old laptop is going out and since I already have a spare motherboard and hard drive available for her, I'd like to build her a desktop. I can probably build her a desktop at the cost of a laptop, and since fixing a desktop is cheaper than fixing a laptop, it would be cheaper in the long run. She's already convinced of this, but I could save her another hundred bucks if she uses Linux instead.
I mentioned Linux one time in the past when she was getting viruses on her computer but I couldn't explain Linux's advantages to her or why it even exists very well. She was reluctant to start using it because it was a new thing and that it would be too complicated for her to use. Perhaps I could burn a Live CD and let her try it out, but that still doesn't solve the problem of me explaining Linux to her. She's also always been worried about security, so maybe I could use that to give Linux some leverage.[/QUOTE]
Tell her she can use Google, Facebook and every website she loves like before, but she'll never have to worry about breaking the computer or getting a virus ever again. And it also makes her PC much faster.
[editline]29th August 2014[/editline]
And on top of all, it's 100% free.
Maybe say "Maybe you should give Mint a try".
I've seen people are very off putting when they hear the word linux, but are more open when you say a distro name like Ubuntu or Mint.
[editline]29th August 2014[/editline]
Especially I've seen some older people literally shudder when they hear the words Unix, linux or minix.
So i just made a new Ubuntu persistence(Easier than doing it with Kali for sure) and I want to make it to where it does not prompt me to "Try Ubuntu" or "Install Ubuntu" everytime. How should I go about that?
[QUOTE=kaukassus;45837348]Tell her she can use Google, Facebook and every website she loves like before, but she'll never have to worry about breaking the computer or getting a virus ever again. And it also makes her PC much faster.
[editline]29th August 2014[/editline]
And on top of all, it's 100% free.
Maybe say "Maybe you should give Mint a try".
I've seen people are very off putting when they hear the word linux, but are more open when you say a distro name like Ubuntu or Mint.
[editline]29th August 2014[/editline]
Especially I've seen some older people literally shudder when they hear the words Unix, linux or minix.[/QUOTE]
it has an ick sound in it, it must be gross
Mom didn't go for it so we're probably just gonna go with Windows! I realized I don't have the answers to all the questions she has, and she's skeptical of Linux because it's free. How can an operating system be free? It's the "too good to be true" mentality.
[QUOTE=elevate;45838355]Mom didn't go for it so we're probably just gonna go with Windows! I realized I don't have the answers to all the questions she has, and she's skeptical of Linux because it's free. How can an operating system be free? It's the "too good to be true" mentality.[/QUOTE]
To be fair FOSS does fly in the face of conventional logic. I mean, who the hell would develop complex computer software, release it to the public and expect nothing in return (except contributing if you have the know-how)? For software that mostly works and is functional, it does seem "too good to be true". Most people have learned that if its free, there must be catch.
I suppose that catch in most Linux distros is you have to put up with less software support and not always stellar UI's.
[QUOTE=elevate;45838355]Mom didn't go for it so we're probably just gonna go with Windows! I realized I don't have the answers to all the questions she has, and she's skeptical of Linux because it's free. How can an operating system be free? It's the "too good to be true" mentality.[/QUOTE]
Most of the time it's not really worth bothering. When they insist on having windows on their old as fuck PC, then just tell them you're gonna install it, but they're gonna have to look for someone else to give them Support when the PC is slow / has viruses / is broken, etc...
[QUOTE=lavacano;45837220]long shot but try putting this in just before defining $x
[code]export DISPLAY=":0"[/code][/QUOTE]
It works! Thanks
At least you guys have parents that have the chance to try it out. They pick up on the most minor of things and need it to be changed back. Something as trivial as showing text along with the icon in the Windows taskbar. Even if whatever GNU/Linux distro I find can do the basic internet browsing they do even better, there will always be something wrong to them.
Guess I'm just a little jealous that I can't [I]spread the freedom around[/I].™ I tend to preach what I like using.
[QUOTE=Stonecycle;45841579]At least you guys have parents that have the chance to try it out. They pick up on the most minor of things and need it to be changed back. Something as trivial as showing text along with the icon in the Windows taskbar. Even if whatever GNU/Linux distro I find can do the basic internet browsing they do even better, there will always be something wrong to them.
Guess I'm just a little jealous that I can't [I]spread the freedom around[/I].™ I tend to preach what I like using.[/QUOTE]
My parent was who got me into Linux in the first place, what do I win
been playing some XCOM after I discovered it ran on linux (and really good as well). I figured I'd tab out quickly to check my temperatures just to make sure, but terminator wouldn't open. "couldn't allocate memory" huh. I check the notification bar for gnome and yup, no memory whatsoever left
[IMG]http://i.cubeupload.com/lBkq8g.png[/IMG]
gnome shell is of course the issue
[IMG]http://i.imgur.com/rNdrZJq.png[/IMG]
I'm surprised this is still a thing. I've been googling it on and off for the past month or two, and I get stuff dating all the way back to when gnome 3 became a thing. is there any good gnome alternative? I really like the usability and I have yet to find another DE/programs that handles stuff like gnome does
[QUOTE=PredGD;45843493]I'm surprised this is still a thing. I've been googling it on and off for the past month or two, and I get stuff dating all the way back to when gnome 3 became a thing. is there any good gnome alternative? I really like the usability and I have yet to find another DE/programs that handles stuff like gnome does[/QUOTE]
Lets hope it'll be better once wayland becomes a thing
Does Debian have a built in text editor to use in the terminal?
Right now I'm trying to set up my ClosetNAS server, but I forgot how to edit the config file of vsftpd.
[T]http://i.imgur.com/72D5PvW.jpg[/T]
Crammed as hell but I hope it will do.
[QUOTE=Merijnwitje;45845188]Does Debian have a built in text editor to use in the terminal?
Right now I'm trying to set up my ClosetNAS server, but I forgot how to edit the config file of vsftpd.
[T]http://i.imgur.com/72D5PvW.jpg[/T]
Crammed as hell but I hope it will do.[/QUOTE]
I think it comes with Nano iirc, you can get it easily through Apt if it isn't there.
[QUOTE=Merijnwitje;45845188]Does Debian have a built in text editor to use in the terminal?
Right now I'm trying to set up my ClosetNAS server, but I forgot how to edit the config file of vsftpd.
[T]http://i.imgur.com/72D5PvW.jpg[/T]
Crammed as hell but I hope it will do.[/QUOTE]
either nano or vi (vim is not preinstalled)
Is it bad I prefer nano simply because I can understand how to use it? I couldn't even close Vim or Emacs when I tried then.
[QUOTE=MasterFen006;45845199]I think it comes with Nano iirc, you can get it easily through Apt if it isn't there.[/QUOTE]
nano is not pre-installed anymore.
[code]apt-get nano[/code]
[QUOTE=MasterFen006;45845395]Is it bad I prefer nano simply because I can understand how to use it? I couldn't even close Vim or Emacs when I tried then.[/QUOTE]
I prefer to see nano more as an editor you use when you're editing configs etc not code. So there is no shame in using it
[QUOTE=kaukassus;45845369]either nano or vi (vim is not preinstalled)[/QUOTE]
On a lot of devices, the preinstalled vi is vim
[editline]30th August 2014[/editline]
Actually, I don't even remember any other modern vi implementations
[QUOTE=MasterFen006;45845395]Is it bad I prefer nano simply because I can understand how to use it? I couldn't even close Vim or Emacs when I tried then.[/QUOTE]
If you open Vim with no arguments it opens a blank file and tells you to type :q to quit. If you're in insert mode press escape first.
I actually prefer Vim over nano because I keep putting :w everywhere in my text document in nano while trying to save
[editline]30th August 2014[/editline]
emacs is of course unusable to anyone except stallman himself
I was thinking about setting up emacs with Evil.
I was thinking about making a malware that wipes your MBR if you try to launch emacs.
[QUOTE=nikomo;45847975]I was thinking about making a malware that wipes your MBR if you try to launch emacs.[/QUOTE]
how about malware that defragments your SSD when it detects proprietary software?
[QUOTE=nikomo;45847975]I was thinking about making a malware that wipes your MBR if you try to launch emacs.[/QUOTE]
[code]alias emacs="nohup su -c 'apt-get purge grub2 --yes --force-yes;reboot' > /dev/null"[/code]
[QUOTE=Mega1mpact;45848181][code]alias emacs="su -c 'apt-get purge grub2 --yes --force-yes;reboot;'"[/code][/QUOTE]
The irony is that if you have emacs installed, this does in no way affect your ability to actually use it.
(Also, apt-get with su -c? When's the last time you saw a debian system not using sudo?)
[QUOTE=esalaka;45848414](Also, apt-get with su -c? When's the last time you saw a debian system not using sudo?)[/QUOTE]
This morning
[QUOTE=PredGD;45843493]been playing some XCOM after I discovered it ran on linux (and really good as well). I figured I'd tab out quickly to check my temperatures just to make sure, but terminator wouldn't open. "couldn't allocate memory" huh. I check the notification bar for gnome and yup, no memory whatsoever left
[IMG]http://i.cubeupload.com/lBkq8g.png[/IMG]
gnome shell is of course the issue
[IMG]http://i.imgur.com/rNdrZJq.png[/IMG]
I'm surprised this is still a thing. I've been googling it on and off for the past month or two, and I get stuff dating all the way back to when gnome 3 became a thing. is there any good gnome alternative? I really like the usability and I have yet to find another DE/programs that handles stuff like gnome does[/QUOTE]
Is it possible to at least get close to what you want with KDE? it's resource usage is not as light as not running a DE but at least Plasma doesn't leak memory.
Working on Windows mostly for work/coding now. Linux has been relegated to a VM, so I can keep most of my SSD space free. For any of you who dual boot, check this out:
[url]https://chocolatey.org/[/url]
[url]https://github.com/chocolatey/chocolatey[/url]
Found this the other day. Basically Linux package repositories, but for Windows. All through PowerShell/NuGet, AKA command line. Using this in combination with cygwin is easy, and makes me forget I'm on Windows at all. It had almost every package I needed for a fresh install of Windows (and you can update them individually, or all at once), and if you're up for it, you can even make your own.
Why something like this has never been officially merged into Windows is beyond me.
[QUOTE=danharibo;45849062]Is it possible to at least get close to what you want with KDE? it's resource usage is not as light as not running a DE but at least Plasma doesn't leak memory.[/QUOTE]
I haven't used KDE all that much, but I've experimented with it a little before and I'm not sure if what I'd miss the most is possible. I really love the activities screen and after getting used to it I've had some difficulties trying other DE's. it's so nice to just bash my mouse to the edge of my screen and get a nice overview of everything going on. the notification bar with the extension that shows resource usage is also very nice
[QUOTE=PredGD;45850385]I haven't used KDE all that much, but I've experimented with it a little before and I'm not sure if what I'd miss the most is possible. I really love the activities screen and after getting used to it I've had some difficulties trying other DE's. it's so nice to just bash my mouse to the edge of my screen and get a nice overview of everything going on. the notification bar with the extension that shows resource usage is also very nice[/QUOTE]
You can configure the screen edges in KDE to present windows and there are a few panel widgets that will show you cpu/ram/etc usage.
Sorry, you need to Log In to post a reply to this thread.