Posts Tagged ‘debian’
-
Network manager seems to block LAN access (wireless)
I’ve been unable to access my desktop from other devices connected to the LAN. At first I thought it may be the router or the modem, but just realized that simply restarting network-manager fixes things.
sudo /etc/init.d/network-manager restart
-
Adding your own web applet to Avant Window Manager in Debian/Ubuntu
It’s surprisingly simple. No coding knowledge needed, though some image authoring program may come in handy..
The easy to use and handy Avant Window Manager(AWN) includes a web applet that initially gives you the option to add various websites so you can easily access them through your toolbar.
Here’s how to add your own. The applet takes in a configuration file with a list of websites and options. All you need to do is add another website and create or find an svg and a png icon for your button.
In Debian linux, you will find it at /usr/share/avant-window-navigator/applets/webapplet/webapplet-websites.ini. If it’s not there, make sure you have the awn-applets-c-extras package (otherwise do “apt-get install awn-applets-c-extras”) and if still not there you can try to search with this:
dpkg -L awn-applets-c-extras | grep webapplet.websites.ini
Once you identify the config file, you will need an icon for your button, both a svg version and a png version. the png version should preferebly be 22 pixels. Copy both of these to the icons folder that exists in the same location as the configuration file.
Note you’ll need root access for the above and next action. Next add the following to the webapplet.websites.ini, specifiying the names of the icons (don’t include folder “icons”). Note also that it is preferable to use the URL of the mobile view of the website, if it has one. Also, you can specify the height and width in pixels of your web applet.
[FooBar] Name=FooBar Comment=Foo bar is a bogus app URL=http://foo-bar.com/mobile Icon-22=foobar-22.png Icon-svg=foobar.svg Width=1000 Height=500
That’s it enjoy!
-
Skype on Debian AMD64 and pulse audio
Everytime I install skype, it crashes right after the login screen. This is because by default it tries to use Pulse Audio, which I don’t use but I do have the pulse libraries available because many programs depend on it. Thus, if you don’t use pulseaudio, you can just make the pulse audio libraries unreadable, like so:
chmod a-r /usr/lib32/libpulse*
-
Locate files in Linux
In Debian, i can use the command ‘locate string’ to find a file in the whole system (if it has been indexed into a system database or something like that). It’s much easier to use than the “find” command and it hasn’t failed me yet.
-
Using Debian multimedia repository
I needed to install the lame mp3 library, but Debian’s own repositories do not included; however, I was able to find it at http://www.debiam-multimedia.org.
Simply add that URI to your repositories and choose your distribution (i included both squeeze and sid) and chose sections main and non-free.
When upgrading packages, try upgrading a few at a time, as when i did it, I got a broken package libavcodec52 or something like that. I resolved by removing ffmpeg, upgrading another package and then reinstalling fmpeg.
About me
I live in Denver, Colorado and work as a contractor for HAIKU Learning Systems, Inc., an online learning company. I did my Master's in Music Informatics at Indiana University and got a B.A. in Computer Science and Mathematics, with a minor in Music from Carroll College in Helena, Montana.
