LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-29-2011, 07:32 AM   #1006
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 172

Rep: Reputation: 49

Here is my reliable Slackware 13.1 setup that's going for quite some time now (changed two laptops, but OS remains). This is blend of minimalistic Xfce and some eye-candy cairo-dock features into a comfortable working environment. I have to say, this setup is most pleasing one of all my setups so far. I have used Haiku themes for xfce, and absolutely love HaikuHand cursor theme

Screenshot
 
Old 05-29-2011, 12:42 PM   #1007
cra1g321
Member
 
Registered: Jan 2011
Posts: 37

Rep: Reputation: 1
Quote:
Originally Posted by Beelzebud View Post
Here is mine. I'm running 13.37 with Alien's KDE4.6 and Conky. I use MPD for music, and have a script that uses conky to display the track info while playing. When not playing it disappears.
Very cool desktop, would love to have that look for my netbook. Can i get a link/reply for conky,script & wallpaper ?? thanks

Last edited by cra1g321; 05-29-2011 at 12:45 PM.
 
Old 05-29-2011, 02:42 PM   #1008
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,614
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
XFCE and Xmonad

Finally got it running, now have to tweak it:

Clean: http://img194.imageshack.us/i/xmonadclean.png/
Dirty: http://img689.imageshack.us/i/xmonaddirty.png/
 
Old 05-30-2011, 11:22 PM   #1009
Beelzebud
Member
 
Registered: Oct 2010
Distribution: Arch & Slackware
Posts: 96

Rep: Reputation: 27
Someone asked, so here are my configs. This is for a 1680x1050 display, so some minor tweaking to the voffset values in the conkyrc would be needed if using a different resolution. Hard drive locations will also need to be customized.

Code:
background yes
use_xft yes
xftfont JH_FALLOUT:size=6
xftalpha 0.8
override_utf8_locale yes
update_interval 2
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 255
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
stippled_borders no
#border_margin 0
border_width 0
default_color 03fef9
color0 03fef9
color1 00c3d0
default_shade_color black
alignment top_left
minimum_size 1600
gap_x 0
gap_y 0
no_buffers yes
##uppercase yes
short_units yes
pad_percents 2
text_buffer_size 1024
imlib_cache_size 0 
##
##
TEXT
${GOTO 105}${if_mpd_playing}${mpd_artist} - ${mpd_title} - ${mpd_album}${endif}
${GOTO 105}${if_mpd_playing}${color1}${mpd_bar  5,170}${color}${endif}
${GOTO 105}${if_mpd_playing}${mpd_status}${GOTO 185}${mpd_elapsed}${GOTO 220}/${GOTO 235}${mpd_length}${endif}
${if_mpd_playing}${execi 5 /home/beelzebud/.conky-mpd-albumart}${image /tmp/cover -s 100x100 -p 0,0}${endif}
${voffset 92}${GOTO 1220}CPU: ${color1}${cpubar cpu0 6,75}  ${cpu cpu0}%${color} 
${GOTO 1220}Processes:  ${color1}$running_processes/$processes${color}
${GOTO 1220}Load:  ${color1}${loadavg}${color}
${voffset 10}${GOTO 360}RAM: ${color1}${membar 6,50}  ${memperc}%${color}
${GOTO 360}SWAP: ${color1}${swapbar 6,70}${color}     
${GOTO 360}Uptime:  ${color1}$uptime_short${color}
${voffset 235}${GOTO 300}SDA: ${color1}${diskiograph sda 6,70}${color}  
${GOTO 300}SDB: ${color1}${diskiograph sdb 6,70}${color} 
${GOTO 300}/slack: ${color1}${fs_free /}${color}  
${GOTO 300}/sda: ${color1}${fs_free /media/sda}${color}          
${GOTO 300}/sdb: ${color1}${fs_free /media/sdb}${color}
${voffset 150}${GOTO 1205}Up: ${color1}${totalup eth0}  ${upspeedgraph eth0 6,75}  ${upspeed eth0}${color}
${GOTO 1205}Down: ${color1}${totaldown eth0}  ${downspeedgraph eth0 6,75}  ${downspeed eth0}${color}
${GOTO 1205}Local IP: ${color1}${addr eth0}${color}
${GOTO 1205}External IP: ${color1}${execi 6600 wget -O - http://ip.tupeux.com | tail}
Here is the python script for the conky mpd art. I named this .mpd-album-art and just put it in my home directory.
Code:
#! /usr/bin/env python

import os
import shutil
import commands
import urllib

def copycover(currentalbum, src, dest, defaultfile):
    searchstring = currentalbum.replace(" ", "+")
    if not os.path.exists(src):
        url = "http://www.albumart.org/index.php?srchkey=" + searchstring + "&itempage=1&newsearch=1&searchindex=Music"
        cover = urllib.urlopen(url).read()
        image = ""
        for line in cover.split("\n"):
            if "http://www.albumart.org/images/zoom-icon.jpg" in line:
                image = line.partition('src="')[2].partition('"')[0]
                break
        if image:
            urllib.urlretrieve(image, src)
    if os.path.exists(src):
        shutil.copy(src, dest)
    elif os.path.exists(defaultfile):
        shutil.copy(defaultfile, dest)
    else:
        print "Image not found!"

# Path where the images are saved
imgpath = os.getenv("HOME") + "/.covers/"

# image displayed when no image found
noimg = imgpath + "nocover.png"

# Cover displayed by conky
cover = "/tmp/cover"

# Name of current album
album = commands.getoutput("mpc --format %artist%+%album% | head -n 1")

# If tags are empty, use noimg.
if album == "":
    if os.path.exists(conkycover):
        os.remove(conkycover)
    if os.path.exists(noimg):
        shutil.copy(noimg, conkycover)
    else:
        print "Image not found!"
else:

    filename = imgpath + album + ".jpg"
    if os.path.exists("/tmp/nowplaying") and os.path.exists("/tmp/cover"):
        nowplaying = open("/tmp/nowplaying").read()
        if nowplaying == album:
            pass
        else:
            copycover(album, filename, cover, noimg)
            open("/tmp/nowplaying", "w").write(album)
    else:
        copycover(album, filename, cover, noimg)
        open("/tmp/nowplaying", "w").write(album)
For this script to work you must have mpd and mpc (command line version) installed. Both are found on slackbuilds.org. If you want the exact font that was in my screenshot, google for "JH_Fallout".

Here is my desktop image:
Attached Images
File Type: jpg conkybrain-lines1.jpg (90.6 KB, 102 views)

Last edited by Beelzebud; 05-30-2011 at 11:32 PM.
 
Old 05-31-2011, 01:36 AM   #1010
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 73
Quote:
Originally Posted by TobiSGD View Post
Im confused. Is it xfce and xmonad running cooperatively (and if so, link/explanation, please), or just xmonad with xfce4_panel running?
 
Old 05-31-2011, 06:59 AM   #1011
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,614
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Quote:
Originally Posted by trademark91 View Post
Im confused. Is it xfce and xmonad running cooperatively (and if so, link/explanation, please), or just xmonad with xfce4_panel running?
It is XFCE running with Xmonad instead of xfwm4. You can find a HowTo here.
I am new to Xmonad (have used awesome before for a short while), but I am already in love with it. Very high configurable.
 
Old 05-31-2011, 07:14 AM   #1012
GazL
Senior Member
 
Registered: May 2008
Posts: 3,475

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by TobiSGD View Post
It is XFCE running with Xmonad instead of xfwm4. You can find a HowTo here.
I am new to Xmonad (have used awesome before for a short while), but I am already in love with it. Very high configurable.
The haskell stuff put me off as I really don't want to have to get into yet another language. How does it compare with dwm?
 
Old 05-31-2011, 07:55 AM   #1013
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 73
never got into tiling wm's, partly due to lack of interest, partly due to laziness, but that really looks nice. i think ill have to try this combo out.
 
Old 05-31-2011, 08:29 AM   #1014
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
Tiling WMs are still on my TODO list (it's about 3 miles long, and growing ).
 
Old 05-31-2011, 09:16 AM   #1015
GazL
Senior Member
 
Registered: May 2008
Posts: 3,475

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
IMO, dynamic tiling just isn't that practical. It works ok with maybe 2 or at most 3 windows on screen but once you go past that number it doesn't work all that well.

I mostly find that I use dwm in either it's non-tiling "floating" mode or in "monocle" mode (everything maximised), or a combination of both, and I generally put each app on it's own tag (workspace) and switch between them with hot-keys.

dwm works really well for me in this manner, but I rarely use the tiling layout, and could probably make Openbox or fvwm do much the same with just a little effort.
 
Old 05-31-2011, 09:48 AM   #1016
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,614
Blog Entries: 2

Rep: Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070Reputation: 4070
Quote:
Originally Posted by GazL View Post
The haskell stuff put me off as I really don't want to have to get into yet another language. How does it compare with dwm?
I haven't tried dwm yet, may be I should try that also. The Haskell stuff isn't that bad at all, I know next to nothing about Haskell, but the Xmonad community share their configuration files and have written a lot of extensions, so tweaking the WM is rather easy. The layout I use most is the ResizableTile layout, I can make every tile exactly the size I want. Very handy.
 
Old 05-31-2011, 09:56 AM   #1017
GazL
Senior Member
 
Registered: May 2008
Posts: 3,475

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Quote:
Originally Posted by TobiSGD View Post
The layout I use most is the ResizableTile layout, I can make every tile exactly the size I want. Very handy.
Ahh, I tried some of that out in I3 but I found it was a bit buggy. You probably won't get on with dwm then as it only has the master window/side-stack split that you can move unless you manually resize a window, which will turn it into a floater.
 
Old 05-31-2011, 11:13 AM   #1018
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,084

Rep: Reputation: 212Reputation: 212Reputation: 212
Hey guys! Click
 
Old 06-11-2011, 03:59 PM   #1019
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Rep: Reputation: 9
One taken as it is now
Attached Images
File Type: jpg Screenshot - 06112011 - 09:58:32 PM.jpg (146.3 KB, 136 views)
 
Old 06-11-2011, 04:54 PM   #1020
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Rep: Reputation: 9
and another one:
Attached Images
File Type: jpg Screenshot - 06112011 - 10:52:04 PM.jpg (164.8 KB, 129 views)
 
  


Reply

Tags
background, cwm, dwm, framebuffer, gui, i3, ion3, kde, monitor, musca, screenshot, tmux, wallpaper, xfce4, xterm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Desktop on Slackware? darkhatter Slackware 3 10-10-2006 01:26 PM
Slackware 10.0 with NO Desktop NiPP Linux - Newbie 2 01-02-2006 11:43 AM
3d desktop on Slackware k1ll3r_x Linux - Software 1 09-20-2005 11:47 PM
Desktop Slackware s0no Slackware 5 12-04-2004 12:20 PM
I can't get my desktop in Slackware 10 DraGoNsLaYeR Linux - Newbie 1 06-27-2004 03:00 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration