=== fragalot is now known as Guest64639 | ||
leandro | does anyone know why by changing the mouse pointer theme it dissapears? thanks | 04:55 |
---|---|---|
leandro | (the mouse cursor dissapears while moving) | 04:55 |
=== Myrtti_ is now known as Myrtti | ||
=== Pici` is now known as Pici | ||
lubricant | Hi, am running Lubuntu on a celeron dell inspiron 2200 series. Needless to say problems are with the wifi , can anyone please advice. Bios has wifi on and i have the b43 drivers installed | 13:33 |
Silverlion | rehi lubricant i may not be able to advice you but maybe you would like to post your problem on http://ubuntuforums.org/? | 13:39 |
lubricant | Silverlion, was advised to go to linux-wireless not sure which network its on though | 13:39 |
* Silverlion neither | 13:40 | |
Silverlion | but the forums is always a good place to post such questions because there are more people then on irc | 13:40 |
lubricant | Silverlion, yes - there are already many posts which i have trawled through and cannot find a solution hence asking here | 13:42 |
lubricant | Silverlion, found #linux-wireless seems its on freenode | 13:43 |
Silverlion | then try there ;) | 13:43 |
lubricant | trying :-) | 13:43 |
lubricant | On another note - am amazed at Lubuntu - am using a spin called lxle and its thrilling - esp after my younger machine died had to move back to this old celeron, lubuntu booted no sweat with no grub parameters required and here i am working away with a niggling wifi problem | 13:45 |
lubricant | Hey, trying a different tack - i have a wifi pci card inserted, how do i figure out if that can work without propreiotory drivers | 13:50 |
lubricant | *proprietory | 13:50 |
cerebratelu | somehow i disabled my x | 15:09 |
cerebratelu | i usually use lxde | 15:09 |
cerebratelu | startx doesn't functino | 15:10 |
cerebratelu | quit | 15:15 |
tehCereluenn | how do i initiate lxde from terminal | 15:18 |
=== IboS_ is now known as IboS | ||
Kamilion | Having a bit of a weird problem, lubuntu 12.10... Doing a bit of flask webdev on my netbook, and every time I reboot, the directory /var/run/uwsgi dissapears and I have to recreate it and chown it www-data. | 17:59 |
Kamilion | Any idea what it is I'm doing that's triggering that? btrfs filesystem, with btrfs-apt-snapshot. | 18:00 |
inductiveload | Kamilion: http://www.pathname.com/fhs/2.2/fhs-5.13.html | 18:01 |
xnox | Kamilion: /var/run is a symlink to /run, which is a tmpfs filesystem. It's created in RAM every time you boot. | 18:01 |
Kamilion | How interesting -- on my server that isn't occuring. | 18:01 |
inductiveload | /var/run is cleared at boot time | 18:01 |
Kamilion | And all the stuff in it's recreated every boot? | 18:01 |
xnox | Kamilion: i can't remember when we switched to tmfs, but it's a cross-distro move (e.g. fedora, debian, suse are all on board) | 18:02 |
xnox | Kamilion: yes. | 18:02 |
Kamilion | yeah -- i'm familiar with systemd's push for this stuff | 18:02 |
xnox | Kamilion: so is that a package from the ubuntu archive that relies on /var/run/uwsgi, or something you compiled yourself? | 18:02 |
Kamilion | where can I register to have an empty dir created for my .sock files? | 18:02 |
xnox | Kamilion: no, /run was first proposed by ubuntu security team, and later spread elsewhere. | 18:03 |
Kamilion | pip install uwsgi, and a simple upstart job in /etc/init/uwsgi.conf to start an emporor | 18:03 |
xnox | Kamilion: i'd recommend you install uwsgi with apt-get. | 18:03 |
Kamilion | won't work | 18:03 |
xnox | as that should work properly. | 18:03 |
Kamilion | way too old | 18:03 |
Kamilion | doesn't even take the same --options | 18:03 |
Kamilion | everything else is in a venv but pip, setuptools, and uwsgi. | 18:04 |
xnox | Kamilion: ok. in that case you'll need to extend upstart job to create the dir you want, or possibly have two upstart jobs, one to create /var/run/uwsgi and the real upstart job to depend on that one. | 18:04 |
Kamilion | like a preexec? | 18:04 |
Kamilion | I just wrote a bunch of systemd units for another system a couple weeks ago... *goes to look at upstart docs* | 18:05 |
Kamilion | perfect. | 18:07 |
xnox | Kamilion: http://upstart.ubuntu.com/cookbook/ | 18:07 |
Kamilion | I got it. | 18:07 |
Kamilion | pre-start script | 18:08 |
Kamilion | mkdir -p /var/run/uwsgi; chown www-data.www-data /var/run/uwsgi; # prepare environment | 18:08 |
Kamilion | end script | 18:08 |
Kamilion | exec $UWSGI --master --emperor "/var/www/sites/*/config/*.ini" --die-on-term --uid www-data --gid www-data --logto $LOGTO | 18:08 |
xnox | =)))))) | 18:08 |
Kamilion | can I squish that mkdir/chown into a single command somehow? | 18:09 |
xnox | yes. | 18:09 |
Kamilion | *man mkdir* | 18:09 |
xnox | man install | 18:09 |
xnox | install -d -g www-data -o www-data /var/run/uwsgi | 18:10 |
Kamilion | ahh, great. That feels so much cleaner. | 18:11 |
Kamilion | Should I clean up after myself with a postexec? | 18:11 |
Kamilion | or just let the bootscript do it's job? | 18:11 |
Kamilion | eh, i'll let the bootscript do it's job. | 18:12 |
xnox | Kamilion: the beaute of /run is that you shouldn't clean up, as you will not have a chance if for example it all bursts into flames =) | 18:12 |
Kamilion | lol | 18:13 |
Kamilion | will keep that in mind | 18:13 |
Kamilion | afk for a bit; doing some testing on this app coming back to life from coldboot... (yay, znc!) | 18:13 |
Kamilion | yay, all works well from coldboot now. Thanks, xnox, inductiveload! | 18:37 |
xnox | =) | 18:37 |
=== Guest64639 is now known as fragalot | ||
Kamilion | Heh -- no wonder why I havn't seen this behavior on the webserver | 19:03 |
Kamilion | 19:03:49 up 99 days, 23:33, 4 users, load average: 0.11, 0.09, 0.06 | 19:04 |
Kamilion | it hasn't reboot for /var/run to be cleared... Better fix that problem before it does! | 19:04 |
Kamilion | xnox: Thanks, probably saved me a headscratcher in a couple months when someone finally does get around to rebooting it | 19:08 |
xnox | yeah, not many servers survive reboots after ages of operation. | 19:09 |
Kamilion | i've tried to be diligent about making upstart jobs and systemd units on all the systems. I'm pretty proud of my autossh systemd unit, hehe | 19:10 |
=== Moewe is now known as Ilgabbiano | ||
cerebrate | how do i change the colors of the elements of windows on lubuntu? i want bright yet subdued hues please | 22:12 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!