Reputation
486
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 13
Newest
 Enthusiast
Impact
~7k people reached

Feb
2
revised How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
In this case pkgver must be numerical, no `v` in it.
Feb
2
accepted How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
Feb
2
comment How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
I must admit I thought I did, after all I said I wanted pkgver() to return 1.4.2 (not v1.4.2-1-ge9db64c), I think you must have misinterpreted. But in case you're not the only one that thought it was unclear I edited my original question.
Feb
2
revised How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
added 181 characters in body; edited title
Feb
2
suggested approved edit on How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
Feb
2
comment How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
What I want is for the pkgver() function to determine the latest stable version (1.4.2) so that later in the PKGBUILD I can run git checkout ${pkgver} to checkout the latest stable version. v1.4.2-1-ge9db64c as a pkgver would not be particularly helpful.
Feb
2
comment How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
Thanks, although how would I strip the v1.4.2-1-ge9db64c to just 1.4.2?
Feb
2
asked How do I get git to give me an acceptable pkgver for Atom which I can use to check it out?
Jan
20
asked How do I clone the git repository of an individual Arch Linux package's source files?
Jan
19
accepted How do I remove a . from the start of a Bash string and write the result to a variable?
Jan
19
revised How do I remove a . from the start of a Bash string and write the result to a variable?
added 87 characters in body
Jan
19
asked How do I remove a . from the start of a Bash string and write the result to a variable?
Jan
13
awarded  Enthusiast
Jan
10
awarded  Inquisitive
Jan
9
comment How do I write an application launcher that will start Atom in a custom working directory?
Well I'll be, you're right, it is to do with my file manager, although it seems to affect all my file managers, not just Thunar. Well you right up this answer and I will accept it.
Jan
9
comment How do I write an application launcher that will start Atom in a custom working directory?
What is odd though is that running the edblog launcher from my application menu goes without a hitch but when I open my file browser (atm Thunar) and click on my edblog.desktop file in ~/.local/share/applications it returns that error message. Running other launchers in this directory goes without a hitch, however.
Jan
9
comment How do I write an application launcher that will start Atom in a custom working directory?
Just tried that (resetting Exec) and it didn't work. As for the permissions it is set to be executable (which I did by running sudo chmod +x edblog.desktop). The command atom /home/fusion809/GitHub/fusion809.github.io works fine from terminal, in fact, I have been executing it without a problem for months now as I defined it as a function that is also called edblog in my ~/.bashrc file.
Jan
9
asked How do I write an application launcher that will start Atom in a custom working directory?
Jan
7
asked How do I create an Xfce application menu containing only the contents of one category?
Dec
26
comment How do I find the PID of a particular program?
It would be a problem I'm afraid, in fact for me pgrep cinnamon | tr '\n' , returns: 5410,5441,5459,5481,5549,5737,%, while Juan's answer returns 5481. His answer is higher stringency (exact match for the keyword [in this case cinnamon] only, not including processes with the keyword somewhere in their name like cinnamon-screensaver, for example), although I am interested in a lower stringency answer too, so if you can modify your answer to remove the final comma and %, I'll be more than interested...