Skip to content

Commit 2e5769d

Browse files
committed
OS (Linux): add support of Xubuntu
Fix #1825
1 parent 18a6929 commit 2e5769d

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

src/detection/os/os_linux.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,15 @@ FF_MAYBE_UNUSED static void getUbuntuFlavour(FFOSResult* result)
170170
return;
171171
}
172172

173+
if(ffStrContains(xdgConfigDirs, "xubuntu"))
174+
{
175+
ffStrbufSetStatic(&result->name, "Xubuntu");
176+
ffStrbufSetF(&result->prettyName, "Xubuntu %s", result->version.chars);
177+
ffStrbufSetStatic(&result->id, "xubuntu");
178+
ffStrbufSetStatic(&result->idLike, "ubuntu");
179+
return;
180+
}
181+
173182
if(ffStrContains(xdgConfigDirs, "lliurex"))
174183
{
175184
ffStrbufSetStatic(&result->name, "LliureX");

src/logo/ascii/xubuntu.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
__ygg@@@@@@@@@ggy__
2+
_yg@@@@@@@@@@@@@@@@@@@@@gy_
3+
_a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@y_
4+
_a@@@@@@@@@@@@@@@@@@@@@@@$2#$1@@@@@@@@@g_
5+
a@@@@@@@@@@@@@$2###$1@@@@@@@@$2##$1@@@@$2##$1@@@@@k
6+
g@@@@@@@$2###$1@@@$2#####$1@@@@@@@$2##$1@@$2###$1@@@@@@@k
7+
a@@@@@@@@$2#####$1@$2#####$1@@@@@@$2##$1@@$2###$1@@@@@@@@@k
8+
j@@@@@@@@@$2############$1@@@@@$2##$1@$2###$1@@@@@@@@@@@k
9+
g@@@@@@@@@$2#####################$1@@@@@@@@@@@@@@
10+
@@@@@@@@@$2##########################$1@@@@@@@@@@
11+
0@@@@@@@@$2###########################$1@@@@@@@@@
12+
~@@@@@@@$2############################$1@@@@@@@@F
13+
9@@@@@@$2##########################$1@@@@@@@@@P
14+
4@@@@@@$2######################$1@@@@@@@@@@@P
15+
~@@@@@@$2################$1@@@@@@@@@@@@@@@F
16+
`4@@@@@@$2#######$1@@@@@@@@@@@@@@@@@@@@P`
17+
`~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F`
18+
~~4@@@@@@@@@@@@@@@@@@@@@P~~
19+
`~~=R@@@@@@@@@P=~~~

src/logo/builtin.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5380,6 +5380,15 @@ static const FFlogo X[] = {
53805380
FF_COLOR_FG_CYAN,
53815381
},
53825382
},
5383+
// Xubuntu
5384+
{
5385+
.names = {"Xubuntu"},
5386+
.lines = FASTFETCH_DATATEXT_LOGO_XUBUNTU,
5387+
.colors = {
5388+
FF_COLOR_FG_256 "25",
5389+
FF_COLOR_FG_DEFAULT,
5390+
},
5391+
},
53835392
// LAST
53845393
{},
53855394
};

0 commit comments

Comments
 (0)