Difference between revisions of "User talk:Lahwaacz"

From ArchWiki
Jump to: navigation, search
m (Undo to “Making a DE/WM choice”: solved, closing)
m (Undo: closing)
Line 17: Line 17:
 
:: Of course I understand being corrected when I neglect to adhere to the guidelines, but sometimes the amendments do seem a bit over-critical. It has seemed at times as if it is being done of out irritation than anything else (as apparently evidenced by being called "usless"). Personally, I would rather just be told to go away if I am considered as being provocative in some way. [[User:Carlduff|Carlduff]] ([[User talk:Carlduff|talk]]) 17:01, 7 December 2013 (UTC)
 
:: Of course I understand being corrected when I neglect to adhere to the guidelines, but sometimes the amendments do seem a bit over-critical. It has seemed at times as if it is being done of out irritation than anything else (as apparently evidenced by being called "usless"). Personally, I would rather just be told to go away if I am considered as being provocative in some way. [[User:Carlduff|Carlduff]] ([[User talk:Carlduff|talk]]) 17:01, 7 December 2013 (UTC)
  
== Undo ==
+
== <s>Undo</s> ==
 
Lahwaacz, why do you undo my change about vconsole.conf in Beginner's Guide? I tried what was written there, and that's not working, but change that I does solved this problem
 
Lahwaacz, why do you undo my change about vconsole.conf in Beginner's Guide? I tried what was written there, and that's not working, but change that I does solved this problem
  

Revision as of 13:20, 31 January 2014

Fork Bomb

Fork_Bomb: This new article worries me a bit, as it provides an example of how to do one. Carlduff (talk) 21:04, 30 November 2013 (UTC)

But it also contains some information regarding prevention, so I'm fine with its existence. I can't comment on the factual accuracy though. -- Lahwaacz (talk) 15:46, 2 December 2013 (UTC)

Openbox

RE: Revision [1]

A dependency of Thunar is libxfce4ui. A sub-package of libxfce4ui is xfce4-about. For confirmation see: [2]. So I would not describe my work as being "useless" or "inaccurate". There are however many useless and inaccurate articles on this wiki, which seem to be ignored in favour of putting my contributions under a microscope instead.

OK, there has been a slight misunderstanding with the xfce4-about - it is not a (sub)package in Arch terms, I'd say it is a binary/executable that is part of libxfce4ui. I was looking for an Arch package under that name.
First of all, why recommend some application when the user is discouraged from installing it in next sentence? Also, I'd say that an average Arch user knows about the dependency chain, and checks which dependencies are installed if he cares.
You are not under a microscope, it just happened that Openbox is in my watchlist. Believe me that I check all pages from my watchlist equally. True, I don't check all new edits in Special:RecentChanges, that's just beyond my powers...
-- Lahwaacz (talk) 16:43, 7 December 2013 (UTC)
I am trying not to allow personal bias get too much in the way of contributions, which is why I listed a range of FMs without specifically recommending any of them, including those without their own wiki pages. A warning was placed about Thunar as although it is an excellent FM (I personally prefer SpaceFM), the exo and xfce4-about menu entries can irritate users like myself who want a "harmonious"-looking desktop. Experienced users would know this; I'm just trying to be helpful for others like myself who want to learn.
Of course I understand being corrected when I neglect to adhere to the guidelines, but sometimes the amendments do seem a bit over-critical. It has seemed at times as if it is being done of out irritation than anything else (as apparently evidenced by being called "usless"). Personally, I would rather just be told to go away if I am considered as being provocative in some way. Carlduff (talk) 17:01, 7 December 2013 (UTC)

Undo

Lahwaacz, why do you undo my change about vconsole.conf in Beginner's Guide? I tried what was written there, and that's not working, but change that I does solved this problem

Kycok (talk)

See man vconsole.conf, it clearly says that the path is /etc/vconsole.conf and not /etc/fonts/vconsole.conf. I don't know what's your problem, please use the forums to solve it. -- Lahwaacz (talk) 20:14, 24 December 2013 (UTC)
Ok, thnx. Maybe it's not working only on my system

Undo to “Making a DE/WM choice”

Hi Lahwaacz,

   > ### Latest revision as of 2013-12-27T12:41:21 (edit) (undo) ###
   > Lahwaacz (Talk | contribs)
   > (Undo revision 290591 by Montague (talk) - why do you use 'xinit exec startxfce'
   > instead of 'xinit startxfce' (resp. the shorter 'xinit xfce', if available)?)

I do use the short version, i.e. 'xinit xfce', and I do not use 'xinit exex startxfce' More precisely, I use the the even shorter 'xinit' (since I launch the default).

I don't think I was very clear in my first edit of the wiki article :-) What I meant was that in the following code, when you launch the default (in this case xfce) by simply typing 'xinit', the code will first do 'exec $1', but since '$1' is defined as {1:-xfce}, when it reaches that statement the code will then do 'exec startxfce4', the end result being that by typing 'xinit' in the console, what is actually being executed is 'exec exec startxfce4'.

That's why I thought the last exec (in the line '*) exec $1;;') had to be removed.

What was causing problems on my system was that if I tried to add more commands before the 'exec' of the default, e.g. 'xfce) urxvt & exec startxfce4;;' what would actually be executed is 'exec urxvt & exec startxfce4'

I don't know if I am making any sense ?


   # Here Xfce is kept as default
   session=${1:-xfce}
   
   case $session in
           enlightenment) exec enlightenment_start;;
           fluxbox) exec startfluxbox;;
           gnome) exec gnome-session;;
           lxde) exec startlxde;;
           kde) exec startkde;;
           openbox) exec openbox-session;;
           xfce) exec startxfce4;;
           # No known session, try to run it as command
           *) exec $1;;                
   esac

Montague (talk) 06:17, 29 December 2013 (UTC)

Hi, the original is IMO perfectly fine, I don't see a way how exec exec startxfce4 might be executed.
Your problem seems to be the bash syntax, I'll try to make a short explanation of the script above:
The first command session=${1:-xfce} is an assignment through parameter substitution, which takes $1 if it is defined (i.e. the first parameter passed to xinit), but defaults to xfce (i.e. you run xinit without any argument).
The case statement chooses the right command, it does not do any assignment.
The most important thing is that exec does not return to the shell (see man 1 exec), the script exits with the executed command (with the same exit code). When the value of session is xfce, there is no way the line *) exec $1;; could get executed.
I also hope this makes sense :)
-- Lahwaacz (talk) 08:52, 29 December 2013 (UTC)


Yes this makes a lot of sense! Thanks for the link; I read it quickly, and you are right, I had the bash syntax completely wrong. Sorry for making an edit to the Wiki with wrong information. Seems my problem was related to something else, but I cannot tell exactly to what right now (I was experimenting with a bunch of WMs/DEs in my ~/.xinitrc, and I probably had some code in there causing havock). Anyway, all is working well now.
Montague (talk) 02:29, 6 January 2014 (UTC)