- Accueil
- » Forum
- » XFCE
- » XFCE et i3wm
Pages : 1
#1 Le 19/09/2014, à 12:07
- Ouessant
XFCE et i3wm
Bonjour,
Ayant découvert le "tilling" je mets ici certaines astuces afin d'utiliser i3 avec xfce.
Le tilling est une méthode de gestion des fenêtres, difficile à décrire. Cherchez i3-wm sur internet et vous trouverez des explications.
Malheureusement on perd la barre de menu : si on aimait la barre de xubuntu, c'est perdu et celle de i3 ne m'enchante guère. Il existe chez AUR un paquet i3-gnome, mais je ne sais si on pourrait l'utiliser.
La difficulté est dans l'utilisation des thèmes gtk.
Il suffit pour cela de créer un fichier
~/.gtkrc-2.0 avec comme contenu :
gtk-theme-name = "MediterraneanDark"
gtk-font-name = "Sans 10"
Et de copier les dossiers gtk2.0 et gtk3.0 du thème choisi dans le dossier ~/.config
Puis de redemarrer la session.
De mon côté tous les thèmes ne marchent pas...
Xubntu 16.04 + Albert (Synapse HS?)
Hors ligne
#2 Le 10/11/2014, à 19:17
- Ouessant
Re : XFCE et i3wm
Quant à la barre de menu certains gadget de xubuntu s'y intègrent très bien il suffit de les exécuter dans le fichier ~/i3/.config en y ajoutant
exec xfce4-clipman
exec xfce4-power-manager
exec nm-applet
exec xset -b
exec synclient TapButton1=1
exec numlockx on
Xubntu 16.04 + Albert (Synapse HS?)
Hors ligne
#3 Le 12/11/2014, à 11:24
- Mobidique
Re : XFCE et i3wm
Wé et sinon une solution à base de wmctrl, de quelques shell scripts et de raccourcis clavier ça ferait pas ton bonheur ?
http://forum.ubuntu-fr.org/viewtopic.php?id=1248261
J'ai 9 shell scripts, c'est tous la même base, je change juste position, largeur hauteur.
@+
Debian buster : job laptop & desktop, sons desktops, latitude D420 branché sur l'ampli familial, home laptop & wife's laptop
Hors ligne
#4 Le 12/11/2014, à 12:41
- Ouessant
Re : XFCE et i3wm
Super ta solution, les scripts et skippy ! Ainsi xubuntu devient la distribution telle que je la rêvais. Simple, fiable et conviviale. Désormais j'ajouterai ça sur les PC que j'équipe pour les autres. Quant à moi, une fois initié à i3, je ne peux plus m'en séparer... Il faut juste le temps de faire son fichier de config.
Quant à i3 je corrige à propos de la barre des tâches puisque maintenant xfce4-panel donne quelque chose de présentable (avant il apparaissait dans une fenêtre...). Cependant ni les bureaux, ni les fenêtres n'apparaissent. C'est donc un pas en avant pour ceux qui voudraient le panel, mais pas suffisant. Enfin je pense que ceux qui utilisent i3 ne tiennent pas spécialement à des boutons...
Xubntu 16.04 + Albert (Synapse HS?)
Hors ligne
#5 Le 20/03/2015, à 10:50
- Ouessant
Re : XFCE et i3wm
J'ai décidé de passer au clavier bépo. Petit conseil aux amateurs, il ne faut pas espérer faire le changement en douceur, autrement on s’emmêle les pinceaux et on avance pas. C'est comme pour apprendre une langue : apprendre quelques mots (ici travailler quelques heures sur un logiciel p.e. Klavero), puis s'immerger. Les deux premières semaines m'ont été très pénible, maintenant ça va mieux.
Ça pose une difficulté à i3 pour les raccourcis des écrans. Du coup j'ai renoncé à la ligne de touches du haut et ça donne ça :
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
for_window [class="Audacious"] floating enable
for_window [class="Orage"] floating enable
#for_window [class="Copie*"] floating enable
for_window [class="xfce4-notify*"] floating enable
assign [class="Gimp"] 7:Gimp
assign [class="Scribus"] 8:Scribus
assign [class="Firefox"] 9:Firefox
assign [class="Thunderbird"] 10:Thunderbird
assign [class="Console"] 5
assign [class="htop"] 5
exec feh --bg-fill '/home/blois/pgm/2011-11-30_13.jpg'
#exec orage
exec xfce4-clipman
exec xfce4-power-manager
exec thunar
exec synapse
exec xset -b
exec synclient TapButton1=1
exec numlockx on
exec nm-applet
bindsym Mod4+g exec thunar
bindsym Mod4+h exec firefox
bindsym Mod4+f exec thunderbird
# bindsym Mod4+a exec skippy-xd --toggle-window-picker
bindsym Mod4+c exec xfce4-screenshooter -f -s ~
bindsym XF86AudioLowerVolume exec amixer set Master 2-
bindsym XF86AudioRaiseVolume exec amixer set Master 2+
bindsym XF86AudioMute exec amixer -q set Master toggle & amixer set Headphone unmute & amixer set Speaker unmute
bindsym XF86AudioPlay exec audacious -t
bindsym Print exec scrot
bindsym XF86Display exec ~/pgm/chgecran.sh
bindsym Ctrl+F7 exec xrandr --output LVDS1 --preferred --output VGA1 --preferred --above LVDS1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
# chose a FreeType font, such as:
# font pango:DejaVu Sans Mono 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+a kill
# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+t focus left
bindsym $mod+s focus down
bindsym $mod+r focus up
bindsym $mod+n focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+t move left
bindsym $mod+Shift+s move down
bindsym $mod+Shift+r move up
bindsym $mod+Shift+n move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+y split h
# split in vertical orientation
bindsym $mod+x split v
# enter fullscreen mode for the focused container
bindsym $mod+period fullscreen
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+apostrophe layout stacking
bindsym $mod+k layout tabbed
bindsym $mod+q layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
#bindsym $mod+q focus parent
# focus the child container
#bindsym $mod+d focus child
# switch to workspace
bindsym $mod+b workspace 1
bindsym $mod+eacute workspace 2
bindsym $mod+p workspace 3
bindsym $mod+o workspace 4
bindsym $mod+egrave workspace 5
bindsym $mod+v workspace 6
bindsym $mod+d workspace 7:Gimp
bindsym $mod+l workspace 8:Scribus
bindsym $mod+j workspace 9:Firefox
bindsym $mod+z workspace 10:Thunderbird
# move focused container to workspace
bindsym $mod+Shift+b move container to workspace 1
bindsym $mod+Shift+eacute move container to workspace 2
bindsym $mod+Shift+p move container to workspace 3
bindsym $mod+Shift+o move container to workspace 4
bindsym $mod+Shift+egrave move container to workspace 5
bindsym $mod+Shift+v move container to workspace 6
bindsym $mod+Shift+d move container to workspace 7:Gimp
bindsym $mod+Shift+l move container to workspace 8:Scribus
bindsym $mod+Shift+j move container to workspace 9:Firefox
bindsym $mod+Shift+z move container to workspace 10:Thunderbird
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+y restart feh --bg-fill '/home/blois/pgm/2011-11-30_13.jpg'
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym t resize shrink width 10 px or 10 ppt
bindsym s resize grow height 10 px or 10 ppt
bindsym r resize shrink height 10 px or 10 ppt
bindsym n resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+m mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
position top
}
# Dynamic tag
bindsym $mod+u exec i3-dtags.sh '$font'
bindsym $mod+i exec i3-input -F 'rename workspace to %s' -P 'New name: ' -f '$font'
Si quelqu'un a trouvé les noms des touches du haut, je reste intéressé.
Xubntu 16.04 + Albert (Synapse HS?)
Hors ligne
Pages : 1
- Forum
- » XFCE
- » XFCE et i3wm