What does your desktop look like?

If it doesn't relate to Debian, but you still want to share it, please do it here

Re: What does your desktop look like?

Postby aldorgan » 2018-07-01 15:29

My Debian 9.4 desktop with MATE :)
Image
aldorgan
 
Posts: 6
Joined: 2009-02-01 15:36

Re: What does your desktop look like?

Postby bester69 » 2018-07-11 12:56

Image
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1201
Joined: 2015-04-02 13:15

Re: What does your desktop look like?

Postby debiman » 2018-07-11 13:22

^ it looks just like a Windows desktop!
:mrgreen:
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18


Re: What does your desktop look like?

Postby bester69 » 2018-07-11 14:04

debiman wrote:^ it looks just like a Windows desktop!
:mrgreen:

And you love it.. :mrgreen:
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
User avatar
bester69
 
Posts: 1201
Joined: 2015-04-02 13:15

Re: What does your desktop look like?

Postby Head_on_a_Stick » 2018-08-03 19:35

Image

Changed x-terminal-emulator to suckless' sublime st (with the scrollback patches applied), it's not much lighter than xterm but the code base is an order of magnitude smaller.
User avatar
Head_on_a_Stick
 
Posts: 7911
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What does your desktop look like?

Postby None1975 » 2018-08-04 13:14

Head_on_a_Stick wrote:Changed x-terminal-emulator to suckless' sublime st (with the scrollback patches applied), it's not much lighter than xterm but the code base is an order of magnitude smaller.

Really nice resource usage and start up time.
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 629
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: What does your desktop look like?

Postby Head_on_a_Stick » 2018-08-04 18:52

None1975 wrote:Really nice resource usage and start up time.

Yeah, it's almost as quick & light as rxvt-unicode in daemon-client mode (but not quite).

Anyway, who needs terminal emulators when there's a getty available?

Image

:mrgreen:

EDIT: that's a TTY (agetty) screen (no X) running tmux split into four windows (clockwise from top left): htop, lynx, an mksh shell session & crawl.
User avatar
Head_on_a_Stick
 
Posts: 7911
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What does your desktop look like?

Postby ruffwoof » 2018-08-05 00:09

Anyway, who needs terminal emulators when there's a getty available?
.
.
that's a TTY (agetty) screen (no X) running tmux split into four windows (clockwise from top left): htop, lynx, an mksh shell session & crawl.

Personally I prefer multiple tmux windows (each windows maximised and flip between them (I've set F12 for that)) over that of tmux with a window split into panes, zooming/restoring panes as desired.

A neat (IMO) alternative to the ctrl-b tmux command key sequence is to map the back-tick/execute key to that, but set it so two presses actually prints the backtick.

.tmux.conf entry of

unbind C-b
set-option -g prefix `
bind ` send-prefix

mc is a nice addition to tmux (editor and file manager).

I use a script to start tmux and launch multiple windows ...

Code: Select all
#!/bin/sh
# If tmux session called "work" isn't already running then
if (! tmux has-session -t "work" 2> /dev/null); then

    # Create a tmux session called work, and deattach so we can send keys to it
    tmux new -s work -d
    tmux rename-window -t work shell

    # Add another tmux window, rename it to mc and load mc
    tmux new-window -t work
    tmux rename-window -t work mc
    tmux send-keys -t work 'mc' C-m

    # and finally select which window to attach to (:0) and attach
    tmux select-window -t work:0
    tmux attach -t work

fi


and in .tmux.conf set the status bar to be at the top of screen

Code: Select all
set -g status-position top


Mostly on the X (user) side I run a browser with the tabs at the top, so having multiple tmux windows also with their 'tabs' at the top keeps things more consistent. Ctrl-Alt-Fn between console (root running tmux with multiple windows) and browser (multiple tabs). Storing data/docs under root (isolated from internet facing X programs).

This is my full .tmux.conf, console colours fit well with the mc gotar theme IMO.

Code: Select all
# set control key to backtick but also send it i.e. if hit twice then prints the backtick
unbind C-b
set-option -g prefix `
bind ` send-prefix

bind -T copy-mode-vi PageDown          send-keys -X page-down
bind -T copy-mode-vi PageUp            send-keys -X page-up

# mc uses F1 to F10, so moved up to F11 and F12
bind-key -n F12 next-window
bind-key -n F11 new-window
#bind-key -n F3 kill-window

# Console tmux and this has - and | instead of ? for borders
# UTF-8 must be off
set-option -g terminal-overrides ',*vt*:enacs@:smacs@:rmacs@:acsc@'

# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

## switch panes using Alt-arrow without prefix
#bind -n M-Left select-pane -L
#bind -n M-Right select-pane -R
#bind -n M-Up select-pane -U
#bind -n M-Down select-pane -D

######################
### DESIGN CHANGES ###
######################

## loud or quiet?
#set-option -g visual-activity off
#set-option -g visual-bell off
#set-option -g visual-silence off
#set-window-option -g monitor-activity off
#set-option -g bell-action none

#  modes
#setw -g clock-mode-colour colour2
setw -g clock-mode-colour yellow
setw -g mode-attr bold
setw -g mode-fg colour1
setw -g mode-bg colour18

# panes
set -g pane-border-bg colour0
set -g pane-border-fg colour19
set -g pane-active-border-bg colour0
set -g pane-active-border-fg colour9

# statusbar
set -g status-position top
set -g status-justify left
set -g status-bg colour18
#set -g status-fg colour137
set -g status-fg white
#set -g status-attr dim
set -g status-left ''
#set -g status-right '#[fg=colour233,bg=colour19,bold] %d/%m #[fg=colour233,bg=colour8,bold] %H:%M:%S '
#set -g status-right '#[fg=colour137,bg=colour19,bold] %D/%M/%Y #[fg=colour137,bg=colour8,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20

setw -g window-status-current-fg colour1
setw -g window-status-current-bg colour19
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '

setw -g window-status-fg colour9
setw -g window-status-bg colour18
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '

setw -g window-status-bell-attr bold
setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour1

# messages
set -g message-attr bold
set -g message-fg colour232
set -g message-bg colour16

#hilite current window
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg yellow


Can't show a snapshot as I can't take one of the console. I do have a script that snaps the current tmux window text and loads that into vi

Code: Select all
#!/bin/sh
tmux capture-pane -J -p -t $TMUX_PANE >/tmp/file.txt
vi /tmp/file.txt


The other good thing about tmux is being able to scroll, cut/paste etc. Along with being able to attach/detatch ... and later attach again from a different device (or have two or more of you ssh into the same userid and attach to the same tmux session - collaboration where you each can see/type)
ruffwoof
 
Posts: 262
Joined: 2016-08-20 21:00

Re: What does your desktop look like?

Postby Head_on_a_Stick » 2018-08-06 11:11

^ Nice tips, thanks!

I use this stanza in my shell configuration to autostart tmux if it is not already running and to attach to the first available session if it is running:
Code: Select all
if [ -z "$TMUX" ]; then
   ID="$(tmux ls 2>/dev/null | awk -F':' '!/attached/{print $1}' | sed q)"
   if [ -z "$ID" ]; then
      tmux new-session
   else
      tmux attach-session -t "$ID"
   fi
fi

This results in "unkillable" terminal sessions so my work isn't ruined when I accidentally close a window :mrgreen:

Here's the family Debian laptop in the middle of a backup:

Image

My desktop is running openbox (with my own theme) & tint2 (tint2rc here: https://gist.githubusercontent.com/Head-on-a-Stick/5155bc53695e167cff6282b639d446ad/raw/a9bc196f87421ded88cb10a073a8eba7aaefd05f/tint2rc), the Vertex icons have had Faenza added as first in the "Inherits" list in index.theme to get that #!-systray look :)
User avatar
Head_on_a_Stick
 
Posts: 7911
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What does your desktop look like?

Postby esp7 » 2018-08-06 23:04

Image

I am a boring guy running Debian stable with xfce, no time to tweak for days eye candy, but from a technical point of view my machine is running like a champ :mrgreen:
ThinkPad X220: i5-2520M CPU - 8GB RAM - 250GB SSD - Debian stable
User avatar
esp7
 
Posts: 126
Joined: 2013-06-23 20:31

Re: What does your desktop look like?

Postby obaino » 2018-08-07 04:15

Debian 9 xfce

Image
obaino
 
Posts: 19
Joined: 2017-05-13 11:00
Location: Greece

Re: What does your desktop look like?

Postby ruffwoof » 2018-08-08 10:44

Head_on_a_Stick wrote:^ Nice tips, thanks!

I use this stanza in my shell configuration to autostart tmux if it is not already running and to attach to the first available session if it is running:
Code: Select all
if [ -z "$TMUX" ]; then
   ID="$(tmux ls 2>/dev/null | awk -F':' '!/attached/{print $1}' | sed q)"
   if [ -z "$ID" ]; then
      tmux new-session
   else
      tmux attach-session -t "$ID"
   fi
fi

This results in "unkillable" terminal sessions so my work isn't ruined when I accidentally close a window :mrgreen:

Nice tip. (Up until now) I've just been using [ -z $TMUX ] && tmux
ruffwoof
 
Posts: 262
Joined: 2016-08-20 21:00

Re: What does your desktop look like?

Postby None1975 » 2018-08-08 13:21

Head_on_a_Stick wrote:^ This results in "unkillable" terminal sessions so my work isn't ruined when I accidentally close a window :mrgreen:

Forgive me for a stupid question. How do you close this session? Do you use the exit command?
OS: Debian 9.4 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 629
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: What does your desktop look like?

Postby Head_on_a_Stick » 2018-08-08 13:57

None1975 wrote:How do you close this session? Do you use the exit command?

Yes, either `exit` or <Ctrl>-D will close tmux if it is the only session running or `pkill tmux` will kill everything.

I prefer to keep the session running though, mainly because I don't use a persistent history file with my shell.
User avatar
Head_on_a_Stick
 
Posts: 7911
Joined: 2014-06-01 17:46
Location: /dev/chair

PreviousNext

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable