16,836 reputation
23564
bio website
location Marseille, France
age 34
visits member for 2 years, 3 months
seen 3 hours ago

Elected moderator on Unix & Linux. Feel free to @ping me in chat if there's anything I can help you with.

I've been using Linux since the late '90s and have gone through a variety of distributions. At one time or another, I've been a user of Mandrake, SuSe, openSuSe, Fedora, RedHat, Ubuntu, Mint, Arch and for the past few years Linux Mint Debian Edition (which is basically Debian testing but more green).

My Linux expertise, if I can grace it with such a lofty title, is mostly on manipulating text and regular expressions since that represents a large chunk of my daily work.

profile for terdon on Stack Exchange, a network of free, community-driven Q&A sites


23h
revised The colors when doing “ls” at my ubuntu server diappeared just like that
edited tags
2d
comment Behaviour of symlinks
@IbrahimApachi exactly. It was a link linking to itself. On my system, I can create the link but when I try to read it I get "Error: too many levels of symbolic links". It basically goes into an endless loop.
2d
answered Behaviour of symlinks
2d
revised Behaviour of symlinks
edited tags
2d
revised Root crontab not running
added 48 characters in body
2d
comment Root crontab not running
Just to make sure, you are closing the crontab after editing it, right? Also, how did you "run as root"? What is the output of sudo crontab -l | grep -v '#'?
2d
comment Problem with words in Terminal
Is this gnome-terminal? And Unity? Does it work OK with xterm?
2d
comment Bash question with system processes? Stopping and renicing “Java” processes
Hi and welcome to the site. Please edit your question and include the name of the process you want to stop and how it is started. Also explain how nice "did you no good". Were there any error messages? Did it change the priority? What exact command did you try? Have you read any basic bash guides?
Nov
23
comment Creating shortcuts on desktop for applications
@Saeid87 they do. Had you installed open source software (like R) instead of something proprietary (like matlab), it would have come as a package and with a ready shortcut file. In any case, creating a shortcut is as simple as ln foo bar, you're the one who wants to complicate things by running in a GUI and fiddling with .desktop files :P
Nov
23
comment Creating shortcuts on desktop for applications
@Saeid87 done. To get the icon recognized, save it as matlab.png in ~/.icons and then point the .desktop file to matlab (no extension). I think that should work.
Nov
23
revised Creating shortcuts on desktop for applications
deleted 315 characters in body
Nov
23
comment Creating shortcuts on desktop for applications
Ah, in that case my workaround will probably not change anything. I've never used matlab but I know it has an interpreter. Could you need the terminal in order to run it? Perhaps changing Terminal=false to true would help.
Nov
23
answered Creating shortcuts on desktop for applications
Nov
23
comment Creating shortcuts on desktop for applications
Sure but first, did you try running it from the command line as I suggested? Does it work if you're not in /opt/MATLAB/R2014a/bin/ and simply execute /opt/MATLAB/R2014a/bin/matlab from your home directory?
Nov
23
revised Shell script to move all images excluding ones with size in name using find?
added 1 character in body
Nov
23
revised Shell script to move all images excluding ones with size in name using find?
added 1 character in body
Nov
23
comment Creating shortcuts on desktop for applications
OK, please also edit your question and clarify whether it works if you launch from your $HOME directory using /opt/MATLAB/R2014a/bin/matlab. I'm guessing the way it's set up requires it to be launched from the directory where the script is located. A possible workaround would be to write a little script that just contains cd /opt/MATLAB/R2014a/bin/ && ./matlab and then point your .desktop file to that. Let me know if it works and I can post an answer.
Nov
23
answered Shell script to move all images excluding ones with size in name using find?
Nov
23
revised Shell script to move all images excluding ones with size in name using find?
added 97 characters in body
Nov
23
comment Creating shortcuts on desktop for applications
What's matlab.sh? Your first example uses ./matlab.